← manishpande.in Contents
Reference architecture · 2026 The Agentic Platform by Manish Pande
© 2026 Manish Pande Mumbai, India Set in Space Grotesk · Source Serif 4 · JetBrains Mono
COORD · Coordination Chapter 12

Multi-Agent Systems & A2A

When one agent's context, tools, or focus aren't enough, the instinct is to split the work across several specialized agents. Sometimes this is exactly right; often it is a costly mistake that multiplies tokens, latency, and failure modes while adding little. This chapter covers the topologies that work, the protocol that lets agents from different vendors interoperate, and — just as important — when not to go multi-agent.

12.1 Topologies of collaboration

Multi-agent designs differ in how control and information flow between agents. The dominant pattern is orchestrator–worker: a lead agent decomposes a task and delegates subtasks to specialized workers, then synthesizes their results — a direct application of the fan-out/fan-in primitive from Chapter 4. Hierarchical designs nest this across several layers for complex domains. Blackboard (shared-state) designs let agents collaborate by reading and writing a common workspace rather than messaging directly. Sequential pipelines pass work agent-to-agent in stages.

Orchestrator–worker Orchestrator worker A worker B worker C delegate ↓ · synthesize ↑ Hierarchical lead sub-lead sub-lead workers workers Blackboard Shared stateread/write ag 1 ag 2 ag 3 ag 4
Fig 12.1 · Three coordination topologies. Orchestrator–worker centralizes planning and synthesis (the safest default). Hierarchical nests orchestration for deep task trees. Blackboard coordinates through shared state rather than direct messaging. All are built on durable fan-out/fan-in (Ch. 4).

12.2 The discipline of not going multi-agent

Each additional agent consumes its own context and token budget, adds a coordination and failure surface, and makes the system harder to evaluate and debug. Published experience (including Anthropic's own multi-agent research) is consistent: multi-agent systems can dramatically outperform single agents on complex, parallelizable, breadth-first tasks — and they burn many times the tokens to do it. They are a poor fit for tightly coupled tasks where subagents need each other's intermediate results, or for anything a well-engineered single agent with good tools and context already handles.

Anti-pattern · Multi-agent by default

Reaching for a crowd of agents to solve a problem one good agent could handle multiplies cost (Ch. 2's N× multiplier), latency, and non-determinism for no benefit. Start with the simplest thing that works: a single agent with well-designed tools. Add agents only when the task is genuinely parallel or demands separated contexts/permissions — and measure that the gain justifies the spend.

First principle · Coordination cost must buy capability

Every agent you add should earn its tokens. Multi-agent is justified when work is parallelizable, when subtasks need isolated context windows or distinct trust boundaries, or when specialization measurably improves quality — not because the architecture looks sophisticated.

12.3 Agent-to-Agent interoperability (A2A)

MCP (Ch. 8) connects an agent to tools; it does not standardize how two agents — possibly built by different teams or vendors, each opaque to the other — collaborate. The A2A protocol (originated at Google, now under the Linux Foundation) fills that gap. Each agent publishes an Agent Card advertising its identity, skills, and endpoint; other agents discover it and exchange tasks and results over a defined HTTP-based protocol, supporting long-running tasks and streaming. The mental model: MCP is how an agent uses a tool; A2A is how an agent delegates to a peer. A mature platform speaks both — MCP downward to capabilities, A2A outward to other agents.

trust domain A Client agentSPIFFE / OAuth id trust domain B · third-party Agent Cardskills · endpoint · auth Remote agentown skills + tools advertises ① discover Agent Card ② send task · scoped token (Ch.14) ③ stream status updates + result every cross-agent task is authenticated & scoped (Ch.14) — MCP reaches down to tools, A2A reaches out to agents
Fig 12.2 · A2A delegation across trust domains. A client agent discovers a third-party agent by reading its Agent Card (skills, endpoint, auth), then delegates a task over the A2A protocol carrying a scoped, on-behalf-of credential (Ch. 15); the remote agent streams status updates and returns a result. The two agents stay mutually opaque and sit in different trust domains, so every exchange is authenticated and authorized — never trusted by network location. MCP reaches down to tools; A2A reaches out to peers.
Table 12.1 — MCP vs A2A
MCPA2A
ConnectsAgent ↔ tools/data/resourcesAgent ↔ agent (peer collaboration)
CounterpartyA capability server you invokeAnother autonomous agent, possibly third-party
DiscoveryServer capability listingAgent Card (skills, endpoint, auth)
InteractionCall tool, read resourceSend task, stream updates, return result
AnalogyUsing a toolDelegating to a colleague
· · ·