How AI agents actually communicate
In almost every system running today, agents talk to each other in natural language wrapped in a structured envelope. The envelope — who sent it, which task it belongs to, what status the work is in — is machine-readable and standardised by protocols like A2A. The payload inside is usually prose.
That split is deliberate, and it is the single most important thing to understand about AI agent communication. Protocols standardise the parts a computer needs to route and track. They leave the meaning to text, because no one has agreed a schema rich enough to express what one agent wants another to do.
Why agents talk in human language at all
It is a reasonable question, and an active research one. Two agents built by the same team could exchange structured data far more precisely than English. They mostly do not, for three practical reasons:
- It is what models are good at. An LLM's competence is in language. Forcing it to emit a rigid schema often costs accuracy on the underlying task.
- It degrades gracefully. A slightly unexpected sentence is still usable. A malformed JSON field is an error.
- It is inspectable. When a multi-agent system misbehaves, a human can read the transcript. That debugging property is worth a great deal in practice.
The cost is precision, and researchers are actively probing whether it is worth paying — including proposals to pass model activations between agents rather than words, which would be denser but entirely unreadable. Treat that as a research direction rather than something you will deploy.
Three communication paradigms
Multi-agent research generally sorts agent conversations into three shapes. They are not protocols — they describe what the agents are trying to do to each other:
- Cooperative. Agents share information toward a joint answer. The default, and the easiest to reason about.
- Debate. Agents argue opposing positions deliberately, on the theory that disagreement surfaces errors a single agent would confidently miss. Expensive, but genuinely effective on reasoning-heavy tasks.
- Competitive. Agents pursue goals that conflict, as in negotiation or market simulations. Rare in production, common in research.
What breaks when the sender is a model
Ordinary distributed systems assume a message means exactly what it says and that the same input produces the same output. Neither holds here:
- Messages are lossy restatements. An agent passing work along rewrites it in its own words. Constraints get dropped silently — not through error, but through paraphrase.
- The same request yields different answers. Retrying is not idempotent. A retry after a timeout may produce work that contradicts the first attempt, which both may have already acted on.
- Wrong answers arrive confidently. There is no error code for “I made this up”. A fabricated result is formatted exactly like a correct one, and the receiving agent has no signal to distrust it.
- Context is finite. Deep delegation chains eventually exceed what fits in a context window, and what gets truncated is usually the earliest instructions — the original intent.
The practical mitigations are the same ones that help in any agent-to-agent system: forward the original request alongside any summary of it, cap delegation depth, and verify results that matter rather than trusting the format they arrive in.
Prompt injection crosses agent boundaries
This is the security property that genuinely distinguishes AI agent communication, and it is easy to underestimate. If an agent reads untrusted content — a web page, a document, an email — instructions hidden in that content can influence what it does next. When that agent then messages a peer, the influence travels with it.
The receiving agent has no way to tell an instruction that originated with its operator from one that arrived via a compromised peer's paraphrase. Message-level authentication does not help: the peer really is who it claims to be, and really is sending the message. It has simply been convinced to send something else.
Where protocols fit
None of the above is solved by picking a protocol — but protocols do make the tractable parts conventional. The three layers each have one: MCP for reaching tools and data, A2A for delegating between agents, and the Agent Protocol REST spec for driving an agent from a client application.
For the protocols themselves, the agent communication protocol page covers the full roster and how the layers divide. For the architecture of multi-agent systems, see agent-to-agent communication.