2026-08-26
Tags: public, software, ai
This is a response to that question, in the context of the age of actually-competent AI agents. If we're having agents help write our tickets, help write our code, help test our code, and then review our PRs - why does a human still need to review it? The answer isn't "because our policy says so" - but what is the answer?
Before we had our agents, a good code review was supposed to evaluate:
Additionally, the review itself is beholden to many of the same guidelines - in and of itself, it also needs to be understandable. It needs to be the right level of detail - no more, no less.
Agents are good at evaluating patterns and branches. They're good at checking rules, matching patterns, and - increasingly - at evaluating if the PR does what it's supposed to, and what it says it does. That means we can use agents for mutch of the above - most or all of the above.
An agent can't do three things:
The third one is big. The differentiator between a junior engineer and a senior engineer is experience - it's the wisdom they've gained from seeing things go well, poorly, right, wrong, up, and down - it's a sixth sense of "this smells wrong". Someday, agents might get good at that, too - but we're not there yet.
There's something else along these lines that this doc hasn't discussed, though.
That third one can't be handled by an agent - at least, not in the present state of AI-accelerated software engineering. To deliver software with confidence, we still rely on a team of humans understanding the working parts that build up the product. We may no longer need to have a line-by-line memory, or reach quite a level of architectural consistency that we once did - but, we still need to understand the consequences of proposed change into a system. We need to maintain the ability to rough-size the complexity level of a requested change, to know if even entertaining taking on the work is worth the time. We need to be able to have an idea of where the source of a production issue might be, in order to ask our agents the right questions to figure out an answer.
#3 is why we still need humans to do PR reviews. Not just because some SOC-2-compliant policy says so.
Assuming that an agent is doing its own review following the guidelines established above, a human reviewer's responsibilities shift towards answering:
We lose three items and gain one, and some get simpler. Assuming a well-configured and well-supported AI reviewer, we can reasonably trust that it will check standards/patterns/norms, and that edge cases are being reasonably checked. We no longer to need to take a depthy technical eye through the whole change - we can instead skim the code and think more about the comments.
A key to remember, here, is that our agents are just highly-automated tools. Their usefulness needs to be constantly evaluated so that their value can be improved.