Magpie – I built a CLI where AIs argue about my code
Magpie – I built a CLI where AIs argue about my code
Hi HN, I built Magpie because I was tired of AI code reviewers being too "nice." Most AI tools just say "LGTM" or nitpick formatting. To fix this, Magpie uses an adversarial approach: it spawns two different AI agents (e.g., a Security Expert and a Performance Critic) and forces them to debate your changes. They don't just list bugs; they attack each other's arguments until they reach a consensus. This cuts down on hallucinations and lazy approvals. Features: Adversarial Debate: Watch Claude and GPT-4o fight over your code. Local & CI: Works on local files or GitHub PRs. Model Agnostic: Supports OpenAI, Anthropic, and Gemini. The Experiment: This is also an experiment in "coding without coding." I didn't write a single line of TypeScript for this project manually. The entire repo was built using Claude Code. I'd love to hear your feedback—especially if you manage to make the models get into an infinite argument. https://github.com/liliu-z/magpie
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Show HN: I Built a Podcast with Leading AIs
Where 5 frontier AIs argue and correct each other's errors
Scientific fluid code built with WebAssembly
AIs debating the same question – they disagree on everything
Boltzmann Machines in TensorFlow with Examples: RBM, DBM, AIS
AI Judges – 7 AIs Vote on Your Debates
Compare AIs in an instant
A CLI for HNSearch
CLI for Domainr
A CLI for Domai.nr