a2aproject/A2A
OPEN A2A PROTOCOL FOR AGENTS
An open protocol for interaction between autonomous AI agents built on different frameworks. Provides capability discovery, communication mode negotiation, and secure collaboration without exposing internal state.
// KEY FEATURES
- JSON-RPC 2.0 over HTTP(S) for standardized exchange
- Agent Cards for agent capability discovery
- Support for streaming (SSE) and asynchronous notifications
- Work with text, files, and structured JSON
// DEEP DIVE: HOW IT WORKS
A2A defines a protocol for interaction between opaque agents via JSON-RPC 2.0 over HTTP(S). Agents publish Agent Cards — manifests with capabilities, endpoints, and authentication. Clients discover cards, negotiate modality (request-response, SSE streaming, or push), and exchange messages with text, files, or JSON.
Unlike MCP (tool access), A2A focuses on peer-to-peer agent collaboration as equal parties. The protocol preserves opacity: internal logic and memory are not exposed. Official SDKs exist for Python, Go, JS, Java, .NET, Rust.
Requires HTTP(S) and JSON-RPC 2.0. Enterprise features: authentication, authorization, observability — implemented at the server level. Specification and tutorials on the project site, examples in the repository.
// USE CASES
Best for: For multi-agent system developers and AI agent integrators
- Connect agents on LangGraph, ADK, and BeeAI into a unified multi-agent system
- Orchestrate long-running tasks with asynchronous notifications between specialized agents
- Exchange files and structured data between agents without access to their memory
// QUICK START
pip install a2a-sdk
go get github.com/a2aproject/a2a-go
npm install @a2a-js/sdk
dotnet add package A2A
cargo add a2a-lfCommands are taken from the repository README — check the current version on GitHub before running.
New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram