AgentProtocol.ai
//how agents communicate

Agent-to-agent communication

Agent-to-agent communication is what happens when one agent hands work to another rather than calling a tool. This guide covers the coordination patterns teams actually use, what a reliable exchange needs, and the failure modes that show up once more than two agents are involved.

Layer: agent ↔ agentPatterns

What makes it different from a tool call

The distinction that matters is not the network hop — it is who decides how the work gets done. When an agent calls a tool, it decides: it picks the function, supplies the arguments, and gets a deterministic result back. When an agent delegates to another agent, it gives up that control. The receiving side interprets the request, chooses its own approach, and may come back with questions.

Everything awkward about agent-to-agent communication follows from that handover. The work may take minutes or hours. It may half-succeed. The other side may need clarification before it can start. None of that fits a request-and-response shape, which is why wrapping an agent as a plain function call tends to disappoint.

Two meanings again
“Agent-to-agent” is used both as a general concept — any agent delegating to another — and as shorthand for Agent2Agent (A2A), the specific open protocol introduced by Google. This page is about the general problem; the A2A page covers that specification.

Five coordination patterns

Multi-agent systems nearly always settle into one of five shapes. Picking deliberately matters more than picking the fashionable one — each trades control against flexibility in a different place.

Pattern
How it works
Main trade-off
Best for
Orchestrator
hub and spoke
One agent directs all the othersBottleneck; single point of failurePredictable, repeatable workflows
Peer-to-peer
direct calls
Agents call each other directlyHard to trace once chains deepenLoosely coupled specialists
Event bus
publish / subscribe
Agents publish events, others reactNo ordering or delivery guaranteesReacting to changes in shared state
Shared workspace
blackboard
Agents read and write common stateContention and stale readsCollaborative drafting and review
Delegation hierarchy
recursive subdivision
Work splits down a tree of agentsContext dilutes with every levelDecomposable research or analysis

Most production systems are hybrids — an orchestrator at the top, peers beneath it, an event bus for anything asynchronous. The useful discipline is being able to name which pattern a given interaction uses, because the failure modes below attach to specific patterns.

What a reliable exchange needs

A prompt in and a string out is enough for a demo. Anything running unattended needs more, and this list is roughly the minimum:

  • A task identity. Something to refer to after the first response, since the work may outlive the connection.
  • Status you can poll or stream. Queued, running, needs-input, done, failed — not just a final answer.
  • A way to ask for clarification. The receiving agent frequently cannot start without one more detail.
  • Cancellation. If the caller gives up, the work should stop rather than keep burning tokens.
  • Typed failures. “I could not do this” and “I crashed” need different handling by the caller.
  • Verification. Some way to judge whether what came back is actually usable before passing it on.

This is exactly the ground a protocol covers for you. A2A models most of it directly through its task lifecycle, which is the main argument for adopting a standard rather than inventing message shapes per integration.

Identity, trust and auditability

This is the least settled part of the field, and the part most likely to block a production deployment. Three questions have no satisfying standard answer yet:

  • Who is this agent? Verifying that a counterparty is what it claims to be, particularly across an organisational boundary.
  • On whose behalf is it acting? When agent A asks agent B to spend money or read records, B needs to know whose authority is being exercised — and that authority should narrow, not travel intact, down a delegation chain.
  • What happened? Reconstructing a multi-hop exchange after a bad outcome, when each hop may have reworded the request.
Most deployments fall back to API keys
In practice, cross-agent authentication today usually means a shared secret and a trusted network boundary. That is workable inside one organisation and distinctly uncomfortable across several. If your design depends on verifiable delegated authority between parties who do not already trust each other, treat that as unsolved rather than assuming a protocol handles it.

How it goes wrong

Four failure modes account for most of the trouble, and all of them get worse with depth rather than breadth:

  • Context dilution. Each hop paraphrases. By the third, an agent is working from a summary of a summary and has quietly lost the constraint that mattered.
  • Duplicated work. Two agents independently pick up the same subtask, which costs twice and can produce two conflicting answers.
  • Delegation loops. A asks B, B decides this is really A's problem. Without a hop limit or a visible call chain, this runs until something times out.
  • Cost multiplication. Every hop is at least one model call. A five-agent chain is five times the tokens before a single retry, and retries are where budgets actually go.

The cheap mitigations are unglamorous: cap delegation depth, pass a correlation identifier through every hop, forward the original request alongside any summary of it, and log the full chain. None of this requires a protocol — but a protocol makes it conventional rather than something each team reinvents.

Protocols that standardise this

A2A is the most prominent attempt to standardise the layer: agent cards for discovery, a task lifecycle for delegated work, and messages and artifacts for everything in between. IBM's ACP covered similar ground before merging into A2A — see the agent communication protocol page for that history.

If the other end is a tool rather than an agent, you want MCP instead — the distinction is covered directly in MCP vs A2A.

When you need a protocol at all

Two agents you own, deployed together, talking over an internal HTTP endpoint, do not need a standard. You know both sides and can change them together. A protocol earns its keep when agents are built by different teams, deployed independently, or expected to work with counterparties you have not met — which is also precisely when identity and trust become hard.

Unsure which layer you are working at? The protocol selector narrows it in five questions.

//questions

Frequently asked questions

Is 'agent-to-agent communication' the same as A2A?

No. Agent-to-agent communication is the general problem of one agent delegating work to another. A2A (Agent2Agent) is a specific open protocol that standardises it, and currently the most prominent one, but you can do agent-to-agent communication without it.

What's the difference between an agent calling a tool and calling another agent?

Control. With a tool, the caller decides exactly what happens and gets a deterministic result. With another agent, the caller hands over the decision about how to do the work, which means the exchange has to cope with long-running tasks, clarifying questions and partial success.

Which multi-agent coordination pattern should I use?

An orchestrator for predictable workflows where you want control, peer-to-peer for loosely coupled specialists, an event bus for reacting to changes, a shared workspace for collaborative drafting, and a delegation hierarchy for decomposable research. Most real systems combine several.

How do agents authenticate to each other?

Usually with API keys and a trusted network boundary, which is adequate within one organisation and weak across several. Verifiable identity and narrowing delegated authority across organisational boundaries remain genuinely unsolved, so treat them as a design risk rather than a solved problem.

How do agents find each other?

Through capability discovery. In A2A each agent publishes an agent card describing its identity, skills and endpoint, which others read before delegating. Other systems use registries or a statically configured list. Discovery at open-internet scale is still unsolved.

Why do multi-agent systems get expensive so quickly?

Every hop is at least one model call, so a five-agent chain costs five times a single call before any retry. Delegation loops and duplicated work compound it. Capping delegation depth and logging the full call chain are the usual first mitigations.