← All questions
Agent Protocols & ToolsMedium· A2A (Agent-to-Agent Protocol)

What is A2A (Agent-to-Agent Protocol), and how is it di...

The two protocols solve different axes of the same broader problem. MCP is vertical: it connects a model to a tool — a weather API, a database, a file system. A2A is horizontal: it connects one agent to another agent, letting them delegate work and collaborate regardless of which framework or vendor built either side.

A travel-planning agent calling a weather API to check conditions is an MCP interaction. That same agent delegating “find me flights” to a separate, specialized flight-booking agent and “find me a hotel” to a separate hotel agent, then combining both results, is an A2A interaction — agent talking to agent, not agent talking to a plain tool.

They’re complementary rather than competing: MCP gives an agent its hands, A2A gives agents a shared language for handing work to each other. A sophisticated system typically uses both — MCP for each individual agent’s tool access, A2A for how those agents coordinate with one another.

Code playground (Python)