A multi-agent system gives focused agents their own role, tools and context and has them collaborate on a task, often through an orchestrator. The Agent2Agent (A2A) protocol, which Google launched as an open-source protocol in April 2025, standardizes how they communicate.
Supervisor and specialist agents
A supervisor breaks a larger goal into subtasks and assigns each to a specialist agent such as a researcher, coder or reviewer. Each agent works within its own context, so it can concentrate on its role. The agents return results to the supervisor, which synthesizes them into one output.
Example: for a new software application, the supervisor splits the project into requirements gathering, coding and testing. The researcher agent collects user requirements and market analysis, the coder agent writes the code, and the reviewer agent tests it for quality. The supervisor integrates the results. Independent subtasks run in parallel, which shortens completion time.
What A2A standardizes between agents
A2A defines how agents discover one another and exchange messages. Each agent publishes a JSON Agent Card that describes its capabilities, and a client agent sends tasks to a remote agent over HTTP, JSON-RPC and Server-Sent Events. A coder agent that needs data from a researcher agent sends a request using the protocol. Agents built independently, or by different teams, can then collaborate.
Microservices are the nearest analogy, with the supervisor as the coordinator. Agents differ from microservices. Microservices are typically stateless and work through predefined APIs. Agents reason in natural language and handle contextual information, and their boundaries are set by the roles they play and the contexts they hold, as well as by deployment. That flexibility brings coordination and communication challenges that need careful management.
Single agent or several
A single monolithic agent with every tool and a giant prompt looks simpler. In practice tool selection degrades, irrelevant context fills the agent's memory and the agent loses focus across tasks. Splitting the work gives each agent a focused context and lets subtasks run in parallel. The price is coordination overhead, duplicated tokens and harder debugging.
| Task shape | Choice |
|---|---|
| Clearly separable subtasks that run in parallel, such as broad research or a large codebase | Multi-agent |
| Tightly coupled sequential steps where each output feeds the next | Single agent, because orchestration overhead can outweigh parallelism |
Example scenario: agents stop communicating
Example scenario: agents fail to communicate and task efficiency falls 50%. The figure is illustrative.
Communication delays between agents create bottlenecks when agents wait on one another. Network congestion or inefficient message handling can cause timeouts or misinterpreted messages. To investigate:
- Measure response times between agents.
- Log message queue lengths during peak hours.
- Compare message-handling settings, such as transport and timeouts, under load.
More efficient message handling reduces latency but needs development time. Monitor average response time between agents and task completion rates.
Primary source. Announcing the Agent2Agent Protocol (A2A), Google Developers Blog, by Rao Surapaneni, Miku Jha, Michael Vakoc and Todd Segal, 9 April 2025.