a2aproject/a2a-java
Official Java SDK for the Agent2Agent (A2A) Protocol
What it solves
This library solves the problem of enabling Java-based AI agents to communicate with one another. It provides the necessary tools to build applications that follow the Agent2Agent (A2A) Protocol, allowing different agents to interact regardless of the underlying transport method.
How it works
The SDK acts as a multi-module Maven library that provides both client and server support. It facilitates communication using standard transport protocols like JSON-RPC, gRPC, and REST. Developers can integrate the SDK into their Java 17+ projects to host agents as servers or connect to existing A2A-compliant agents.
Who it’s for
This project is for Java developers building agentic applications who need a standardized way to allow their agents to talk to other agents or external systems using the A2A protocol.
Highlights
- Supports multiple communication transports including JSON-RPC, gRPC, and REST.
- Provides both client and server implementation capabilities.
- Includes compatibility modules for interacting with older A2A protocol versions.
- Offers optional add-ons for OpenTelemetry, task storage, and various HTTP clients.
- Actively maintained with a clear path for Java-based agent development.
Related
- Project
- Project
- Project
- Project
- Project