Multi-agent debate, also called agent debate, is a reasoning technique in which several language model agents propose answers, critique one another and revise their positions over multiple rounds before a final answer is chosen by consensus, voting or a judge. Within AI agents, it is one of the most studied ways to improve factual accuracy and multi-step reasoning without retraining the underlying model.
The technique draws on a simple observation: a single model often commits to its first line of reasoning, while exposure to competing arguments prompts it to detect mistakes. Debate turns that observation into a structured protocol, trading additional inference cost for answers that are more often correct and better justified.
How a multi-agent debate unfolds
A multi-agent debate runs as a sequence of rounds. In the first round, each agent answers the question independently. In each later round, every agent reads the other agents’ answers and reasoning, then updates or defends its own response. After a fixed number of rounds, or when answers converge, an aggregation step produces the result.
- Initialization: each agent receives the question and, optionally, a distinct role or persona.
- Independent answers: agents respond without seeing one another, which preserves diversity.
- Critique and revision: agents exchange responses and refine them over two to four rounds.
- Aggregation: a majority vote, a judge agent or a consensus rule selects the final answer.
The independence of the first round is important. If agents see each other too early, they tend to anchor on the first plausible answer, and the debate loses the diversity that gives it value.
Implementation is usually handled by an orchestration layer that manages turns, builds each agent’s prompt from the shared transcript and enforces stopping rules. The prompt for later rounds typically asks the agent to state whether it changes its answer and why, which makes revisions explicit and easier to audit. Recording the full transcript also supports agent observability, because reviewers can see which argument changed the outcome.
Key design parameters
The behavior of a debate depends on a small set of configurable parameters. Tuning them changes accuracy, cost and the risk of agents simply agreeing with each other. The table below summarizes the parameters practitioners adjust most often.
| Parameter | Typical range | Effect |
|---|---|---|
| Number of agents | 2 to 5 | More agents add diversity but raise cost linearly |
| Number of rounds | 2 to 4 | Gains usually flatten after a few rounds |
| Model diversity | Same model or mixed models | Mixed models reduce shared blind spots |
| Communication topology | All-to-all, chain or star | Sparser links cut tokens and slow conformity |
| Aggregation rule | Vote, judge or consensus | Judges help when answers are open-ended |
| Sampling temperature | Moderate, around 0.7 | Higher values increase initial disagreement |
Token cost grows roughly with agents multiplied by rounds, and in all-to-all topologies each agent also reads every peer response, so context length grows quickly. Summarizing peer answers between rounds is a common way to keep context windows manageable.
Debate formats and roles
Multi-agent debate is a family of formats rather than one protocol. The main distinction is whether agents are symmetric peers or hold assigned adversarial roles, and whether a separate judge decides the outcome.
| Format | Structure | Typical use |
|---|---|---|
| Peer debate | Equal agents revise answers together | Math and factual question answering |
| Adversarial debate | Agents argue fixed opposing positions | Exposing weak arguments, AI safety research |
| Judge-moderated debate | Debaters argue and a judge rules | Open-ended evaluation and review |
| Role-based debate | Agents act as domain experts or critics | Design reviews and planning |
| Devil’s advocate | One agent always challenges the majority | Countering premature consensus |
Adversarial debate has a specific place in AI safety research, where it is studied as a form of scalable oversight: a less capable judge, human or model, may evaluate arguments more reliably than it could solve the question alone.
How debate compares with related techniques
Debate overlaps with several other techniques that also spend extra inference to improve answers. Knowing the differences helps decide whether a debate is worth its cost for a given task.
| Technique | Agents involved | Main mechanism | Relative cost |
|---|---|---|---|
| Self-consistency | One model, many samples | Majority vote without interaction | Moderate |
| Reflexion | One agent | Self-critique stored in memory | Low to moderate |
| Evaluator-optimizer pattern | Generator and evaluator | Feedback loop on one draft | Moderate |
| Multi-agent debate | Several interacting agents | Mutual critique across rounds | High |
Studies report that a well-tuned self-consistency baseline with the same token budget sometimes matches debate. The decisive advantage of debate appears mainly when agents bring genuinely different knowledge, models or roles rather than repeated samples of the same reasoning.
Limitations and failure modes
Debate does not guarantee truth, and several systematic failure modes are well documented. The most important is conformity, where agents abandon correct answers because peers disagree confidently.
- Echo chamber effects: agents built on the same model share blind spots and reinforce errors.
- Persuasion over correctness: fluent, confident arguments can win against accurate but hesitant ones.
- Judge bias: model judges may favor longer answers or the position presented first.
- Cost and latency: a five-agent, three-round debate can need fifteen or more model calls.
Mitigations include mixing different base models, requiring agents to cite evidence or tool results, rotating answer order for judges and stopping early when agents agree. For tasks with verifiable answers, checking against a tool or test remains more reliable than any amount of argument.
Debate is therefore best reserved for ambiguous or high-stakes questions where errors are costly and no automatic verifier exists. For routine queries, a single well-prompted agent usually offers a better balance of quality and cost.
In plain words
Picture a group of students working on a hard math problem. Each one solves it alone first. Then they compare answers and explain their steps. Someone spots a mistake. Others change their minds. In the end, the group agrees on an answer that is more likely right.
Multi-agent debate does the same with AI programs. Several AI agents answer, then check each other’s work in a few rounds. It takes more time and computing power. In return, it often catches errors that one agent alone would miss.
A real-world example
A legal technology team builds a tool that flags risky clauses in supplier contracts. A single model missed roughly one in six problematic indemnity clauses during internal testing. The team introduces a three-agent debate: one agent acts as the buyer’s counsel, one as the supplier’s counsel and one as a neutral reviewer, each using a different language model.
In round one, each agent marks risky clauses independently. In rounds two and three, they challenge each other’s findings and must quote the exact contract wording to support every claim. A judge agent then compiles the final list. On the same test set, the debate setup caught most of the previously missed clauses, while cost per contract rose about fourfold. The team decided to run the debate only on high-value contracts, where the improved recall justified the extra cost.