a2aproject/a2a-java
Official Java SDK for the Agent2Agent (A2A) Protocol
What it solves
It provides a standardized way for Java-based agentic applications to communicate with each other. By following the Agent2Agent (A2A) Protocol, it removes the need for developers to build custom communication layers for every different agent they want to interact with.
How it works
The SDK is a multi-module Maven library that implements the A2A Protocol. It provides both client and server support, allowing Java applications to send and receive messages across various transport methods, including JSON-RPC, gRPC, and REST.
Who it’s for
Java developers building AI agents that need to interact with other A2A-compliant agents regardless of the underlying transport protocol.
Highlights
- Multi-transport support: Works with JSON-RPC, gRPC, and REST.
- Server Integrations: Includes reference implementations for Quarkus and support for Jakarta EE.
- Extensible: Offers optional add-ons for OpenTelemetry, JPA-backed task stores, and Kafka-based queue managers.
- Cross-language compatibility: Examples demonstrate interoperability between Java and Python agents.
Related
- Project
- Project
- Project
- Project
- Project