Reviewing generated work
Critically checking code and content produced by AI.
AI output can look right and be subtly wrong. Reviewing it needs the same care as a colleague's work, and more care where you lack expertise. Small, focused changes are easier to review.
Why it matters for a product engineer
AI output can look right and be subtly wrong: a function that passes the tests it wrote itself, a summary that drops the one exception that mattered. Reviewing it takes the same care as a colleague’s work, and more where you lack expertise. As agents write more of the code, review becomes a larger part of a product engineer’s job.
How to do it
- Ask for small, focused changes. A large generated change is almost impossible to review well.
- Run it. As Simon Willison puts it, the one thing you cannot outsource to the machine is testing that the code actually works.
- Read the parts that matter most closely: security, data changes, money, anything hard to undo.
- Check claims against sources: links, numbers, quotes, API behaviour.
- Use a second model or agent to review, but treat its findings as input, not a verdict.
- Accept only what you could explain and maintain yourself.
Common mistakes
- Approving because the tests pass, when the same agent wrote the tests.
- Skimming confident text.
- Reviewing everything with the same care, so the risky parts get no more attention.
- Letting review lapse in areas where trust matters, such as security.
Example
RelievApp used agents to review agents. An audit in the morning scored the product 5 out of 10, and the fixes that day brought a second review to 7. Both are judgements, not data. Mamitsu’s maker and the author of In practice both admit they have mostly stopped reading their projects’ code, but agree it still matters where trust does, such as security. (RelievApp, Mamitsu)
Two agent reviews of RelievApp, 16 November
| Audit, morning | Second pass, afternoon | |
|---|---|---|
| Onboarding into the first session | 4/10 | 8/10 |
| Inside a session | 5/10 | 7/10 |
| Distribution readinessNothing in it had changed | 3/10 | 4/10 |
| Overall | 5/10 | 7/10 |
An agent's review found the worst problems, and they were fixed the same day. The scores are still one agent's judgement, without usage data.
AssumedAn agent's judgement on staging at phone size, 16 Nov 2026
Sources: Here's how I use LLMs to help me write code (Simon Willison) ↗ · Google engineering practices, code review ↗
In practice
Real products- 18 Nov 2026RelievApp, Part I: is it a meditation app?
Resources
2- articleStart here
Here's how I use LLMs to help me write code ↗
Simon Willison · 2025 · 22 minA practical approach to coding with models, including why you must test everything they produce.
- docsStart here
Google engineering practices, code review ↗
Google · 30 minHow Google reviews code, from what reviewers look for to how authors should write small changes.
Tools
1- ToolOpen source