a2aproject/A2A
AI EngineeringAgent frameworksAn open protocol that lets AI agents from different frameworks and vendors discover each other, negotiate formats, and collaborate on long-running tasks without exposing internal state.
What A2A does
Agent2Agent (A2A) is an open protocol for connecting opaque agentic applications built on different frameworks and running on separate servers. Instead of wrapping another agent as a plain tool call, A2A defines a common language so agents can discover each other's capabilities, negotiate interaction modalities such as text, forms, and media, collaborate on long-running tasks, and work together without sharing internal memory, proprietary logic, or tool implementations L1-L12.
The protocol uses JSON-RPC 2.0 over HTTP(S), with agent discovery through "Agent Cards" that describe capabilities and connection info. It supports synchronous request/response, streaming via SSE, and asynchronous push notifications, and can exchange text, files, and structured JSON data L84-L91. A2A is intended to complement MCP rather than replace it: MCP connects agents to tools, while A2A lets agents collaborate with each other.
This repository is the protocol home: specification, documentation, and entry points to the language SDKs and samples. Implementations live in separate repositories.
Quick start
A2A is a protocol, not a standalone runtime, so the practical starting point is the specification plus an SDK in your language.
- Read the overview and full specification on the Agent2Agent Protocol documentation site and the specification page.
- Install an SDK for your stack:
- Python:
pip install a2a-sdk(a2a-python) - Go:
go get github.com/a2aproject/a2a-go(a2a-go) - JavaScript:
npm install @a2a-js/sdk(a2a-js) - Java: Maven dependency (a2a-java)
- .NET:
dotnet add package A2A(a2a-dotnet, NuGet) - Rust:
cargo add a2a-lf(a2a-rs)
- Python:
- Use the samples to see an agent exposed as an A2A server and a client connecting to it.
The README does not list the individual sample projects or their run steps; the samples repository is the place to follow a concrete end-to-end example. A short DeepLearning.AI course covering compliance, client creation, workflow orchestration, and multi-agent systems is also linked L61-L74.
Constraints and governance
A2A defines the wire protocol; actual behavior, deployment, and security implementation depend on the SDK and the servers you run. The protocol is designed with authentication, security, and observability in mind, but the README does not specify required credentials or a mandatory auth scheme, so check the specification and your SDK for the concrete authentication setup.
Interoperability requires both sides to be A2A-compliant and to exchange Agent Cards; an agent that does not publish a card is not discoverable through A2A. The project is under the Linux Foundation, contributed by Google, and licensed under Apache 2.0 L129-L131.
HotRepo's take
A2A stands out less for a single feature than for its role as shared infrastructure: six official SDKs across Python, Go, JavaScript, Java, .NET, and Rust, with samples as a separate repository. That breadth matters because a protocol only pays off when both sides of a connection can adopt it without switching stacks. The README also points to planned work on authorization in Agent Cards, dynamic skill queries, and more reliable streaming and push notifications L115-L128 — areas worth tracking if you depend on task lifecycle behavior. For teams building multi-agent systems across vendor boundaries, the specification and an SDK are the practical entry points; the protocol's value grows with the number of compliant agents you need to connect.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- vercel-labs/skillsA package manager for agent skills, so coding agents from different vendors can share reusable instruction sets.
- hydro-project/infinityA Rust runtime for running many AI agents concurrently, hibernating idle ones and serving tools over a connectionless protocol.
- langchain-ai/langgraphLow-level Python framework for building long-running stateful agents with durable execution and human oversight.
- Balanov/latchA tiny HTTPS/JSON contract letting agents discover, quote, approve, commit and receipt service actions.
- modelcontextprotocol/java-sdkLets JVM applications expose tools to, or call tools from, AI models over the Model Context Protocol.