Agent2Agent (A2A) is a protocol that lets agentic applications on different frameworks and servers discover each other, negotiate interaction, and collaborate securely without sharing internal state.
Overview
The Agent2Agent (A2A) protocol gives generative AI agents a shared way to interoperate when they are built with different tools, run on separate servers, and stay opaque to one another. It targets collaboration among agents as peers, not only tool calls from a single orchestrator.
Agents can discover capabilities through Agent Cards, agree on modalities such as text, forms, or media, and work together on long-running tasks while keeping memory, proprietary logic, and internal tools private. Communication uses JSON-RPC 2.0 over HTTP or HTTPS, with synchronous responses, server-sent streaming, and asynchronous push notifications.
Official SDKs exist for Python, Go, Java, JavaScript, C#/.NET, and Rust, all implementing the same A2A v1.0 specification. An A2A CLI and related agent skill can install on macOS, Linux, or Windows so coding assistants can discover, message, and delegate to compliant agents. The project is governed under the Linux Foundation and originated from Google.
A2A is positioned alongside MCP: MCP links an agent to tools, APIs, and data, while A2A links agents to other agents. Documentation covers specifications, tutorials, extensions, and sample clients and servers.
Enterprise-oriented design notes include authentication, security, and observability. Rich payloads can include text, files, and structured JSON, and formal extensions allow added capabilities under a tiered promotion process.
Key features
- JSON-RPC 2.0 over HTTP(S)
- Agent Cards for capability discovery
- Sync, SSE streaming, and push notifications
- Text, files, and structured JSON exchange
- Multi-language official SDKs
- A2A CLI for harness integration
- Opaque collaboration without shared internals
- Formal protocol extensions
Use cases
- Multi-framework agent orchestration
- Healthcare multi-agent workflows
- Cross-vendor agent discovery
- Long-running delegated tasks
- Coding assistant agent delegation