Multi-agent systems
A second agent buys exactly one thing a single agent cannot have: a separate context window whose intermediate tokens are thrown away. Everything else it appears to offer is available more cheaply.
6.1What a Second Agent Actually Buys You
A multi-agent system is a collection of language model instances that interact through some orchestration layer to produce a single result. That definition is broad enough to cover a three-way debate over an arithmetic problem and a research assistant that spawns fifteen parallel searchers, and the breadth is a problem, because those two systems succeed for unrelated reasons and fail in unrelated ways. Before adopting either, it helps to be precise about which resource a second agent adds that a single agent could not have had.
There are only four candidates, worth naming separately because engineers routinely reach for a multi-agent design while wanting just one. Parallelism in wall-clock time: several tool calls issued at once rather than in sequence. Context isolation: each worker reads a large volume of material and returns a small summary, so the material never occupies the coordinator's window. Diversity of samples: several independent attempts at one problem, aggregated by voting or discussion. Specialization: different prompts, tools, or models applied to sub-problems that differ in kind.
Only one of these truly requires separate agents. Parallelism is a property of the execution engine, and a single agent emitting several tool calls in one turn gets it without an extra model instance. Diversity of samples is best-of-N or majority voting, which the literature often relabels as collaboration but which needs no inter-agent communication. Cemri et al. make the point sharply: gains from multi-agent systems often remain minimal compared to single-agent frameworks or simple baselines like best-of-N sampling. A design that is really best-of-N should be built and costed as best-of-N.
Context isolation has the strongest claim to needing separate agents, and the reason lies in the constraint it relieves. A model's context is a finite resource whose marginal value declines as it fills, an effect Anthropic's context engineering guidance calls context rot: accuracy falls as context length grows, partly because attention must span a quadratically growing set of token relationships and partly because long sequences are underrepresented in training. A worker that reads forty documents and returns three paragraphs has converted forty documents' worth of tokens into three paragraphs' worth of coordinator context. No prompt-level trick achieves that, because the compression happens in a separate inference whose intermediate tokens are discarded.
| RESOURCE WANTED | NEEDS SEPARATE AGENTS? | CHEAPER SINGLE-AGENT ROUTE | WHAT IT COSTS IF YOU USE MAS ANYWAY |
|---|---|---|---|
| Wall-clock parallelism | No | Concurrent tool calls in one turn | Coordination overhead with no added capability |
| Sample diversity | No | Best-of-N with majority vote | Inter-agent messages that voting never needed |
| Specialization | Rarely | Tool and prompt scoping per phase | Handoff losses at each role boundary |
| Context isolation | Yes | None: compression needs a discarded inference | Information loss when sub-results are interdependent |
Anthropic's description of subagent architectures makes the isolation explicit: each subagent might explore extensively but returns only a condensed, distilled summary of its work. The subagent's window is a scratch buffer that is thrown away, and the coordinator sees only the residue. Read this way, a multi-agent system is a memory hierarchy rather than an organization chart, and the engineering question is what the compression ratio is and what it destroys.
The strongest published evidence for the isolation argument comes from Anthropic's multi-agent research system. On their internal research evaluations, a system using Claude Opus 4 as lead agent with Claude Sonnet 4 subagents outperformed single-agent Opus 4 by 90.2%. The qualitative example they give is diagnostic: asked to identify board members across Information Technology companies in the S&P 500, the multi-agent system succeeded while the single agent failed to find the answer with slow, sequential searches. The task is breadth-first, the sub-results are independent, and no worker needs to know what any other worker found.
# Before adding a second agent, check which resource you actually need.
# Three of the four have a single-agent implementation.
import asyncio
# 1. PARALLELISM -- no second agent required. One agent, concurrent tool calls.
async def parallel_tools(agent, calls):
return await asyncio.gather(*[agent.call_tool(c) for c in calls])
# 2. SAMPLE DIVERSITY -- this is best-of-N, not collaboration.
# Cost it as best-of-N and compare against it as a baseline.
def best_of_n(agent, prompt, n=5):
answers = [agent.run(prompt) for _ in range(n)]
return max(set(answers), key=answers.count) # majority vote
# 3. SPECIALIZATION -- usually achievable with tool scoping inside one agent.
def scoped_single_agent(agent, prompt, phase):
tools = {"research": ["search", "fetch"], "write": ["draft", "cite"]}[phase]
return agent.run(prompt, tools=tools)
# 4. CONTEXT ISOLATION -- the one that genuinely needs a separate inference,
# because the worker's intermediate tokens must be discarded, not summarized
# inside the caller's own window.
def isolated_worker(worker_model, task, budget_tokens):
scratch = worker_model.run(task, max_tokens=budget_tokens) # thrown away
return worker_model.summarize(scratch, max_tokens=400) # only this returns
# The honest baseline table for any MAS proposal:
# single agent | single + parallel tools | best-of-N | MAS
# all at MATCHED TOKEN BUDGET, since token count explained 80% of
# BrowseComp variance in Anthropic's analysis.That headline number carries qualifications that matter more than the number does. It comes from internal research evaluations rather than a public benchmark, and it compares a stronger lead model plus workers against a single instance of that model, so architecture and compute budget vary together. The cost side is substantial: Anthropic reports agents using roughly 4x the tokens of chat interactions and multi-agent systems roughly 15x. A 90% gain bought with a 15x token bill pays only when the task's value clears that bar, which is why the same writeup concludes that such systems require tasks where the value of the task is high enough to pay for the increased performance.
Token spend also explains an uncomfortable amount of the result. On the BrowseComp benchmark, Anthropic found that token usage alone explains 80% of the variance in performance, with tool call count and model choice accounting for another 15%. If most of the measured benefit tracks how many tokens a system spent, then a multi-agent architecture is partly a mechanism for spending more tokens, and any comparison that does not hold token budget fixed is measuring spending as much as it is measuring design. This is the single most important control to demand of any multi-agent result, including your own.
Negative cases follow from the same reasoning. Anthropic names coding as a poor fit for their architecture, because coding tasks involve heavy interdependencies among the pieces and require shared context across the work. When worker A's decision constrains worker B's, isolation stops being compression and starts being information loss: A's output no longer reflects a constraint B discovered, and the coordinator must reconcile two locally sensible but jointly incoherent results. The test to apply before splitting a task is whether the sub-results are independent conditional on the plan the coordinator wrote.
Neubig's argument for single-agent systems, written from the OpenHands project, presses on the specialization claim. Role-specialized agents are motivated by giving each the structure and tools appropriate to its job, but a single agent with a capable model, a unified action space, and good prompting can hold all those tools at once and choose among them, which is what CodeAct does. Specialization by separate agent buys tool scoping and prompt scoping, both achievable inside one agent at far lower coordination cost.
| CLAIM | SOURCE | FIGURE | QUALIFICATION TO CARRY WITH IT |
|---|---|---|---|
| Multi-agent beats single agent on research | Anthropic multi-agent research system | 90.2% improvement | Internal evals; Opus lead + Sonnet workers vs single Opus; architecture and budget vary together |
| Multi-agent token cost | Anthropic multi-agent research system | ~15x chat; agents ~4x chat | Sets the value bar the task must clear |
| Token spend drives measured performance | Anthropic, BrowseComp analysis | 80% of variance | Tool calls and model choice add ~15%; demand matched-budget baselines |
| MAS gains over simple baselines are often small | Cemri et al., MAST | Qualitative claim in abstract | Compares against single-agent frameworks and best-of-N |
None of this argues that multi-agent designs are a mistake, only that the decision has a specific shape: identify which of the four resources the task needs, check whether a single agent with parallel tool calls or a sampling loop already supplies it, and only then accept the coordination cost. Most systems that reach for a second agent need parallelism or sampling, both available more cheaply.
6.2Orchestrator-Worker, Peer Networks, and the Topology Question
Once a task genuinely warrants multiple agents, the next decision is the communication topology: who may send a message to whom, and who decides when the work is finished. The two poles are the orchestrator-worker tree, in which a lead agent decomposes the task and workers report only upward, and the peer network, in which agents address each other directly and the stopping decision is collective. Most deployed systems sit at or near the first pole, and the reasons are structural rather than fashionable.
Anthropic's research system is a clean instance of the orchestrator-worker pattern. A lead agent analyzes the query and develops a strategy, subagents run in parallel on distinct aspects, results return to the lead for synthesis, and a separate CitationAgent handles attribution as a final pass. The message graph is a tree of depth two, workers never talk to each other, and every worker's output crosses exactly one boundary before reaching the synthesizer. That shape bounds the number of messages at O(n) for n workers and makes each worker's contribution individually attributable when something goes wrong.
Peer topologies replace the tree with a graph, and the message count grows accordingly. In a fully connected discussion among n agents over r rounds, each agent reads every other agent's output each round, so total message volume scales as O(n²·r) and, because each message enters every peer's context, token cost scales the same way. Du et al.'s multiagent debate runs three agents for two rounds in its main experiments precisely because, as the authors note, of computational expense, though they found further gains with more agents and more rounds.
The quadratic factor is the reason peer architectures stay small in practice. Going from three agents to six in a debate does not double the cost; it roughly quadruples the read volume per round. A design that wants many participants therefore has to break full connectivity, either by routing through a hub, which turns it back into orchestrator-worker, or by sparsifying the graph, which is what dynamic network approaches do.
| TOPOLOGY | MESSAGE GROWTH | WHO STOPS THE RUN | BEST FIT | DOMINANT FAILURE |
|---|---|---|---|---|
| Orchestrator-worker | O(n) | Lead agent | Breadth-first, independent subtasks | Lead writes overlapping or vague briefs |
| Peer debate | O(n²·r) | Consensus or fixed round cap | Verifiable answers with diverse errors | Cost growth; convergence on a shared wrong premise |
| Handoff chain | O(n) | Whichever agent holds control | Staged pipelines with clean phase boundaries | Lossy state transfer at each boundary |
| Dynamic network (DyLAN) | Learned, sparsified | Selected team | Tasks where useful roles are not known in advance | Selection pass adds cost before real work begins |
Liu et al.'s Dynamic LLM-Powered Agent Network takes the sparsification route and makes topology a learned object. Rather than fixing which agents participate, DyLAN runs a preliminary pass, computes an unsupervised Agent Importance Score measuring each candidate's contribution, and selects a team for the specific task. The paper reports gains up to 25.0% accuracy on specific MMLU subjects, outperforming both single-agent baselines and static multi-agent systems with fixed communication structures at what the authors call moderate computational cost. Topology is a hyperparameter with real effect size rather than a detail to settle by intuition.
AutoGen, from Wu et al., made topology programmable for most practitioners. Its abstraction is the conversable agent: entities that are customizable and can operate in modes combining language models, human input, and tools, with interaction behavior defined flexibly in code or natural language. The framework's contribution is the claim that conversation patterns are themselves a programming surface, which is why one library expresses two-agent chats, group chats with a manager, and nested hierarchies. It also treats human participation as a first-class mode rather than an escape hatch, which matters for approval gates.
from dataclasses import dataclass, field
from typing import Literal
import asyncio
@dataclass
class WorkerBrief:
"""Anthropic's delegation guidance: objective, output format, tool guidance,
task boundaries. Vague briefs are how two workers do the same job twice."""
objective: str
output_format: str
tools: list[str]
boundaries: str # what this worker must NOT do
effort: Literal["low", "medium", "high"] # scales tool-call budget
@dataclass
class WorkerResult:
findings: str # the compressed residue -- bounded on purpose
sources: list[str] # required, so CitationAgent can verify
confidence: float
unresolved: list[str] = field(default_factory=list) # surfaces gaps upward
def validate(self) -> None:
# A missing field must fail HERE, at the boundary, not three steps later.
if not self.sources:
raise ValueError("unsourced finding: cannot be synthesized")
EFFORT_BUDGET = {"low": 3, "medium": 10, "high": 25} # tool calls
async def orchestrate(lead, worker_pool, query):
plan = await lead.plan(query) # decomposition happens once, centrally
briefs = plan.briefs # disjoint by construction
results = await asyncio.gather(*[
worker_pool.run(b, max_calls=EFFORT_BUDGET[b.effort]) for b in briefs
])
for r in results:
r.validate()
# Lead owns the stopping decision. MAST: Premature Termination 7.4%,
# Unaware of Termination Conditions 6.8% -- both worsen when ownership
# is diffuse. ChatDev case study: giving one agent final say gave +9.4%.
if lead.needs_more(results):
return await orchestrate(lead, worker_pool, lead.refine(query, results))
return await lead.synthesize(results)Between the two poles sits the handoff, where control transfers wholesale from one agent to another and the first agent stops. Handoffs are attractive because they keep exactly one agent active, avoiding both the quadratic message growth of peers and the synthesis burden of an orchestrator. Their weakness is state transfer: everything the receiving agent needs must be serialized into the handoff payload, and anything omitted is simply gone, since the sending agent is no longer available to answer questions about its own reasoning.
That failure has a name in the MAST taxonomy. Loss of Conversation History accounts for 1.5% of observed failures and Conversation Reset for 0.8%, both small individually, but they are the pure-state-transfer bugs, and the larger neighboring modes describe what happens when the transfer is lossy rather than absent. The design response is to make the handoff payload an explicit typed schema rather than a free-text summary, so that a missing field is a validation error at the boundary instead of a silent omission that surfaces three steps later.
The stopping decision deserves separate attention because topologies differ in who owns it. In an orchestrator-worker tree, the lead agent decides, which is a single well-defined point of control. In a peer network, termination is collective and therefore ambiguous, and this ambiguity is expensive: MAST finds Premature Termination at 7.4% of failures and Unaware of Termination Conditions at 6.8%. Cemri et al.'s ChatDev case study attacks exactly this, observing that a CPO agent would end discussions with the CEO without addressing constraints, and reporting that ensuring only superior agents can finalize conversations contributed to a +9.4% increase in overall task success rate.
That ChatDev result should be read carefully rather than as an endorsement of hierarchy. The intervention was a workflow adjustment giving one agent final say, and the paper's own framing is that such fixes, while real, do not constitute substantial improvements. In their AG2 MathChat study the picture is messier: with GPT-4, an improved prompt with an explicit verification section beat the baseline, but a new three-role topology of Problem Solver, Coder, and Verifier did not, with a Wilcoxon test returning p = 0.4. With GPT-4o both interventions reached p = 0.03.
| INTERVENTION | SYSTEM | RESULT | READING |
|---|---|---|---|
| Only superior agents finalize conversations | ChatDev | +9.4% task success | Real but, in the authors' framing, not a substantial fix |
| Improved prompt with verification section | AG2 MathChat, GPT-4 | Beat baseline | Prompt change outperformed the topology change |
| Three-role topology (Solver/Coder/Verifier) | AG2 MathChat, GPT-4 | p = 0.4, not significant | Topology change alone did not help on this model |
| Both interventions | AG2 MathChat, GPT-4o | p = 0.03 | Same interventions, different model, different verdict |
| Task-specific team selection | DyLAN on MMLU subjects | Up to 25.0% accuracy gain | Topology treated as an optimizable object |
Dependence on the underlying model is the finding to carry forward. The authors state plainly that these strategies are not universal and vary with the model. Any topology choice is therefore tied to a model version, and an upgrade invalidates the measurement that justified it, which makes topology a versioned, re-benchmarked decision rather than a settled architecture.
6.3How Multi-Agent Systems Fail
The most systematic account of multi-agent failure is MAST, the Multi-Agent System Failure Taxonomy of Cemri et al. Its empirical base is MAST-Data: 1,642 annotated execution traces drawn from seven multi-agent frameworks, run across coding, math, and general agent tasks with GPT-4 series and Claude series models. The taxonomy itself was built from close analysis of 150 traces with expert human annotators and validated at an inter-annotator agreement of kappa = 0.88, which is high for a judgment task this open-ended.
Two observations frame everything that follows. Across the seven state-of-the-art open-source systems studied, the authors report failure rates ranging from 41% to 86.7%; these are not fragile prototypes but the systems the field cites, and a practitioner reading only success-case writeups will badly misjudge the base rate. MAST then sorts 14 failure modes into three categories whose distribution is the useful part: system design issues account for 44.2% of failures, inter-agent misalignment for 32.3%, and task verification for 23.5%. The first category dominating means most multi-agent failures are not exotic emergent coordination phenomena; they are specification bugs, agents doing the wrong job or not knowing when to stop.
Within system design, the largest mode is Disobey Task Specification at 15.7%, then Step Repetition at 13.2%, Disobey Role Specification at 11.8%, Unaware of Termination Conditions at 6.8%, and Loss of Conversation History at 1.5%. Step repetition is worth pausing on, because it is the mode most directly caused by having multiple agents: two workers with overlapping briefs redo each other's work and the orchestrator pays for both. The defense is disjoint briefs with explicit boundaries, which is why Anthropic's delegation guidance insists on stating task boundaries rather than only objectives.
Inter-agent misalignment holds the modes that are genuinely about communication. Information Withholding sits at 8.2%, Ignored Other Agent's Input at 6.2%, Task Derailment at 7.4% in the ordering the paper's figure gives, Fail to Ask for Clarification at 2.2%, Reasoning-Action Mismatch at 9.1%, and Conversation Reset at 0.8%. Ignored Other Agent's Input at 6.2% is the mode that undercuts the entire premise of peer debate: an agent that does not update on a peer's correction converts a debate into parallel monologues that still cost quadratic tokens.
| CATEGORY | SHARE | LARGEST MODES WITHIN IT | PRIMARY DEFENSE |
|---|---|---|---|
| System design issues | 44.2% | Disobey Task Spec 15.7%; Step Repetition 13.2%; Disobey Role 11.8% | Disjoint typed briefs with explicit boundaries |
| Inter-agent misalignment | 32.3% | Reasoning-Action Mismatch 9.1%; Information Withholding 8.2%; Task Derailment 7.4% | Schema-checked messages; required unresolved-questions field |
| Task verification | 23.5% | No or Incomplete Verification 12.4%; Premature Termination 7.4% | A dedicated verifier and one owner of the stop decision |
Task verification, the smallest category at 23.5%, splits into Premature Termination at 7.4%, No or Incomplete Verification at 12.4%, and Incorrect Verification at 2.8%. That No or Incomplete Verification is the second largest individual mode in the whole taxonomy, at 12.4%, is the finding with the clearest engineering implication: a large share of multi-agent failure is simply nobody checking the work. Adding a verifier is cheap relative to adding a debate round, and it targets a bigger slice of the failure distribution.
Three failure patterns deserve treatment beyond their taxonomy codes because they are structural to the multi-agent setting. The first is the shared wrong premise. When an orchestrator's plan contains a false assumption, every worker inherits it, and because workers are isolated from each other, none is positioned to contradict it. The system then returns a confident, internally consistent, wrong answer, and its consistency is evidence of shared inheritance rather than of correctness. Agreement among workers who read the same brief carries almost no independent information.
# MAST: 14 modes, 3 categories, from 1,642 traces across 7 frameworks.
# Category rates: system design 44.2% | misalignment 32.3% | verification 23.5%
MAST = {
# --- System design issues: 44.2% ---
"1.1": ("Disobey Task Specification", 15.7),
"1.2": ("Disobey Role Specification", 11.8),
"1.3": ("Step Repetition", 13.2),
"1.4": ("Loss of Conversation History", 1.5),
"1.5": ("Unaware of Termination Conditions", 6.8),
# --- Inter-agent misalignment: 32.3% ---
"2.1": ("Conversation Reset", 0.8),
"2.2": ("Fail to Ask for Clarification", 2.2),
"2.3": ("Task Derailment", 7.4),
"2.4": ("Information Withholding", 8.2),
"2.5": ("Ignored Other Agent's Input", 6.2),
"2.6": ("Reasoning-Action Mismatch", 9.1),
# --- Task verification: 23.5% ---
"3.1": ("Premature Termination", 7.4),
"3.2": ("No or Incomplete Verification", 12.4),
"3.3": ("Incorrect Verification", 2.8),
}
def triage(tagged_traces):
"""Attack modes by observed rate, not by which are most interesting."""
from collections import Counter
seen = Counter(tagged_traces)
return sorted(seen.items(), key=lambda kv: -kv[1])
# Cheap guards aimed at the largest modes:
def guard_step_repetition(briefs): # FM 1.3 -- 13.2%
"""Overlapping briefs make two workers redo one job. Fail loudly."""
seen = set()
for b in briefs:
key = frozenset(b.objective.lower().split())
if any(len(key & s) / max(len(key | s), 1) > 0.6 for s in seen):
raise ValueError(f"brief overlaps an existing one: {b.objective}")
seen.add(key)
def guard_verification(result, verifier): # FM 3.2 -- 12.4%, 2nd largest mode
"""Nobody checking the work is a bigger slice of failure than
any coordination subtlety. A verifier is cheaper than a debate round."""
verdict = verifier.check(result)
return result if verdict.passed else verifier.repair(result, verdict.reasons)
def guard_termination(state, max_rounds=3): # FM 1.5 6.8% + FM 3.1 7.4%
"""Exactly one owner for the stopping decision, plus a hard cap."""
if state.round >= max_rounds:
return state.best_so_far() # explicit tie-break beats unbounded cost
return NoneA second pattern is unresolvable disagreement. Debate systems assume the population converges, and Du et al. report that agents almost always converge on a single common answer, with debate sometimes moving a group from all-incorrect to correct. But convergence is a property of the procedure, not a guarantee of correctness, and the same dynamics that pull a group toward a right answer pull it toward a confidently argued wrong one. When agents do not converge, the orchestrator faces a decision no additional round resolves, and a fixed round cap with an explicit tie-break rule is the only thing standing between the system and unbounded cost.
The third is coordination overhead exceeding benefit, which is the failure mode that does not appear in any trace because the system technically succeeded. A design that adds 15x token cost to gain a few points of accuracy has failed economically while passing every functional test. This is why the cost-per-resolved-task metric belongs in the evaluation suite alongside accuracy, and why Anthropic's framing of the value threshold is a design constraint rather than a caveat.
MAST's practical payoff is converting these into a checklist you can run against traces. The authors built an LLM-as-judge annotator on o1, calibrated to kappa = 0.77 against human experts and validated at kappa = 0.79 on two unseen systems, and released it with the taxonomy as a pip-installable package. Tagging your failed traces by mode turns a vague sense of unreliability into a distribution you can attack in priority order.
The authors' own conclusion is sobering: their targeted interventions produced real but modest gains, and robust reliability often requires more than isolated fixes. Their finding that MAST reflects challenges inherent in current multi-agent systems rather than artifacts of particular implementations means these modes should be expected in your system too, and budgeted for during design rather than discovered in production.
| STRUCTURAL FAILURE | WHY MULTI-AGENT MAKES IT WORSE | DETECTION SIGNAL | MITIGATION |
|---|---|---|---|
| Shared wrong premise | Isolation prevents any worker from contradicting the plan | Unanimous agreement with thin independent sourcing | Assign one worker to attack the plan's assumptions |
| Unresolvable disagreement | Convergence is assumed by the procedure, not guaranteed | Round cap reached with answers still split | Fixed cap plus explicit tie-break to a verifier |
| Overhead exceeds benefit | ~15x token multiplier applies whether or not quality rises | Cost per resolved task rises while accuracy rises slightly | Track cost per resolved task as a first-class metric |
6.4Debate, Ensembling, and What Sampling Already Gives You
The debate and ensembling literature is where the multi-agent case is strongest, and also where the honest baseline is hardest to beat. These methods share a structure: generate several candidate answers, then aggregate. They differ in whether the candidates are allowed to see each other, and that single difference is what separates ensembling from debate.
Du et al.'s multiagent debate is the canonical version of the see-each-other variant. Several model instances propose answers, then over subsequent rounds each reads the others' responses and reasoning and revises. The main experiments use three agents and two rounds, a choice the authors attribute to computational expense while noting further gains from more agents and more rounds. The procedure needs only black-box access, uses identical prompts across tasks, and composes with other techniques.
Their reasoning results include a majority-voting control, which is the comparison that matters, since voting is the cheap alternative requiring no inter-agent communication. On arithmetic, a single agent scores 67.0 ± 4.7, reflection 72.1 ± 4.5, majority voting 69.0 ± 4.6, and debate 81.8 ± 2.3. On grade school math the figures are 77.0 ± 4.2, 75.0 ± 4.3, 81.0 ± 3.9, and 85.0 ± 3.5. On chess, in delta pawn score, they are 91.4 ± 10.6, 102.1 ± 11.9, 102.2 ± 6.2, and 122.9 ± 7.6. Debate beats voting in every case.
Factuality results tell a sharper story about reflection. On biographies, single agent scores 66.0 ± 2.2, reflection 68.3 ± 2.9, and debate 73.8 ± 2.3. On MMLU the numbers are 63.9 ± 4.8, 57.7 ± 5.0, and 71.1 ± 4.6. On chess move validity they are 29.3 ± 2.6, 38.8 ± 2.9, and 45.2 ± 2.9. Reflection actively hurt on MMLU, dropping accuracy by more than six points below the single-agent baseline, which fits the broader observation that a model critiquing its own output without external signal often talks itself out of correct answers. Debate supplies that external signal in the form of another instance's disagreement.
| TASK | SINGLE AGENT | SINGLE + REFLECTION | MULTI-AGENT MAJORITY | MULTI-AGENT DEBATE |
|---|---|---|---|---|
| Arithmetic (%) | 67.0 ± 4.7 | 72.1 ± 4.5 | 69.0 ± 4.6 | 81.8 ± 2.3 |
| Grade School Math (%) | 77.0 ± 4.2 | 75.0 ± 4.3 | 81.0 ± 3.9 | 85.0 ± 3.5 |
| Chess (Δ pawn score) | 91.4 ± 10.6 | 102.1 ± 11.9 | 102.2 ± 6.2 | 122.9 ± 7.6 |
| Biographies (%) | 66.0 ± 2.2 | 68.3 ± 2.9 | not applicable | 73.8 ± 2.3 |
| MMLU (%) | 63.9 ± 4.8 | 57.7 ± 5.0 | not applicable | 71.1 ± 4.6 |
| Chess Move Validity (%) | 29.3 ± 2.6 | 38.8 ± 2.9 | not applicable | 45.2 ± 2.9 |
The mechanism the authors describe for those gains explains when debate will and will not help. As debate progresses, instances tend to disagree on facts they are internally uncertain about, and drop those facts from the final answer, so debate functions as a filter on low-confidence content rather than as a generator of new knowledge. On a task where the model's uncertainty is well calibrated and errors are diverse, that filter is valuable; on a task where all instances share the same confident misconception, it removes nothing.
Against this, Li et al.'s sampling-and-voting work sets the baseline that any debate system should have to clear. Their finding is that performance scales with the number of sampled agents under plain majority voting, with no communication whatsoever. Reported gains are 12% to 24% on GSM8K, 6% to 10% on MATH, 5% to 11% on MMLU, 4% to 9% on HumanEval, and 1% to 4% on chess. These are not small, and they come from a method with no orchestration, no message passing, and no failure modes from the MAST misalignment category, because there is no inter-agent communication to misalign.
from collections import Counter
def sample_and_vote(model, prompt, n=15, temperature=0.7):
"""Li et al.: gains of 12-24% GSM8K, 6-10% MATH, 5-11% MMLU,
4-9% HumanEval, 1-4% chess -- with zero inter-agent communication.
At n=15, Llama2-13B matched Llama2-70B accuracy."""
answers = [model.run(prompt, temperature=temperature) for _ in range(n)]
return Counter(map(normalize, answers)).most_common(1)[0][0]
def debate(models, prompt, rounds=2):
"""Du et al. main setting: 3 agents, 2 rounds (chosen for cost).
Debate beat majority voting on every reasoning task they measured."""
responses = [m.run(prompt) for m in models]
for _ in range(rounds):
nxt = []
for i, m in enumerate(models):
others = [r for j, r in enumerate(responses) if j != i]
nxt.append(m.run(prompt, peer_responses=others)) # revise on peers
responses = nxt
return Counter(map(normalize, responses)).most_common(1)[0][0]
def choose_aggregation(task_sample, model, budget_tokens):
"""Decision rule. Run the cheap baseline before buying the machinery."""
if not answers_comparable(task_sample):
# Du et al. omitted the majority baseline on factuality tasks precisely
# because responses were not easily comparable. Your aggregator is now
# a judge -- validate it against human labels first.
return "llm_judge_aggregation", "validate judge before trusting it"
base = evaluate(sample_and_vote, model, task_sample, budget_tokens)
deb = evaluate(debate, model, task_sample, budget_tokens) # SAME budget
if deb <= base:
return "sample_and_vote", f"debate did not clear baseline ({deb} vs {base})"
return "debate", f"debate cleared baseline by {deb - base}"
# Correlated errors: n samples from one model is fewer than n independent votes.
# Mixing model families buys more diversity per sample than raising n.Their scaling results reframe the model-selection question. When the ensemble size reaches 15, Llama2-13B achieves accuracy comparable to Llama2-70B; at sizes of 15 and 20, Llama2-70B and GPT-3.5-Turbo become comparable to their more powerful counterparts. A cheap model sampled many times can substitute for an expensive model sampled once, which is a live architectural option whenever the aggregation step is reliable and the per-token price gap is wide.
The condition governing all of this is task difficulty relative to model capability. Li et al. find that relative performance gain grows as the gap between the model's ability and the task's difficulty widens: for Llama2-13B, GSM8K showed a 69% relative gain while MATH showed 200%. The practical reading is that ensembling and debate pay most when the model is near its competence limit, and pay least when the model already solves the task reliably, where extra samples merely reproduce the same correct answer at multiples of the cost.
Aggregation quality decides whether any of this works. Majority voting requires answers comparable for equality, which holds for arithmetic and multiple choice and fails for essays, code, and research summaries. Du et al. omit the majority-voting baseline on factuality tasks for exactly this reason. When outputs are open-ended the aggregation step becomes a judge, and every judge bias from the evaluation chapters applies, including position bias and verbosity preference.
This gives a usable decision rule. If answers admit exact comparison, start with sampling and voting, and require debate to beat it on a matched token budget before accepting the extra machinery. If answers are open-ended, the aggregator is a judge, so validate it against human labels before trusting any comparison it produces. And if the model already solves the task, spend the budget on retrieval or tools rather than on more samples of a decided answer.
| BENCHMARK | GAIN FROM SAMPLING AND VOTING ALONE | COMMUNICATION REQUIRED |
|---|---|---|
| GSM8K | 12% to 24% | None |
| MATH | 6% to 10% | None |
| MMLU | 5% to 11% | None |
| HumanEval | 4% to 9% | None |
| Chess | 1% to 4% | None |
One caution applies to correlated errors across all these methods. Sampling the same model at temperature produces candidates that share the model's systematic biases, so the effective number of independent votes is smaller than the nominal count. Du et al. investigated mixing different model types for this reason. Where budget allows, drawing candidates from different model families buys more genuine diversity per sample than drawing more candidates from one.
6.5Evaluating a Multi-Agent System
Evaluating a multi-agent system differs from evaluating a single agent in one structural way: the final answer no longer identifies where quality was won or lost. A correct output can come from a system in which three of five workers failed and the synthesizer happened to recover, and an incorrect output can come from a system in which every worker performed well and the synthesizer dropped a finding. End-to-end accuracy remains the metric that matters to users, but on its own it gives almost no signal about which component to change.
Per-boundary instrumentation is therefore the first requirement. Every message crossing an agent boundary should be logged with its brief, payload, token count, and latency, so a failed run can be attributed. Anthropic's team describes non-deterministic behavior as a core debugging obstacle and answered it with production tracing of decision patterns: when you cannot reproduce a run, you must capture it.
Anthropic's evaluation methodology is a workable three-layer template. They started with about 20 test cases representing real usage, on the reasoning that early-stage changes produce effects large enough to see without large samples. They then used an LLM judge scoring 0.0 to 1.0 against a rubric covering factual accuracy, citation accuracy, completeness, source quality, and tool efficiency, and kept humans in the loop for edge cases it missed, catching a preference for SEO-optimized content farms over authoritative academic sources.
That last detail is the argument for human review in miniature. A judge scoring source quality can be satisfied by sources that superficially match the rubric while being exactly wrong, and no rubric refinement finds a failure its author did not anticipate. Human review is how new failure modes enter the rubric, making it a generator of evaluation criteria rather than slower automated scoring.
| METRIC | WHAT IT CATCHES | SINGLE-AGENT ANALOGUE |
|---|---|---|
| End-to-end accuracy | User-visible quality | Same |
| Worker success rate | Bad briefs or underpowered worker models | None |
| Synthesis fidelity | Orchestrator dropping correct worker findings | None |
| Brief disjointness | Step Repetition, 13.2% of MAST failures | None |
| Messages per resolved task | Coordination overhead growing without benefit | Tool calls per task |
| Cost per resolved task | Economic failure that passes functional tests | Same, but multiplied ~15x over chat |
| pass@k vs pass^k | Reachability versus reliability under non-determinism | Same, usually a narrower gap |
Tool efficiency deserves comment as the multi-agent-specific criterion. A system reaching the right answer by dispatching thirty workers where three would do has failed against a cost budget while passing on accuracy, and at a roughly 15x token multiplier that distinction has direct financial consequences. Scoring efficiency alongside correctness puts the tradeoff inside the evaluation rather than in a cost review nobody runs.
Beyond the aggregate score, the metric set for a multi-agent system should include several quantities that do not exist for single agents. Worker success rate measures the fraction of subagent tasks completed against their brief. Synthesis fidelity measures whether findings that appeared in worker outputs survive into the final answer, which catches the orchestrator silently dropping results. Brief disjointness measures overlap among worker assignments, targeting the 13.2% of MAST failures attributed to step repetition. Message volume per resolved task detects coordination overhead growing without corresponding benefit.
from dataclasses import dataclass
@dataclass
class ArmResult:
accuracy: float
tokens: int
messages: int
worker_success_rate: float
synthesis_fidelity: float
mast_modes: dict # mode -> count, from the released annotator
@property
def cost_per_resolved(self) -> float:
return self.tokens / max(self.accuracy, 1e-9)
def evaluate_arms(tasks, budget_tokens, judge):
"""Anthropic: token usage explained 80% of BrowseComp performance variance.
An unmatched comparison mostly measures which arm spent more."""
arms = {
"single_parallel": run_single_agent_parallel_tools,
"sample_vote": run_sample_and_vote,
"multi_agent": run_orchestrator_workers,
}
return {name: score(fn, tasks, budget_tokens, judge) for name, fn in arms.items()}
# Judge rubric, following Anthropic's five dimensions, scored 0.0-1.0.
# tool_efficiency is the multi-agent-specific one: it makes the ~15x token
# multiplier visible inside the eval instead of in a cost review nobody runs.
RUBRIC = ["factual_accuracy", "citation_accuracy", "completeness",
"source_quality", "tool_efficiency"]
def report(results, k=5):
"""Never report a single-run number for a stochastic system."""
for name, r in results.items():
p = r.accuracy
print(f"{name:16} pass@{k}={1-(1-p)**k:.3f} pass^{k}={p**k:.3f} "
f"tokens={r.tokens} cost/resolved={r.cost_per_resolved:.0f}")
# A wide pass@k / pass^k gap means users meet a system that works
# sometimes -- often worse in practice than a lower, steadier score.
# Start at ~20 cases drawn from real usage, as Anthropic did: early changes
# have effects large enough to see without large samples. Grow the suite from
# human-reviewed failures, which is how genuinely new modes enter the rubric.MAST-mode tagging turns qualitative failure review into a distribution. The released LLM annotator, calibrated at kappa = 0.77 against human experts and validated at kappa = 0.79 on unseen systems, lets you label your own failed traces by mode and sort defenses by observed rate. A system whose failures concentrate in No or Incomplete Verification needs a verifier; a system whose failures concentrate in Step Repetition needs better decomposition. Without the tagging step, both present identically as the system is unreliable.
Non-determinism forces a change in how results are reported. A multi-agent system has more stochastic decision points than a single agent, so single-run numbers are close to meaningless. Report pass@k and pass^k rather than a bare accuracy figure: pass@k, the probability that at least one of k runs succeeds, describes the system's reachable performance, while pass^k, the probability that all k runs succeed, describes its reliability. The gap between them is the variance a user actually experiences, and multi-agent systems typically show a wider gap than single agents on the same task.
The comparison discipline discussed earlier belongs in the evaluation harness itself rather than in a one-off experiment. Every multi-agent evaluation should run three arms at matched total token budget: the single agent with parallel tool calls, sampling and voting, and the multi-agent system. Given that token spend explained 80% of BrowseComp performance variance in Anthropic's analysis, an unmatched comparison mostly measures which arm was allowed to spend more.
Error analysis should trace backward from failures to the earliest boundary at which the run was already doomed. A wrong final answer whose cause was a false premise in the orchestrator's plan is a planning bug, and improving worker prompts will not touch it. This backward attribution is what distinguishes multi-agent error analysis from single-agent error analysis, where the trace is linear and the first divergence is easier to spot.
| EVALUATION LAYER | ANTHROPIC'S PRACTICE | WHAT IT IS GOOD AT | WHAT IT MISSES |
|---|---|---|---|
| Small-scale suite | ~20 cases from real usage patterns | Fast iteration when effects are large | Small effects and rare modes |
| LLM judge with rubric | 0.0-1.0 over five named dimensions | Scale and consistency | Failures the rubric author did not anticipate |
| Human review | Edge cases, e.g. content farms preferred over academic sources | Discovering new criteria | Throughput and cost |
The evaluation should also cover the human-approval boundaries the system exposes. AutoGen treats human participation as one of the modes a conversable agent can operate in, and any system taking consequential actions needs those gates tested as deliberately as its accuracy: whether the gate fires on the cases it should, whether workers can route around it, and whether the orchestrator surfaces enough context for the human to make a real decision rather than rubber-stamping a summary.
Run an architecture ablation
Take a working multi-agent system and remove one policy at a time, holding the evaluation fixed. Report which removals leave quality unchanged. Any component whose removal costs nothing is a component you were paying for without benefit.