Let AI reviewers argue with the coding agent: Diffo automates 3-round code review
shetritr · reddit · 2026-12-03
A Reddit user shared a code review workflow where AI reviewers debate the agent that wrote the code, and open-sourced it as Diffo (Apache-2.0, diffo.io/demo), itself written by Claude Code.
Key design:
- Fixed brief: reviewers only flag what would change what ships, and only with showable evidence (name the failing input/caller, run a test if it settles it). "Nothing to raise" is a complete review.
- Format limits: one finding per thread, 2-4 sentences, no praise, nothing a linter or type checker already catches.
- Adversarial loop: the reviewer talks to the author agent in-thread; reviewer message + author answer = one round, 3 rounds max, then a human decides. Escalation is reserved for product behavior, trade-offs, and risk calls.
- Lesson learned: a reviewer ran git add -N . and git reset, leaving 80 files staged — reviewers are now told the checkout is read-only, git included.
- Claude Code starts each of 17 built-in reviewer focuses as background sub-agents.
The author argues 3 rounds suffice: two agents still disagreeing at round 3 won't converge at round 10.
Related event: Developer Open-Sources Diffo, an AI Code Review Tool With Debating Agents(2 posts)→
More from coding & agent
- When a Payment Agent Loses Spending Access, Can It Still Tell You If You Paid? — tallmetommy · 2026-12-03
- MCXL: an open-source markup language for video, like HTML designed for editors — Vjeux · 2026-12-03
- Forma rewrites Blender in Rust at 1.2MB — 77x faster, built for AI agents — anselm · 2026-12-03
- Braintrust Patterns now connects external observability sources via Loop and MCP — indragie · 2026-12-03
- Dev insight: agents need searchable access to many files, fast access to few — tobowers · 2026-12-03
- Dev urges coding Advent of Code without AI to fight skill rot — faisal_sayed05 · 2026-12-03