A2A
A2A is an interoperability protocol that enables software agents to discover, communicate, and coordinate with one another across systems.
Build an AI Agent (From Scratch)
The A2A protocol is an HTTP-based open protocol for discovering and coordinating remote AI agents through standardized agent cards, task requests, and responses.
- How it is used
- Connects specialized agents across servers and organizations when local agent objects cannot be imported.
- How deep it goes
- Explains card discovery, task exchange, and server and client adapters with illustrative code, but defers complete implementations and advanced features.
- Examples
- Uses a math-specialist agent card, an `AgentExecutor` adapter, a Starlette server, and remote-agent orchestration snippets.
- What you can do after
- Apply it via the A2A library to expose an existing agent and integrate remote agents into local orchestration patterns.
Grokking AI Applications
The Agent-to-Agent protocol is a standard for direct communication, task negotiation, and coordination between AI agents.
- How it is used
- Positions A2A as an orchestration protocol for making independent agents interoperable and collaborative.
- How deep it goes
- Defines direct communication, task negotiation, and coordination but stops short of implementation details or worked A2A workflows.
- What you can do after
- Evaluate A2A as a protocol choice when designing systems where agents must exchange messages, negotiate tasks, and collaborate.
Related concepts
- MCPcontrasts with · The Model Context Protocol is an open standard protocol that defines how AI applications connect with external tools, data sources, and other contextual resources.
- AI agentuses · An AI agent is a computational system that uses artificial intelligence to interpret information, select actions, and pursue goals through interaction with an environment.
- agent cardhas part · An agent card is a machine-readable document that describes an AI agent’s identity, capabilities, and endpoint for discovery and interaction.
- agent communicationuses · Agent communication is the exchange of information or messages among software agents to share results or coordinate actions.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

