New here? Start this series at Part 1: Most teams reaching for multiple agents do not need them
- Part 1: Most teams reaching for multiple agents do not need them
- Part 2: Write role contracts, not agent personalities
- Part 3: Every multi-agent pattern is an answer to one question: who controls the run
- Part 4: An agent that stops when it feels finished has no stop condition
- Part 5: A wrong answer tells you nothing about which agent was wrong
Open almost any multi-agent repository and the roles are described as characters: a meticulous researcher, a ruthless editor, a pragmatic engineer.
None of that is checkable. You cannot write a test for meticulous, you cannot page someone when ruthless degrades, and when two of these agents disagree there is nothing in the definition that says who wins.
What a role contract actually contains
A role contract has four parts, and personality is not one of them.
Inputs: the exact fields this role receives, and which are required. Outputs: a schema it must produce, not "a summary". Permissions: which tools and which scopes, expressed as a real allowlist. Done criteria: a condition someone else can evaluate without reading the transcript.
Once a role has those four, the prompt becomes short. Most of the prompt bloat in agent systems is compensation for a contract that was never written down.
Contracts make a system more rigid. A strict output schema rejects a useful finding it did not anticipate, and every change to it affects the sender and the receiver, so version contracts the way you would version an API.
The handoff is a payload, not a conversation
The most common defect is agents passing prose to each other. A researcher hands the writer three paragraphs of findings, the writer picks up the confident sentences and drops the caveats, and the caveats were the part that mattered.
Hand off structured objects instead: claims with their sources attached, the constraints that were discovered as well as the conclusions reached, the attempts that failed so the next role does not repeat them, and a confidence or coverage marker the receiver can branch on.
If the receiver cannot validate the payload on arrival, the boundary between roles does no work. Validate it, and reject on the spot rather than letting a malformed handoff propagate three steps downstream where the trace no longer explains anything.
Default to private memory over shared state
A shared scratchpad is the easiest way to pass context between agents, and one with no owner fills with stale assumptions that no role clears.
Default to private memory per role, with explicit reads. If an agent needs something, it should request it by name rather than browse a common pool. Shared state should hold facts about the run itself, such as the goal, the budget consumed and the approvals granted. Working notes belong to whoever wrote them. Private memory means a role sees only what it knows to ask for, so its contract's inputs have to name everything it needs.
Settle conflicts with a rule chosen in advance
Two agents will contradict each other, and the resolution cannot be another model call that picks the more fluent answer.
Sometimes precedence works, with the role holding direct tool evidence outranking the role that inferred. Sometimes the answer is escalation, meaning the run stops and a human sees both positions with their evidence. Silent last-writer-wins does not work, and it is what you get by default when nobody chose.
Test one role this week
Write one role's contract in four lines: inputs, output schema, allowlisted tools, done criteria. Then delete the persona from its prompt and rerun your evals. If quality drops, the persona was carrying requirements; move each one into a contract field that can be validated.
Terms in this piece
About this explainer
- Format
- Explainer
- Level
- Practitioner
- Read
- 2 min read
- Published
- Sep 1, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Deep dive · · 7 min read
Adding a second agent does not add intelligence, it adds a contract
Six posts on multi-agent systems, and the failures were never inside an agent. They were between two of them.
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.
Discussion