Sixteen Gates for an AI Agent Control Plane
A checklist of the controls to put between an agent and the world, each with the threat it answers, a first deterministic step and how well-sourced it is.
Answer first
Put sixteen gates between an agent and anything it can change: injection and taint handling, an independent verifier, quorum approval, canary runs, blast-radius limits, spend breakers, signed provenance, replay and audit, approval-time recheck, secret egress control, supply-chain checks, model pinning and drift detection, eval gates, human-review sampling, kill switches, and tenant isolation. Build the deterministic ones first. Each row below says what it stops, a first step you can build without a model, and how well supported it is.
How to read the table
Confidence is H when we read a primary source (documentation, the vendor's own post or a standard), M when we read a paper's abstract or an indirect source, and L when it is community practice we could not verify. We read the sources on 2026-11-07. Numbers quoted from a source are that source's numbers, not ours, and we ran none of the gates below for this post.
| # | Gate | Threat it answers | First deterministic step | Best source | Conf. | | --- | --- | --- | --- | --- | --- | | 1 | Injection and taint tracking | Untrusted text in tool results steers the agent | Cap each session to two of three: untrusted input, sensitive data, outbound action | Rule of Two, OWASP LLM01 | H | | 2 | Independent verifier | The agent's claim of success is wrong | Re-run the cited test in a clean checkout and store the result | threat: long-running agent harnesses lists marking features done without verification as a failure; the re-run step is our suggestion | M | | 3 | Two-person approval | One approver or account authorizes an irreversible action | Require two distinct authenticated approvers for deletes and publishes | single-approver gates are common; quorum drafts unverified | L | | 4 | Canary and shadow runs | A model or prompt change regresses quietly | A dry mode that records planned actions without executing them | Postmortem | H | | 5 | Blast-radius limits | The approved action is smaller than the one that runs | Limits on files and bytes, plus protected branches and paths | OWASP LLM06, sandboxing | H | | 6 | Spend and rate breakers | Many small budgets add up to a large bill | A global breaker across runs, not only a per-run cap | OWASP LLM10 on the top-10 page | H | | 7 | Signed provenance | You cannot prove what produced an output | Record model, prompt and tool versions with each commit | SLSA (an older version; check the current one) covers builds, not agent runs | H | | 8 | Replay and audit export | You cannot reconstruct why an agent acted | An append-only event log you can replay | OpenHands | H | | 9 | Approval-time recheck | What executes differs from what was approved | Bind approval to a hash and recompute it just before execution | an ICML 2026 abstract reports unsafe broadened actions under common approval designs | M | | 10 | Secret egress control | The agent sends secrets out through network, pushes or comments | Default-deny network egress and push scanning | Sandboxing, push protection | H | | 11 | Supply-chain checks | The agent installs an invented or hostile package | Allow-list packages and block very new ones | Package hallucination study | M | | 12 | Pinning and drift | The same model alias changes behavior | Pin model versions and re-run a fixed probe set regularly | Behavior drift paper, postmortem | M | | 13 | Eval gates | A change is promoted with no evidence it is no worse | A held-out set with intervals before promotion | Binomial intervals, McNemar (encyclopedic) | M | | 14 | Human-review sampling | Approvals become rubber stamps | Sample by risk and seed known-bad items | practitioner advice | L | | 15 | Kill switches | A runaway agent cannot be stopped | A shared halt flag every run checks, plus a dead-man timer | SDK budget stops; shared-store practice unverified | L | | 16 | Tenant isolation | One customer's agent reaches another's data | Per-tenant credentials and storage; stronger sandboxes for hostile code | OWASP LLM06 | L |
Notes on the rows that surprise people
Gate 1 has no complete answer. OWASP says mitigations reduce impact and that fool-proof prevention may not exist. One research system reports solving 77% of benchmark tasks with provable security against 84% undefended (CaMeL abstract), which is progress, not a guarantee. Plan to limit what a hijacked agent can reach.
Gate 2 is not a rubber stamp. Anthropic's auto mode post reports a classifier with a 0.4% false-positive rate on 10,000 real tool calls and a 17% false-negative rate on 52 real overeager actions, and says it does not replace human review for high-stakes infrastructure. Treat any model judge as a second opinion on top of deterministic checks.
Gate 5 beats gate 3 for cost. A cap on how much one action may change is a few lines of code. Quorum approval needs authenticated identities first; without them, "two approvers" compares strings the caller chose.
Gate 13 needs small-sample honesty. With zero failures in n trials, the 95% upper bound on the failure rate is about 3/n, so ten clean runs do not prove a rare failure is absent. Use Wilson-type intervals rather than a normal approximation at small n, and a paired test (such as McNemar's) when comparing two versions on the same cases.
Step-by-step approach
- List what the agent can change: files, branches, tickets, money, messages, infrastructure.
- For each, add a limit and a protected list before adding any model-based check (gate 5).
- Add a global spend breaker and a halt flag (gates 6 and 15).
- Turn on an append-only log you can replay (gate 8).
- Default-deny egress and scan outbound content (gate 10).
- Bind approvals to a hash and recheck it before running (gates 3 and 9).
- Build a held-out set and a baseline, then add the verifier (gates 13 and 2).
- Pin versions and schedule probe runs for drift (gate 12).
Risks and limits
- The list is a map, not a standard. Some rows rest on a single vendor post, and several sources were read through abstracts or secondary summaries.
- Named incidents in this area often appear only in secondary write-ups; we do not rely on any here.
- Gates add friction and cost. A disposable sandbox with nothing to lose does not need all sixteen.
- Our reference list changes quickly. Check the dates on every source before you quote a number.
Related reading
FAQ
- What is an agent control plane?
- The layer that decides what an agent may do and records what it did: admission, permissions, approvals, spend limits, logging and shutdown, kept separate from the model that proposes the actions.
- Which gate should I build first?
- Start with the deterministic ones that need no model: limits on how much one action can change, protected targets, spend breakers, egress allow-lists and an audit log. Add model-based checks later, once you have a test set to judge them on.
- Do these gates make an agent safe?
- No. They reduce and bound harm. Public sources agree that prompt injection has no complete defense, so assume some attacks will get through and limit what a hijacked agent can reach.
- How reliable is the evidence for each gate?
- It varies. The table marks each row High, Medium or Low confidence based on whether we read a primary source. Low means community practice we did not verify.
Sources
- OWASP Top 10 for LLM Applications 2025
- OWASP LLM06: Excessive Agency
- OWASP LLM01: Prompt Injection
- Anthropic: Claude Code auto mode
- Meta: Agents Rule of Two
- Anthropic: A postmortem of three recent issues
- Anthropic: Effective harnesses for long-running agents
- Anthropic: Claude Code sandboxing
- GitHub: About push protection
- SLSA specification
- OpenHands: condenser architecture
- arXiv 2406.10279: package hallucination
- arXiv 2307.09009: How is ChatGPT's behavior changing over time
- arXiv 2503.18813: CaMeL