Council / Debate
Also known as: multi-agent debate, LLM council, mixture-of-agents
- Who decides
- Code
- Shape
- Fan-out
Intent
Ask several different agents the same question, let each answer on its own, then have them read and critique each other’s answers before a vote or a chair decides. The defining step is that members see each other’s work before the decision; if they never do, it is plain voting.
Problem
A team builds an assistant that answers one question about each pull request: “Is this safe to merge?” PR #482 adds a CSV export endpoint to the reporting service, and the new route skips the auth middleware.
One strong model gets most of these reviews right, but its wrong “looks good” reads exactly like its right ones. The obvious fix is to send the same prompt to the same model five times and take the majority. All five runs say merge. Three things go wrong:
- The blind spot is shared. Sampling one model several times smooths out random mistakes, not systematic ones. If the model does not notice the missing auth check once, it tends not to notice it five times.
- Agreement looks like confidence. Five matching verdicts suggest a safe call. Nothing tells you this PR was a coin flip that a person should look at.
- Asking again defends the first answer. Telling the same model to re-check its approval mostly gets the approval back, with fresh reasons.
Solution
Ask members that fail in different ways, keep their first answers independent, then make the answers meet before anyone decides. For the pull request, the members are a security reviewer, a correctness reviewer and a skeptic, each on a different model family of similar strength. Your code fixes the members, the rounds and the decision rule; the models write only the answers, critiques and synthesis.
- Answer alone. The question and the diff go to the three members in parallel. None sees another’s answer yet, because independence is what produces different answers. Each ends with a line code can read, such as
ANSWER: mergeorANSWER: block. - Anonymize. Your code relabels the answers “Response A”, “Response B” and “Response C”, and shuffles their order for each reader, so no member can favour a model by name or by position.
- Review each other. Each member reads the others’ answers, critiques them and ranks them. The security reviewer writes: “Response B approves, but the new
/exportroute is registered outside the auth middleware.” The skeptic, which had said merge, changes its verdict and names that flaw as the reason. - Decide. A majority vote in code picks the verdict, block, and a chair model writes the explanation from the answers and reviews. The chair is told to weigh arguments rather than count heads, and to list what is still disputed.
- Report agreement. The result says two of three members blocked after review, with the correctness reviewer still approving. Below your agreement threshold, the PR goes to a person.
The nearest pattern is voting in Parallelization: the same fan-outFan-out Starting several tasks at once from one point, each running in parallel. Fan-in is the step that collects their results., but the samples stay independent and are only counted, while a council adds the step where members read each other.
Structure
Hover over a number, or tap it, to read what it is.
- Members. Agents that answer the same question in parallel, with no shared context. They help only if they fail differently: different model families of similar strength first, otherwise different roles or evidence.
- Peer review. Your code anonymizes and shuffles the answers, then each member critiques and ranks the others or revises its own answer. An optional loop runs one or two more debate rounds.
- Chair. Code that counts votes or ranks, a model that picks the best-argued answer, or a model that writes a new answer from everything it read.
- Final answer. The decision, with the share of members who agreed and the minority position, so a reader knows how settled it is.
- Human review. When agreement falls below a threshold you set, the case goes to a person instead of being answered.
Use it when / Avoid it when
Use it when
- You have several strong models from different families. Their errors overlap less, and that difference is the only source of gain.
- The output is open-ended. For analysis or advice there is nothing to vote on, and a chair that synthesizes several drafts can beat any one of them.
- Disagreement is useful output. You want to know which cases to send to a person, and a wrong answer costs far more than a few extra calls.
- You are grading other outputs. A panel of judges from different families carries less of one model’s bias than a single judge.
Avoid it when
- The answer is a closed label and you have one model. Use voting in Parallelization: when Huang et al. gave self-consistencySelf-consistency Sample the same prompt several times and keep the most frequent answer (Wang et al., 2022). The samples never see each other. the same nine responses as debate on GSM8K, it scored 88.2 against 83.0.
- A grounded checker exists. Use Evaluator–Optimizer with your tests, compiler or schema, which beat any panel’s opinion.
- You have not tried a good single prompt. Use a single call with examples first; it often matches a multi-agent discussion.
- Latency matters. Use a single call or plain voting: every round, review and chair step waits for the slowest member.
How it fails
- Herding
-
Members drop correct answers to join the majority, and accuracy falls from the first answers to the last round.
Mitigation: tell members to change only on a named flaw or a checkable fact, keep the first answers, and cap rounds at one or two.
- One opinion, paid for three times
-
Members on the same model with the same prompt agree at once, so the review stage has nothing to work with.
Mitigation: get real diversity in models or evidence, or skip the debate and vote.
- A weak member drags the group down
-
A weaker model’s confident wrong answer persuades the stronger members.
Mitigation: choose members of similar strength, and drop any member that lowers scores on your test set.
- The chair flattens or invents
-
The synthesis turns a real disagreement into a confident answer, or adds claims no member made.
Mitigation: require a list of open disagreements, and keep the vote’s result next to the synthesis so code can flag a mismatch.
Related patterns
- Parallelization: the first stage of a council is a parallel fan-out, and voting at the same cost is the baseline a council has to beat.
- Evaluator–Optimizer: one generator and one critic in a loop; a council replaces the single critic with peers who critique each other.
- Group Chat: open turn-taking chosen by a selector, while a council has fixed rounds, independent first answers and an explicit decision rule.
- Human-in-the-Loop: the agreement level is a natural trigger for sending a case to a person.
Try it
Describe the question, the members and how they review each other. The generator writes a protocol for your code plus one prompt per kind of call: member, review and chair.
Open the generator on this pattern
Further reading
- Improving Factuality and Reasoning in Language Models through Multiagent Debate (Du et al., 2023): the paper that popularized debate in rounds, with its prompts.
- Debate or Vote: Which Yields Better Decisions in Multi-Agent Large Language Models? (Choi, Zhu and Li, 2025): a controlled comparison of debate with majority voting.
- karpathy/llm-council (Andrej Karpathy, 2025): a short, readable implementation of answers, anonymized ranking and a chair.