Agent auto review
A setup where a separate reviewer agent, not a person, approves or refuses a coding agent’s actions. It swaps who answers approval requests; it does not grant new permissions.
Coding agents ask before risky actions: running a command outside the sandbox, editing outside the workspace, reaching the network. Auto review hands those approval requests to a reviewer agent. In Codex the reviewer sees a compact transcript and the exact action, not the agent’s hidden reasoning, and the docs describe it as “a reviewer swap, not a permission grant”.
The gap was multi-agent work. When one agent spawned another or sent it a message, that handoff was not an action the reviewer saw, so a subagent could be given work no one reviewed. Codex CLI 0.166.0, released on 29 October 2026, routes four calls through review — spawn_agent, send_message, followup_task and interrupt_agent — when the flag guardian_native_multi_agent_history is on. The flag is registered as under development and is off by default.
A circuit breaker stops runaway refusals: three denials in a row, or 10 of the last 50 reviews, ends the turn.
For teams, the useful part is managed configuration. Keys such as allowed_approvals_reviewers, allowed_approval_policies and guardian_policy_config can pin the reviewer centrally. The docs also note that approval_policy = “never” can avoid creating the approval request that review depends on, which is exactly the local setting a team policy should rule out.
Limits: the reviewer’s model is not named in the docs, no adoption number exists, and the PR does not describe the old behaviour in words; the change in scope is read from the calls it adds.
With auto review on, every agent action is checked.
Until 0.166.0, agent-to-agent handoffs skipped review, and the new coverage is off by default.
Turn the flag on in a scratch repo first and watch which spawn and message calls get refused before you use it on real work.
If you set team policy, pin the reviewer and allowed approval policies in managed config so no local setting can bypass review.
Sources
- Codex CLI 0.166.0 release · 29 Oct 2026
- openai/codex PR #57451, route multi-agent calls through Guardian review · merged 27 Oct 2026
- openai/codex PR #57441, guardian_native_multi_agent_history flag · merged 27 Oct 2026
- Codex docs, Auto-review · checked 30 Oct 2026