---
title: "Reviewing agent output · Agent Wranglers"
url: https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output
updated: 2026-10-20
licence: "All rights reserved"
---

# Reviewing agent output

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

> A person reads every change an agent makes, runs it, and checks for invented packages, weakened checks and changes outside the task before it ships.

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers ai development playbook: https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output`.

## Required

- [Read every line of the diff](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/read-every-diff): A person reads every line an agent changes before it merges, and can explain why each line is there.
- [Run the change yourself](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/run-it-yourself): Run the changed feature by hand before approving it, and never trust an agent's claim that it works.
- [Check that every package and API exists](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/no-invented-packages): Verify every new dependency and every called API exists, is the official one and does what the code assumes.
- [Look for weakened checks and skipped work](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/no-weakened-checks): Reject any change that deletes or skips tests, loosens a linter or type setting, or catches and hides errors to make the checks pass.
- [Check the change does only what was asked](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/scope-matches-task): Reject changes that touch files, features or behaviour the task did not ask for.

## Recommended

- [Get a fresh review for risky changes](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/fresh-review): For changes to money, accounts, permissions or data deletion, get a second review from someone, or an agent, that did not write the change.
- [Check where generated code came from](https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/code-provenance): Make sure generated code does not copy licensed code you may not use, and that every new dependency's licence fits your project.

- Previous: [Rules the agent cannot break](https://agentwranglers.se/playbook/ai-assisted-development/rules-the-agent-cannot-break)
- Next: [Safety and permissions](https://agentwranglers.se/playbook/ai-assisted-development/safety-and-permissions)
- [All chapters](https://agentwranglers.se/playbook/ai-assisted-development)
