Frontier Foundry

AI Code Review

The Factory District · AI Coding & Software Factories

Models reviewing pull requests and catching bugs before merge.

Also called: code review agent, automated code review, review bot, pr review. In the glossary.

How it works, as a machineThe Copy Desk · pull requests

Follow one pull request from an agent's push to a signed merge, in a newspaper copy desk with a proof press beside it.

  1. Weigh the diff
  2. Pull the context
  3. Mark the bugs
  4. Sign the approval
  5. Merge to main
Play AI Code Review

AI Code Review in plain words

AI code review has a model read every proposed change and flag bugs before it is merged. It runs on each change within minutes, so review keeps pace when agents write far more code than people can read. People then look only at the risky changes that it routes to them.

An analogy

A proofreader at a newspaper who sees every page before the press runs. Routine typos get fixed on the spot, and only a story that could get the paper sued is carried upstairs to the editor. Without the proofreader, the editor's desk is where every page piles up.

How AI Code Review connects

6 typed relations in the knowledge graph

Builds on

  • Coding Agents: The coding agent that wrote the diff picks up the comments the sieve keeps, and fixes them.
  • Software Factory: The signed, merged change is one gate in a software factory's line to main.

Built on by

  • AI Slop: The reading lectern is where review happens once the brakes have run.
  • Coding Agents: The review agent with product history reads the diff before the person does.
  • Software Factory: A review agent with its own context, a different model, and standards the implementer never reads.

Guards against

  • AI Slop: A second reader, human or model, is where plausible and wrong gets caught.

See AI Code Review in the knowledge graph

Who is behind AI Code Review

people, labs, products and models

Named in its facts

What the sources say

3 parts · 10 sources · updated 2026-11-27

AI code review has a model read each proposed change before merge and flag bugs, so that review keeps pace when agents write more code than people can read. The sources agree that raw volume of comments is the failure: nitpicks and false positives get ignored or acted on blindly, so teams weigh the change, add context, cut the comments, and spend scarce human attention on the risky ones.

Where the diff arrives and what is pulled for it

A pull request opens and the review starts before any model reads a line. Plain code weighs the change and decides how deep the review goes, then pulls the codebase, tickets and rules the diff needs, so the reviewer sees more than the changed lines.

  1. The risk scale weighs the diff before a model reads it and sets how deep the review goes.
  2. The clippings drawers hand the reviewer the code map, tickets and house rules the diff touches.
10,000 or more repositories
How many repositories a Qodo customer environment can span, so a local change can break a downstream service; reported by OpenAI's write-up of Qodo's CEO OpenAI
  • Uber's review service takes the risk profile and complexity of a change into account when it decides how a review runs: not all code gets the same review. Will Bond
  • In Flywire's code-review workflow, plain deterministic steps run before any model: they fetch the merge request metadata, classify its risk tier, load prior findings and clone the repository. Eduardo Simon
  • The ReviewDebt score is computed with no language model: ten deterministic checks in five signal families, because an LLM judge makes the score a moving target that cannot be defended in an engineering review. Sachin Gupta

How the review is made and the comments are cut down

A review agent reads the diff with the context it was handed and marks what looks wrong. Left alone it marks too much, so a second step rates, dedupes and drops low-confidence marks before a person sees them.

  1. The proofreader's desk reads the diff for a short list of bug types and marks what it finds.
  2. The comment sieve rates, dedupes and drops low-confidence marks, and sends the rest back to the desk.
$3 to $25 per pull request
What teams that built their own review on coding agents saw it cost per pull request; reported by Greptile's co-founder Daksh Gupta
+10% bug catch
Higher catch rate Greptile reports when a different model family reviews than the one that wrote the code Daksh Gupta
up to 44%
Gain in review quality a Peking University team reported from running several review passes and keeping what they agree on; as told in a conference talk Laurie Voss
1 in 1,000
Share of pull requests Greptile's own data science finds to hold a generally catastrophic bug, so a missed one stays hidden for a long time Daksh Gupta
costs down 60%
Fall in Uber's review cost against a naive implementation after it added evals and agent traces, reported by Uber Ameya Ketkar
  • The baseline review agent is a sandboxed coding agent wired to a pull request webhook that posts its feedback through the GitHub review APIs; feedback arrives about five minutes after the pull request opens. Daksh Gupta
  • The first fix is the prompt: ask for specific bug types, drawn from the outages and incidents a codebase has actually had, and tell the agent exactly what a nitpick is and not to raise one. Daksh Gupta
  • To tune a reviewer, keep a dataset of historical pull requests that caused incidents and run each version of the agent over it; the set must keep updating because coding agents begin to make new kinds of mistakes. Daksh Gupta

When it breaksThe review that cried wolf and wrecked the code. A review agent that comments on every technically-correct nitpick buries the few comments that matter, so people stop reading. Coding agents then pick up the same comments from GitHub and resolve all of them without judgment, and the codebase fills with defensive code. Daksh Gupta

Open questionShould a team build its own review agent or buy one?

  • Build your own: a generic review skill is either too general and full of false positives or too specific; grow your standards and share them across the team. Matt Pocock
  • A vendor that reviews many codebases picks the right model and budget for each subtask and gets more performance per dollar than an internal tool could. Daksh Gupta

Who signs the change off and what comes back

The comments that survive reach a person, whose reading is the scarcest step: a reviewer stops finding defects after a few hundred lines. Teams spend that attention on risky, hard-to-reverse changes, let low-risk ones merge on rules, and feed what people accept back into the rules.

  1. The editor's stamp desk gets only what the sieve kept; a person signs off the risky changes.
  2. The merge press lands the signed change on main and sends what people accepted back to the rules.
400 lines per sitting
Where reviewers stop finding defects effectively, in a Cisco study of 2,500 reviews and 3.2 million lines; reviewers fall off a cliff past about 450 lines an hour; as told in a conference talk Laurie Voss
741% more code, 30% more shipped
Gain in code written versus software shipped for developers who turned on autonomous agents, in a study of 100,000 GitHub developers cited in a talk Laurie Voss
3 hours to 9 hours
How long Uber engineers waited for a first review, 2024 against 2026, as pull request volume and size grew Will Bond
2,500 to 30,000 per day
Code changes merged per day at Anthropic, May against September 2026 Anthropic
52% to over 70%
Cursor's resolution rate for review findings after rebuilding its reviewer, as told in a conference talk Laurie Voss
88% fooled, 35% passed
How often vulnerable code dressed in an innocent commit message fooled an autonomous review agent, against how often it passed a human reviewer, in a study cited in a talk Laurie Voss
  • At that review pace a 10,000-line agent pull request would take three or four working days to get a real human review. Laurie Voss
  • Teams furthest along in AI adoption see median pull request review time up 441.5%, and more pull requests now merge with no review at all. Sachin Gupta
  • Pocock splits changes into one-way and two-way doors: a change that loses data, runs an expensive migration or mails 60,000 people is a one-way door and gets the closest review; a two-way door can be reverted and gets a light one. Matt Pocock

When it breaksSix months of not reading the code. A practitioner told teams for six months not to read agent code and just ship. In March he took it back on stage: the team had to rip out and replace large parts of that system. Laurie Voss

Open questionDoes a person still need to read the change before it merges?

  • Review can move agent to agent: in one internal OpenAI build humans may review pull requests but are not required to, and almost all review effort was pushed to agents. Laurie Voss
  • The human checkpoint moves up the stack but survives, where correctness is not cheap to check and the blast radius is large; reviewing the reviewer is still a human job. Laurie Voss

Sources

10 in all

More in AI Coding & Software Factories

The Factory District: the whole area
  • Coding AgentsAgents that read, write, run and test code in a repo (Claude Code, Codex, Cursor agents).
  • Software FactoryRunning many coding agents as a production line: specs in, verified software out, humans as supervisors.
  • Vibe CodingBuilding software by prompting and accepting AI output without reading the code closely.
  • Spec-Driven DevelopmentWriting precise specs (and tests) first so agents can implement and verify against them.
  • Parallel AgentsRunning many agent sessions at once (worktrees, cloud sandboxes) on separate tasks.
  • Verification Loops & BackpressureTests, type checks, linters and judges that push back on agent output so it self-corrects.
  • Ralph LoopRunning the same agent prompt in a loop until the spec is done.
  • AI SlopLow-quality AI output that looks plausible and costs others time to clean up.