Overview
The A2A (Agent-to-Agent) Protocol is an open standard for agent interoperability, backed by Google and 100+ enterprise partners including AWS, Microsoft, Salesforce, and SAP.
Key Components
Agent Cards
Standardized JSON documents that describe an agent's capabilities, endpoints, and authentication requirements. Published at .well-known/agent.json.
Communication Model
- Client Agent: Initiates requests to remote agents
- Remote Agent: Provides services and responds to requests
- Task Lifecycle: Standardized states (pending, running, completed, failed)
Security
- OAuth 2.0 / OpenID Connect authentication
- Capability-based authorization
- Rate limiting and quotas
Implementation
- Define your Agent Card with capabilities
- Implement the A2A server endpoints
- Register for capability discovery
- Handle task lifecycle events