I've sat in enough review queues to know what it looks like when a team can't keep up: PRs stack up faster than anyone can get through them, reviewers start skimming instead of reading, and "looks good to me" starts meaning "nothing obviously broke" instead of "I checked what this actually does."
That was already a problem before coding agents. It's a much bigger one now. When a growing share of a codebase is written by agents that can produce a thousand lines in minutes, the PR queue isn't a bottleneck anymore, it's a wall. Reviewing AI-generated code the same way you reviewed human-written code, at the same stage in the process, doesn't scale to that pace. The review has to happen earlier, or it doesn't really happen at all.
Key takeaways
- AI coding agents increased how much code gets written, but review capacity didn't increase with it, so the bottleneck moved from writing code to reviewing it.
- Agents work without the organizational context a human engineer has, so a PR gate is the first and only place that context gets checked, which is too late to catch it cheaply.
- A rules document in the repo is guidance, not enforcement. Nothing confirms an agent followed it before the PR arrived.
- Qodo's Agentic Toolbox moves review into the coding session itself, using Local Review and Finding Resolver to catch and fix issues before a pull request exists.
- The goal is to make sure what reaches a human reviewer is already clean, so their time goes to judgment calls instead of catching what an agent should have caught itself.
Why AI Coding Agents Moved the Bottleneck From Writing Code to Reviewing It
Coding agents write code fast, but they work in isolation. A human engineer writing the same change draws on the codebase's history, its conventions, and an intuitive sense of what else touches the code being changed. An agent starts from the prompt and whatever files it opens, with none of that accumulated context.
That difference used to be absorbed by the review process. A human reviewer would catch a missed dependency, flag an inconsistency with team conventions, or ask why a change touched a shared service. That worked when the volume of code moving through review was still human-paced.
It stops working once agents are producing a large share of the codebase. The review process wasn't built for that volume, and the mental load of catching everything an agent missed now sits entirely with the humans doing review, at the exact moment they have the least time to do it carefully.
What Makes Post-PR Review Too Slow for Agent-Written Code
Reviewing at the PR stage assumes review is the first checkpoint where context, standards, and quality actually get evaluated. For agent-written code, that assumption breaks down in three specific ways.
There's no context earlier in the process. Without visibility into cross-repo coupling, dependency graphs, or past PR history, an agent guesses at what a change will affect. The PR is often the first point where anyone, human or otherwise, actually checks whether that guess was right.
A pre-merge gate can't keep pace with agent velocity. A single reviewer or review process built around human commit rates cannot absorb agent-scale output without becoming the queue everything backs up behind. By the time a PR is reviewed, the agent has often already moved on to three more.
Guidance isn't enforcement. A
rules.mdfile in the repo is best-effort. Nothing stops an agent from missing it, misreading it, or applying it inconsistently, and nothing confirms it was followed until a human happens to notice a violation in review, if they catch it at all.
Put together, these three gaps mean the PR isn't really a checkpoint anymore. It's the first time anyone finds out whether the code was right, which is a very expensive place to find out.
What Reviewing Code Before the PR Looks Like Instead
The fix is about moving the checks that used to happen at the PR into the coding session, before the PR exists.
This has three parts:
Context-aware agents. Coding agents write within the bounds of organizational knowledge and team rules from the first line, instead of guessing and getting corrected later.
Agent-to-agent review. An independent review agent checks the change and helps resolve issues before a human ever opens the PR, acting as an adversarial check rather than a second author.
Human judgment, applied where it matters. People see the risks and decisions the agents couldn't settle themselves, instead of re-deriving context an agent already had access to.
The result: cleaner PRs, shorter cycle times, and review that becomes oversight of what genuinely needs a person's judgment, as opposed to line-by-line inspection of everything an agent produced.
How Qodo's Agentic Toolbox Moves Review Before the PR
Qodo's Agentic Toolbox is how coding agents use Qodo. It's a set of skills that agents call while planning, writing, and reviewing code, exactly at the point where the gaps above show up, and it works alongside the coding agents teams already use, including Claude Code, Codex, and Kiro.
Two skills in the toolbox map directly onto moving review earlier:
Local Review runs Qodo's PR review engine against the local diff, on committed and uncommitted changes, before a pull request exists. It's the same review logic that would normally run at the PR, just running at the point where a fix is still cheap.
Finding Resolver takes the findings from that review and drives them to fixes in place, without the agent leaving the coding session. Issues get fixed or explicitly skipped with a reason, not silently carried into the PR.
An example of this workflow: an agent runs Local Review on a change to a payments write path and gets back three findings, an unbounded retry loop, a missing idempotency key, and a log line leaking request data. Finding Resolver fixes the retry loop and adds the idempotency key, then skips the log finding with a note that log redaction is owned by the platform team. The PR that eventually opens already reflects two fixes and one documented decision, instead of three unreviewed issues.
What Changes for Developers and Engineering Leaders
Moving review earlier changes the question each role is actually trying to answer.
Developers get feedback while they still have the context to act on it in seconds, not after switching back into a PR they wrote an hour ago.
Engineering leaders get consistency: the same standards enforced across every agent on the team by default, instead of standards that only hold up when a diligent reviewer happens to catch a violation.
Frequently asked questions
- Why can't a faster PR review process solve this instead of moving review earlier?
Faster review still happens after the code is written, so it doesn't give the agent context before it writes the code, and it still puts all of the volume through one checkpoint. Moving review into the coding session catches issues at the point where fixing them costs a few keystrokes instead of a review round-trip.
- Does reviewing code before the PR require switching coding agents?
No. Qodo's Agentic Toolbox is designed to work alongside the coding agents teams already use, including Claude Code, Codex, and Kiro, through plugins, CLI, or MCP.

Top comments (0)