Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.A committee is only wise if its members think differently
Asking five people instead of one helps when they make independent mistakes; asking five copies of the same person mostly repeats the same mistake five times. Multi-agent systems face the same issue: several instances of one model share its blind spots. Letting agents argue can help them correct each other, but can also make them all agree on a wrong answer. The demo shows how correlated errors shrink the benefit of more voters.
Multi-agent designs are popular for complex workflows (research, coding, operations), but each extra agent adds cost, latency and new ways to fail.
- 1. More agents help most when their errors are…
- 2. Copies of one model tend to…
- 3. Debate can produce…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Supervisor / orchestrator-worker: one agent plans and routes subtasks to specialist agents with their own tools and prompts; results come back to the supervisor.
- Pipeline / handoffs: agents pass work along a fixed sequence (draft → review → edit), with explicit handoff records.
- Voting / ensembles: several agents answer independently; majority or weighted vote. Diversity of models, prompts or retrieved context matters.
- Debate: agents read each other’s answers and revise over rounds (Du et al., 2023); can improve reasoning but also converge on errors.
- Critic / verifier: a second agent checks the first and triggers revision; useful when checking is easier than solving.
- Costs: calls and tokens grow with agents and rounds; context passing loses information; failures cascade.
- Failure modes: role confusion, infinite loops between agents, conformity, information lost in handoffs (Cemri et al., 2025).
- 1. A supervisor agent…
- 2. A critic is most useful when…
- 3. A multi-agent failure mode:
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.Building multi-agent workflows
Exercise 1.
- Majority vote with tie-breaking.
- Effective number of votes under correlation.
- A keyword supervisor router.
Practice.
- Frameworks: LangGraph, AutoGen, CrewAI, OpenAI Agents SDK handoffs, Claude Agent SDK subagents.
- Start with one agent and tools; add agents only when a measured failure calls for it (context overload, conflicting roles, parallelism).
- Give each agent a narrow role, its own tools and a clear output format.
- Diversify voters: different models, prompts or retrieved evidence.
- Log every message; cap rounds and total cost.
from langgraph.graph import StateGraph, END
g = StateGraph(dict)
g.add_node("supervisor", supervisor); g.add_node("analyst", analyst); g.add_node("writer", writer)
g.add_conditional_edges("supervisor", lambda s: s["next"], {"analyst": "analyst", "writer": "writer", "done": END})
g.add_edge("analyst", "supervisor"); g.add_edge("writer", "supervisor")
g.set_entry_point("supervisor"); app = g.compile()- 1. A multi-agent framework:
- 2. Add agents when…
- 3. Diversify voters by…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Condorcet and correlation. With n independent voters of accuracy p > 0.5 on a binary question, majority accuracy rises towards 1 as n grows. With pairwise error correlation ρ, n votes are worth about n / (1 + (n − 1)ρ) independent ones; at ρ = 0.7, five votes are worth 1.3.
Debate dynamics. If agents move towards the others’ majority, wrong agents can be corrected when the majority is right, but right agents can be overruled when it is wrong. Debate increases agreement; accuracy improves only if correct answers are more persuasive than wrong ones by enough to outweigh conformity, and the final vote already captured most of the majority’s information.
Critics. One round of critique-and-resample gives a·(1 − f) + a·f·p + (1 − a)·d·p, with detection d and false alarms f. Gains need d well above f; a critic sharing the worker’s blind spots has low d on exactly the hard cases.
- 1. Five votes at ρ = 0.7 are worth about…
- 2. Debate reliably increases…
- 3. A critic helps when…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.Do several agents beat one, and do debate and critics add accuracy beyond simple voting?
History.
- Q. Wu et al., “AutoGen: enabling next-gen LLM applications via multi-agent conversation” (2023).
- Y. Du et al., “Improving factuality and reasoning in language models through multiagent debate” (2023).
- Anthropic, “How we built our multi-agent research system” (2025); M. Cemri et al., “Why do multi-agent LLM systems fail?” (2025).
Exercise 2. 1500 four-option questions with shared difficulty; three models (A slightly stronger) each with their own blind spots; samples add noise; wrong answers favour a trap option.
- Debate: 2 rounds; an agent switches to the others’ majority with probability 0.6 if that majority is right and 0.3 if it is wrong.
- Critic: flags wrong answers with probability 0.6 and right ones with 0.1; flagged answers are resampled, up to 2 rounds.
| system | accuracy | model calls |
|---|---|---|
| one agent (A) | 0.803 | 1 |
| 5 votes, model A only | 0.830 | 5 |
| 5 votes, models A, A, B, B, C | 0.848 | 5 |
| debate, 2 rounds, then vote | 0.853 | 15 |
| critic + resample | 0.843 | 3.4 |
- Correlated errors: two samples of A had error correlation 0.725; A and B 0.449. Same-model voting gained 2.7 points.
- Mixed models added 1.8 points more at the same cost.
- Debate matched voting (within a point on all seeds) at three times the calls, while unanimity rose from 0.61 to 0.82: agreement grew more than accuracy.
- The critic got most of voting’s gain with fewer calls.
- Seeds 1 and 2: mixed vote 0.856 and 0.870, debate 0.857 and 0.867, single 0.819 and 0.829; the mixed-over-same gain was 0.7 and 1.7 points.
- Caveat: persuasion and critic rates are assumptions; real debate gains depend on the task and on how arguments are presented.
Multi-agent systems in AI, robotics and aerospace
- Multi-robot teams: task allocation and coordination are genuine multi-agent problems; language-model agents add negotiation and planning layers.
- Engineering reviews: independent checks by differently built tools catch more errors than repeated checks by one; the same applies to model reviewers.
- Research assistants: parallel sub-agents explore sources and a lead agent synthesises, trading tokens for breadth.
References
- Q. Wu et al. (2023). “AutoGen: enabling next-gen LLM applications via multi-agent conversation.” arXiv:2308.08155.
- Y. Du, S. Li, A. Torralba, J. B. Tenenbaum and I. Mordatch (2024). “Improving factuality and reasoning in language models through multiagent debate.” ICML.
- M. Cemri et al. (2025). “Why do multi-agent LLM systems fail?” arXiv:2503.13657.
- Anthropic (2025). “How we built our multi-agent research system.” Engineering blog.