Multi-agent debate

Also known as: agent debate

On this page 7

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.

  1. Initialization: each agent receives the question and, optionally, a distinct role or persona.
  2. Independent answers: agents respond without seeing one another, which preserves diversity.
  3. Critique and revision: agents exchange responses and refine them over two to four rounds.
  4. 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.

ParameterTypical rangeEffect
Number of agents2 to 5More agents add diversity but raise cost linearly
Number of rounds2 to 4Gains usually flatten after a few rounds
Model diversitySame model or mixed modelsMixed models reduce shared blind spots
Communication topologyAll-to-all, chain or starSparser links cut tokens and slow conformity
Aggregation ruleVote, judge or consensusJudges help when answers are open-ended
Sampling temperatureModerate, around 0.7Higher values increase initial disagreement
Parameters of a multi-agent debate

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.

FormatStructureTypical use
Peer debateEqual agents revise answers togetherMath and factual question answering
Adversarial debateAgents argue fixed opposing positionsExposing weak arguments, AI safety research
Judge-moderated debateDebaters argue and a judge rulesOpen-ended evaluation and review
Role-based debateAgents act as domain experts or criticsDesign reviews and planning
Devil’s advocateOne agent always challenges the majorityCountering premature consensus
Common multi-agent debate formats

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.

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.

TechniqueAgents involvedMain mechanismRelative cost
Self-consistencyOne model, many samplesMajority vote without interactionModerate
ReflexionOne agentSelf-critique stored in memoryLow to moderate
Evaluator-optimizer patternGenerator and evaluatorFeedback loop on one draftModerate
Multi-agent debateSeveral interacting agentsMutual critique across roundsHigh
Debate versus neighboring approaches

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.