cs.AIAug 16, 2026

Adversarial Review: Structured Disagreement for Grounded Agentic Code Review

Authors: Eric S. Qiu, Joyce Gill

Organizations: Cornell University · Stanford University

Abstract

Early multi-agent LLM systems often used role-separated teams, yet scaling agent count yields diminishing returns on repository-level coding tasks. Recent alternatives treat agents as passive tools (subagents), yet this removes the benefits of agent interaction entirely. We study whether a subagent paradigm can support a middle ground: minimal agentic cooperation without the overhead of large multi-agent teams. We introduce Adversarial Review (AR), a minimal cooperative code-review protocol in which a main coding agent works with a reviewer and a critic agent. The reviewer evaluates code, while the critic audits the review through structured disagreement before the main agent edits. On LiveCodeBench, AR achieves the highest pass rate among tested methods, outperforming a five-agent baseline while using only three agents. On SWE-PRBench, naive AR exposes a false-consensus failure mode, where agents converge on agreement without sufficient evidence, but a single prompt iteration that adds disagreement explicitly achieves the highest F1 among tested methods. On SWE-bench Verified, AR also shows improvements over the baselines on repository-level coding tasks. Together, AR demonstrates that cooperative code review does not require many agents or complex communication structures: it requires that disagreement be minimal, structured, and evidence-grounded.

Figures & tables

Explore similar work

CardsList
  1. CR-Bench: Evaluating the Real-World Utility of AI Code Review Agents

    Mar 10, 2026Kristen Pereira, Neelabh Sinha, Rajat Ghosh +1Automated Code ReviewAI Agent Evaluation

  2. Code Review Agent Benchmark

    Mar 24, 2026Yuntong Zhang, Zhiyuan Pan, Imam Nur Bani Yusuf +3Automated Code ReviewSoftware Engineering Benchmarks

  3. Is Agentic Code Review Helpful? Mining Developers' Feedback to CodeRabbit Reviews in the Wild

    Jul 3, 2026Hong Yi Lin, Mingzhao Liang, Kla Tantithamthavorn +1Automated Code Review