- Protocol
- A2A
- Type
- SDK
- Stars
- 512
- License
- Apache-2.0
- Last push
- Nov 6, 2026
- Source
- Official
About A2A Java SDK
A2A Java SDK is an open-source A2A SDK by a2aproject, written mainly in Java. Java SDK for the A2A protocol. It has 512 GitHub stars and uses the Apache-2.0 license, and its code was last pushed on Nov 6, 2026.
New to A2A? Our A2A Protocol guide explains how it works and lists other projects built on it.
At a glance
- Protocol
- A2A
- Type
- SDK
- Language
- Java
- License
- Apache-2.0
- GitHub stars
- 512
- Last push
- Nov 6, 2026
Listed from public GitHub data, checked 2026-11-08. Not scanned by AgenticMart.
Questions about A2A Java SDK
What is A2A Java SDK?
Java SDK for the A2A protocol It is listed as a A2A SDK, maintained in the a2aproject/a2a-java repository on GitHub.
How do I install A2A Java SDK?
The README in a2aproject/a2a-java has the setup steps. Clone the repository with git clone https://github.com/a2aproject/a2a-java.git and follow its instructions.
Is A2A Java SDK an official A2A project?
Yes. It is published by the organisation that runs A2A or by its official project.
What license does A2A Java SDK use?
It is published under the Apache-2.0 license. Check the license file in the repository before using it commercially.
Is A2A Java SDK still maintained?
Its code was last pushed on Nov 6, 2026, and it had 512 GitHub stars when we checked on 2026-11-08. Look at recent issues and releases in the repository for a fuller picture.
README
A2A Java SDK
<!-- markdownlint-disable no-inline-html --> <html> <h2 align="center"> <img src="https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/docs/assets/a2a-logo-black.svg" width="256" alt="A2A Logo"/> </h2> <h3 align="center">A Java library that helps run agentic applications as A2A servers following the <a href="https://a2a-protocol.org/">Agent2Agent (A2A) Protocol</a>.</h3> </html>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.
More A2A projects
All 20 →A2A
Specification and documentation for the Agent2Agent protocol
A2A Python SDK
Python SDK for building A2A clients and servers
tRPC-Agent-Go
Go agent framework with A2A, AG-UI and MCP integration