GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - a2aproject/a2a-java: Official Java SDK for the Agent2Agent (A2A) Protocol

BranchesTags
Open more actions menu

Latest commit

 

History

1,021 Commits
1,021 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.claude
.claude
 
 
.enforcer-scripts
.enforcer-scripts
 
 
.github
.github
 
 
.oss-ai-helper-rules
.oss-ai-helper-rules
 
 
acts
acts
 
 
boms
boms
 
 
client
client
 
 
common
common
 
 
compat-0.3
compat-0.3
 
 
docs
docs
 
 
examples
examples
 
 
extras
extras
 
 
http-client
http-client
 
 
images
images
 
 
integrations/microprofile-config
integrations/microprofile-config
 
 
itk
itk
 
 
jsonrpc-common
jsonrpc-common
 
 
reference
reference
 
 
server-common
server-common
 
 
spec-grpc
spec-grpc
 
 
spec
spec
 
 
src/checkstyle
src/checkstyle
 
 
tck
tck
 
 
test-utils-docker
test-utils-docker
 
 
tests
tests
 
 
transport
transport
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
COMMUNITY_ARTICLES.md
COMMUNITY_ARTICLES.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTING_INTEGRATIONS.md
CONTRIBUTING_INTEGRATIONS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASE.md
RELEASE.md
 
 
SECURITY.md
SECURITY.md
 
 
pom.xml
pom.xml
 
 
update-version.sh
update-version.sh
 
 

Repository files navigation

A2A Java SDK

License

A2A Logo

A Java library that helps run agentic applications as A2A servers following the Agent2Agent (A2A) Protocol.

A multi-module Maven library providing client and server support for A2A agent communication over JSON-RPC, gRPC, and REST transports.

Documentation

Full documentation is available at a2aproject.github.io/a2a-java.

  • Server Guide — Run your agentic Java application as an A2A server
  • Client Guide — Communicate with any A2A-compliant agent
  • Javadoc — Java API reference
  • Community Articles — Tutorials, blog posts, and videos
  • Announcements — Release announcements and project news
  • Contributing — Developer guide for contributing

Quick Start

Requires Java 17+.

Add the A2A Java SDK reference server for JSON-RPC to your Maven project:

<dependency>
    <groupId>org.a2aproject.sdk</groupId>
    <artifactId>a2a-java-sdk-reference-jsonrpc</artifactId>
    <!-- Use a released version from https://github.com/a2aproject/a2a-java/releases --> 
    <version>${org.a2aproject.sdk.version}</version>
</dependency>

See the Server Guide for full setup instructions.

Build

mvn clean install

Regeneration of gRPC files

We copy https://github.com/a2aproject/A2A/blob/main/specification/grpc/a2a.proto to the spec-grpc/ project, and adjust the java_package option to be as follows:

option java_package = "org.a2aproject.sdk.grpc";

Then build the spec-grpc module with mvn clean install -Dskip.protobuf.generate=false to regenerate the gRPC classes in the org.a2aproject.sdk.grpc package.

Examples

  • Hello World Server — Java A2A server with a Python client
  • Hello World Client — Java A2A client with a Python server
  • a2a-samples — More agent examples

Server Integrations

See Server Integrations for integrations with Java runtimes.

To contribute an integration, see CONTRIBUTING_INTEGRATIONS.md.

Extras

See the extras folder for optional add-ons (OpenTelemetry, JPA-backed task store, Kafka-based replicated queue manager, Vert.x and Android HTTP clients).

License

This project is licensed under the terms of the Apache 2.0 License.

Contributing

See CONTRIBUTING.md for contribution guidelines.

About

Official Java SDK for the Agent2Agent (A2A) Protocol

a2aproject.github.io/a2a-java/

Topics

a2aa2a-clienta2a-serveragent2agentaiai-agentshacktoberfestjava

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

515 stars

Watchers

10 watching

Forks

201 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.