Last September, on a Friday at my previous company, our count of PRs waiting to be merged hit 47. Of our two senior developers — the de facto review authorities on the team — one was on leave and the other was wrestling with a critical production release. The juniors' code sat waiting, and the longer it waited the staler the branches got and the more conflicts piled up, and resolving those conflicts created new review load. The classic vicious circle. That day I wrote this on the whiteboard: "Code review can't be left to the spare time of the two most expensive people on the team." Our move to AI-assisted review started with that sentence; where we've ended up today is, I'll admit, both better than and different from what I originally expected.
First attempt: a robot that reads everything and understands nothing
Our first setup was naive: every time a PR was opened, a model would read the diff and leave comments. Within two weeks, the team started ignoring the comments. That's because the agent could see the diff but not the project; generic advice like "add a docstring to this function," suggestions that contradicted our conventions, even comments proposing to rewrite a helper that already existed in the project... The noise drowned out the signal. In code review, once trust is lost, even the correct comments stop getting read.
The turning point was moving the review from the diff to the context. We connected the agent to three sources over MCP: the codebase itself (not just the diff, but the actual definition of every function being called), our written engineering standards and — the most valuable, in my opinion — our archive of past review comments. Now the agent answers not "what does good code look like in general" but "what does good code look like on this team." If a human corrected the same mistake in a PR comment back in 2024, the agent cites that comment as precedent today.
Let me say a bit more about the value of the past-comment archive among these context sources, because most teams skip this part. The thousands of comments senior engineers have left on PRs over the years are, in effect, that team's unwritten constitution; which shortcuts have been accepted and which patterns have previously set production on fire are all stored there. Opening this archive to the agent is a bit like loading a team's decade of memory into a new senior hire in a single day. An objection that's never been written in our standards document but has been repeated thirty times in the archive, the agent now raises for the thirty-first time without waiting for a human.
The difference was dramatic. We measure a "useful" rate per comment (it counts if the developer applied the comment or explicitly acknowledged it); this rate, which crawled along in the 20 percent range in the context-free period, rose above 70 percent after the MCP integration.

The agent's hunting ground, the human's hunting ground
By the end of a year, the division of labor had settled roughly like this. The agent took over the work it does far better than humans: edge cases with a forgotten null check, resources that never get closed, patterns that smell of race conditions, deviations from our standards, N+1 query traps and — I especially love this one — files the PR doesn't touch but does affect. The human eye can't see what isn't in the diff; the agent can say, "you changed this function's behavior, and these three modules depend on it."
Human review, meanwhile, moved up a floor: does this change solve the right problem, does it stretch the architecture in the right direction, how will the person who inherits this API two years from now feel? Our seniors no longer hunt for commas line by line; they talk design. And let me be clear about this: we never considered removing human review. Not a single line gets merged on the agent's approval; the agent does the pre-screening, and final approval always belongs to a human.
This split looks elegant on paper, but it didn't settle into place on its own. In the first months, some colleagues started treating anything the agent didn't flag as clean — that's the sneakiest side effect of automation, the dulling of attention. Our solution was a bit cheeky but effective: PRs on which the agent stayed silent are randomly selected for a double human review, and every miss that's found is discussed as a case study in the team meeting. The point isn't punishment; it's keeping the knowledge that "the agent misses things too" fresh.

Junior growth: the opposite of what we feared
Before the switch, my biggest worry was this: juniors learn from senior engineers' comments; if we hand review over to a robot, the apprenticeship chain breaks. By the end of a year, the picture had flipped completely. Under the old setup, a junior sometimes waited three days to get comments on a PR; now they get feedback in thirty seconds, and without the feeling of being judged. They can ask the agent "why," and they're not embarrassed to ask the same question a fifth time. And their reviews with seniors are no longer comma debates but design conversations — exactly the layer where apprenticeship is valuable.
I have a concrete measure, too: the average number of rounds before a new hire's first PR gets merged (how many times it goes back for fixes) dropped from 4.2 to 1.8. Are juniors writing better code? No — the code has already been through two or three agent rounds before it reaches a human. The first version a human sees is the version they used to see in round three.

The costs and quirks we had to accept
I don't want to paint a rosy picture; this process comes with bills too. The better the agent sees the context, the higher the cost — a fully contextual review of a large PR isn't cheap, so we apply tiered depth based on PR size (which had a nice side effect: the team learned to keep PRs small, because a small PR gets a deeper and faster review). There are patterns where the agent is persistent but turns out to be wrong; we keep a "mute list" for these and review the list every three months, because a warning that's wrong today can become right once the codebase changes.
On the corporate side, a conversation I didn't expect came up as well. The security and compliance teams wanted agent access to the codebase treated as a separate topic — which model, where the data is processed, who keeps the review logs. And they're right. Agent-assisted review is now its own section in our written internal policy; which context sources may be used and where telemetry is stored are clearly defined. I see this not as busywork but as a sign of maturity: you should be able to account for every tool that enters your process, and a tool's intelligence doesn't remove that responsibility.
And one cultural point: we deliberately don't keep the tone of the agent's comments soft. An overly polite robot comment doesn't get taken seriously; a clear, reasoned comment that cites its sources does. The format "this pattern led to this bug in case X, precedent: PR #841" instead of "change this" moved the discussion from authority to evidence.
After that 47-PR Friday, the queue never again went above 10, and the average time to merge dropped from three days to seven hours. Since February, we've been setting up almost exactly the same arrangement for the team of the platform where I'm now CTO; because the hard part of this work isn't the model, it's connecting the model to the team's context — process design comes before tool selection. Yes, the robot reads code — but people still design the process, and thank goodness for that. I'm always happy to talk about this transformation; my contact page is open.