06. Multi-Agent Systems
Debate-Based Agents and Conflict Resolution
Debate-based agents argue structured positions — propose, critique, rebut — to surface better options. Conflict resolution is the explicit rule that ends the argument: judge, vote, rubric, tests, or human escalate. Without a decision rule and round budget, multi-agent debate becomes expensive chat.
What you will learn
- Define debate-based multi-agent setups clearly
- Design a propose → critique → rebut → decide loop
- Choose conflict-resolution methods (judge, vote, rubric, tests)
- Cap rounds and escalate ties/risk safely
- Answer interview questions with short, solid answers
Definition
Debate-based agents are multi-agent setups where at least two roles take opposing or complementary stances on a candidate answer, plan, or artifact, exchanging structured arguments (claims + evidence + risks) across capped rounds.
Conflict resolution is the mechanism that terminates disagreement: a judge agent, vote, scored rubric, objective tests, priority rules, or human escalation. Debate without resolution is not a product pattern — it is a cost leak.
Introduction
This lesson (#7 in Multi-Agent Systems) follows Specialized Agents. Reviewer gates are a light form of critique; debate adds adversarial or multi-perspective turns before a decision.
Next: Hierarchical Multi-Agent Systems — when disagreements escalate up an org tree.
Why debate (and when not to)
- Surfaces flaws a single agent misses
- Useful for high-stakes plans, designs, or ambiguous answers
- Skip when tests already decide, or latency/cost budgets are tight
- Skip when roles lack evidence tools and only invent rhetoric
Debate loop
Keep turns typed. “I disagree” without flaws, evidence, or an alternative is not a useful critique.
- Propose - candidate solution + rationale + evidence refs
- Critique - flaws, risks, missing checks, counter-evidence
- Rebut / revise - update candidate or defend with new evidence
- Decide - apply the resolution rule
- Stop - max rounds, token budget, or diminishing score gains
Roles in a debate crew
- Proposer - builds the candidate
- Critic / devil’s advocate - attacks weaknesses
- Optional second critic - independent perspective
- Judge - applies rubric; ideally not the proposer
- Moderator/runtime - enforces turn order and budgets
Conflict resolution methods
Declare the method in the protocol before the first propose. Changing rules mid-debate invites gaming.
- Judge - neutral agent picks using a rubric
- Vote - majority or weighted; define tie-break
- Rubric score - highest total / must-pass checklist
- Tests / metrics - objective pass/fail when the domain allows
- Human escalate - high risk, ethics, or unresolved ties
Protocol checklist
- Allowed speakers and turn order
- Argument schema (claim, evidence, risk, alternative)
- Resolution method + tie-break
- Max rounds and cost budget
- What gets logged for audit (final + dissenting views)
Failure modes
- Chat storms - uncapped rebuttals; always cap rounds
- Agreeable critics - same model rubber-stamps; diversify prompts/tools
- Rhetoric without evidence - require source or test refs
- Moving goalposts - changing rubric mid-debate
- Unsafe auto-resolve - shipping high-risk ties without human review
Program / implementation notes
Implement DebateState { round, candidate, critiques[], scores, budget }. Resolution is a pure function over that state — not another free-form chat.
- Related: Evaluator-Optimizer and Reviewer specialties use lighter critique loops
- Next: Hierarchical Multi-Agent Systems
Advantages and limitations
- Advantage: higher quality on ambiguous or high-stakes tasks
- Advantage: explicit dissent trail for audits
- Advantage: composes with research/coding/reviewer roles
- Limitation: multiplies tokens and latency
- Limitation: weak evidence tools produce confident nonsense
- Limitation: overuse on simple tasks wastes budget
Key points
- Debate explores options with structured argue/critique turns.
- Conflict resolution is a predeclared decide rule (judge/vote/rubric/tests/human).
- Cap rounds and require evidence in critiques.
- Keep the judge separate from the proposer when possible.
- Prefer objective tests when they fit the domain.
- Escalate ties and high-risk decisions to humans.
FAQs
Is multi-agent debate the same as chain-of-thought?
No. CoT is one model reasoning. Debate uses multiple roles exchanging critiques under a protocol, then a resolution rule.
How is this different from a reviewer agent?
A reviewer often does one gate pass. Debate allows multi-round adversarial exchange before the gate/decision.
What if the vote ties?
Use a predeclared tie-break: judge casting vote, rubric score, prefer status quo, or escalate to a human.
Should debating agents share the same tools?
Often yes for fairness on evidence. Sometimes the critic gets extra read-only audit tools — declare that in the protocol.
Interview questions
- What are debate-based agents?
Answer Multi-agent roles that exchange structured arguments on a candidate across capped rounds to improve or stress-test options.
- What is conflict resolution in this context?
Answer The explicit rule that ends disagreement — judge, vote, rubric, tests, or human escalate — so debate cannot run forever.
- Outline a minimal debate loop.
Answer Propose → critique → rebut/revise → decide, with max rounds and a typed argument schema.
- Name resolution methods.
Answer Judge agent, majority/weighted vote, rubric scoring, objective tests/metrics, and human escalation.
- How do you prevent endless agent arguments?
Answer Hard round and token caps, diminishing-return stops, and mandatory resolution or escalate when the budget ends.
- When should you avoid debate patterns?
Answer When objective tests already decide, stakes are low, or latency/cost cannot afford multi-round critique.
Related topics
Practice task
Complete each numbered practice step in a notebook or doc before opening the next lesson.
- Design a 2-critic debate for “choose a database for a new service”; list each role’s job.
- Write the argument schema fields (claim, evidence, risk, alternative).
- Pick a resolution method and a tie-break rule.
- Set max rounds = 3 and define what happens if still unresolved.
- Answer interview questions 1, 2, and 5 in two sentences each.