Agent2Agent Protocol
ActiveDescription
A2A (Agent-to-Agent) Protocol is an open protocol by Google enabling interoperability and collaborative communication between AI agents built across different frameworks and vendors.
Key Features
- Standardized agent communication — JSON-RPC 2.0 over HTTP(S) protocol
- Agent discovery mechanism — Agent Cards describe capabilities, interaction modalities and connection info
- Flexible interaction modes — supports synchronous request/response, SSE streaming and async push notifications
- Rich data exchange — handles text, files and structured JSON data
- Multi-language SDKs — official SDKs in Python, Go, JS, Java, .NET and Rust
- Enterprise-grade security — built-in authentication, authorization and observability support
Use Cases
Strengths & Limitations
✅ Strengths
- • Actively maintained, recent updates
- • High community interest (25.4k stars)
- • Permissive open-source license (Apache-2.0)
- • Responsive to issues, low backlog
Categories
Quick Start
pip install a2a-sdk
# Create an A2A Server
from a2a.server import A2AServer
from a2a.types import AgentCard
server = A2AServer(
agent_card=AgentCard(
name="My Agent",
description="A sample agent",
url="http://localhost:8000",
skills=[{"id": "greet", "name": "Greeting"}]
)
)
server.run()