A team has one agent doing too much, so they split it up. A researcher, a writer, a checker. Every instinct says this should be better.
Quality goes down.
Not dramatically, and not in a way any single trace explains. The researcher does good work. The writer produces something reasonable from what it received. The checker approves it, because what it was handed looks internally consistent. Every agent behaved sensibly and the output is still wrong.
Multi-agent systems typically fail this way, and the cause is almost never a lack of intelligence. The moment you go from one agent to two, you stop building an AI feature and start building a distributed system. Distributed systems fail at their interfaces, and an interface you never wrote down is still an interface, one that runs on defaults, timing and luck.
The six posts of Agent Coordination Contracts take those interfaces one at a time.
The version with no coordinator at all
A swarm deletes the coordinator. Many cheap agents follow local rules, nobody holds the global picture, and coverage emerges rather than being assigned. The resilience is real. Lose a third of the workers and nothing breaks, because there is no orchestrator to crash and no bottleneck to saturate. What you pay is explainability. When the output is wrong, no individual agent decided anything, so there is no reasoning chain to follow. Debugging becomes statistics over distributions of behaviour.
The pattern earns its keep on work that divides cleanly and verifies cheaply: sweeping a codebase for one vulnerability class, validating thousands of records. In both, a result can be checked without reassembling the whole picture.
Cheap verification is the condition the whole pattern rests on. Swarm output is noisy by design, so build the verifier before anything else. Decide up front what aggregation rule turns many partial results into one answer, and what stops the exploration. Without both, the swarm keeps running up a bill and nobody owns the result.
Headcount is the least interesting variable
In small crews with defined roles, the temptation when quality dips is to add agents. That works about as well as adding people to a late project, for the reason Fred Brooks gave in The Mythical Man-Month (1975): communication paths grow faster than headcount, and between agents every path is an interface someone has to specify.
Two agents with crisp boundaries beat six with fuzzy ones, and fuzzy boundaries fail in two directions. Overlap means two agents own the same responsibility, so you pay duplicate tokens and then pay again to reconcile conflicting outputs. Gaps are worse, because each assumed the other covered it, nobody did, and the omission ships silently, with no conflicting artefact to alert anyone.
Write one page per agent before writing any prompts: what it owns including an explicit not-list, what tools it may use, what it receives and produces, and the criteria its output is judged against. Most of that charter becomes the system prompt, since a system prompt is essentially a job description.
Print every charter side by side once a quarter, looking for responsibilities claimed twice and responsibilities claimed by nobody. Then ask what would get worse if you deleted each agent. If that is hard to answer, removing it is a real architectural improvement.
A researcher holding deploy credentials has a larger role than its description admits, since permission scope is role scope.
Schema-valid and completely misunderstood
Inside one framework, agent communication feels free. The trouble starts at the boundary, and the boundary arrives for everyone. A partner team's agent, a vendor's agent, the system built on a different stack two acquisitions ago.
A real protocol pins down four things. Identity, because an agent accepting tasks from anything that can reach its endpoint is an incident waiting for a motivated party. Capability, stated machine-readably, or task assignment is guesswork in a config file. Task state, with both sides agreeing on the transitions. And artefacts, because passing a blob of prose and hoping the receiver parses it is not an interface. The Agent2Agent protocol (A2A) exists because every team was reinventing those four layers, badly; MCP does the same for the narrower link between an agent and its tools.
The harder failure is semantic. Anyone who survived enterprise systems integration knows the wire format was never the difficult part. Agreement on meaning was. Two agents can exchange flawless, schema-valid JSON while holding incompatible beliefs about what a field means. The schema does not say whether accepted means "I will do this" or "I received your message", or whether an empty result means "nothing found" or "I could not check".
Each of those ambiguities is a delayed incident. The system works until the difference matters, then fails in a way that makes both agents look innocent, because both were. Negotiate semantics in prose before traffic flows, and version the protocol from day one, treating a change of meaning as a breaking change even when the schema has not moved.
Shared memory is access control whether you designed it or not
Shared memory lets agent crews compound knowledge. It is also how one agent's wrong conclusion becomes infrastructure, and how one user's private context surfaces in another user's conversation. Both failures happen because memory is written without zones.
Three tiers cover most of it. Private scratch, one agent's working notes, readable by nobody else. Mission-shared, visible to the current crew and expired when the mission ends. Organisational, the durable facts everyone builds on, where write access is a privilege.
The control that matters is promotion between those tiers, because whatever crosses into organisational memory becomes load-bearing for every future run. Copy-paste promotion is how a guess made in March becomes established fact by June, relied on downstream, its origin long forgotten. This contamination is far harder to catch than leakage, because nothing looks wrong: the claim is stated cleanly and is simply untrue.
For most audits it is enough to ask whether a human colleague in that role would be allowed to see this. Role-based access is already solved elsewhere in your stack, and the mistake is rebuilding a weaker version inside the agent layer. Reuse it instead by letting the agent query memory as the user it serves (on-behalf-of token exchange), with the filter applied in the store. Every entry should be useful, authorised, attributable and correctable. The fourth is the one that goes missing when the store has no way to supersede an entry, and a correction has to win at retrieval time rather than sit politely alongside the original.
Handoffs need typed contracts and their own trace events
Audit a failed multi-agent run and the defect is rarely inside an agent. It sits at a handoff, where context the sender held never reached the receiver, which then did something reasonable with a fragment.
The instinct is to blame the receiver, but the defect is upstream, and the remedy is to treat a handoff as a typed contract rather than a message. Objective, so the receiver does not optimise for its own idea of good. State, including what has already been ruled out, the field everyone omits and the one that prevents re-exploring dead ends. Evidence by reference, because a summary of evidence is not evidence. Constraints, so no agent starts fresh against limits already half spent. Ownership, meaning who holds the task now.
Then validate on receipt. A rejected handoff costs seconds and yields a precise error; an incomplete one costs a full downstream execution built on an invented premise.
Per-agent spans show what each agent did; unless the handoff payload is recorded as its own event, nothing shows what moved between them. If five agents each behaved sensibly and the answer is wrong, the evidence is in the seams, and you cannot see it unless handoff payloads are logged.
Decide in advance how agent conflicts resolve
Suppose agent A says approve and agent B says block. What does your system do?
If you cannot answer instantly, the honest answer is "whatever happens to happen". Undefined conflicts still resolve, just by accident. The last writer wins, the highest confidence wins, or the system stalls until a timeout chooses.
This kind of disagreement is predictable. The risk checker optimises for safety, the growth agent for conversion, both work as specified, and eventually they meet on the same case with opposite answers. Tuning prompts until the disagreement disappears suppresses a signal you want.
Four mechanisms, in order of preference. Policy lookup first, because many conflicts were already settled by compliance, legal or an SLA, and retrieving that ruling beats re-litigating per request. Then categorical priority rules, where safety constraints outrank optimisation goals with no scoring involved, which means every false positive on the safety side now blocks good business. Then a designated decider per conflict class, named in advance rather than discovered mid-incident. Then escalation for genuine ties, carrying both positions and their evidence, because an escalation that only reports "the agents disagreed" gives the reviewer nothing to decide.
Log every conflict and its resolution. Two agents colliding weekly on the same case class are telling you their roles overlap, and arbitration is treating the symptom while the boundary defect stays put. Those logs are also the best evaluation data you will get free, because they hold real, genuinely ambiguous cases with outcomes attached.
What this adds up to
The six posts make one argument. Every connection between two agents is a contract, and if you did not write it, your system is running one anyway, assembled by accident out of defaults, timing and whoever wrote last.
The instinct when a multi-agent system underperforms is to improve the agents. But the failures cluster in four places where agents touch: what each one owns, what they say to each other and what those words mean, what they can read and write in common, and who wins when they disagree.
All four are design work you can do on a whiteboard before writing a line of orchestration code. Draw your agents as boxes, and on every line between two of them write the owner of the work crossing it, the message contract, the state both can write and the tie-break rule. Any line you cannot annotate is running on defaults, and its first failure will arrive with no owner and no log entry.
The six posts behind this
Each is a short standalone post with the specifics:
- Decentralized agents need convergence rules before they earn trust
- Role design matters more than agent count
- Agents cannot collaborate without a shared message contract
- Shared agent memory is an access-control problem
- A handoff is a contract: state, evidence, open questions, an owner
- Agents need arbitration rules before they disagree
They form the Agent Coordination Contracts chapter of my sixty-day series on building AI that survives real users. To work through it from the beginning, the series page lays out all sixty posts in ten chapters.
Terms in this piece
About this deep dive
- Format
- Deep dive
- Level
- Practitioner
- Read
- 7 min read
- Published
- Sep 27, 2026
- Disciplines
Long-form engineering, further than a blog post goes.
More on these topics
Deep dive · · 7 min read
Six ways to wire agents together, and the same three things break every time
The topology gets all the design attention. Ownership, termination and traceability are what decide whether it survives contact with production.
Deep dive · · 7 min read
Most agent controls do not actually control anything
Six days of notes on supervising autonomous systems, and the same failure shape kept turning up: the control exists, it is documented, and nothing in the running system is bound by it.
Explainer · · 2 min read
A wrong answer tells you nothing about which agent was wrong
Multi-agent systems need trace timelines, trajectory evals and designed recovery, because the final output hides everything that produced it.
Discussion