Which Coding Agents Can You Actually Control, Ranked (2026)
Run agents? ACP lets you see, control, and price every tool call they make — allow/ask/deny policy, per-session cost, and a full audit log for Claude Code, Cursor, Codex, and OpenClaw, in one command:
curl -sf https://agenticcontrolplane.com/install.sh | bash
irm https://agenticcontrolplane.com/install.ps1 | iex
Getting started → · see your first governed call → · free up to 5 agents
Written August 26, 2026. Codex hook coverage updated August 31. This is a snapshot of what we found then. For ACP’s current coverage per agent, see the coverage matrix.
Over the past six months we built or tested a control integration for each of these fourteen coding agents. Same layer, same rules, same log format every time. We expected routine plumbing.
The integrations came out wildly different sizes. That had nothing to do with how well the agents write code. The fourteen are built to be controlled in fourteen different ways, and three of them have a control you think you have that isn’t there.
If you’re choosing a coding agent, or you have one and want to know what you can stop it doing, the agent decides most of the answer. Nothing you add changes that much. So here is a ranking on four criteria:
- Native controls: what does the agent ship before you add anything?
- Seam depth: where can an outside check step in, and does every call pass through it?
- Can it ask? When a rule is unsure, can a person be asked, or does it fall to allow or deny?
- Silent-failure risk: if the control is misconfigured or ignored, do you find out?
The last one mattered more than the other three.
The comparison
| Agent | Native controls | Seam depth | Can it ask? | Notable |
|---|---|---|---|---|
| 1. Claude Code | Permissions + settings.json |
Hook, all native tools + MCP | Yes, native | The reference implementation |
| 2. Antigravity (Google) | allow/ask/deny engine, action(target) rules |
Hook, native tools + MCP across CLI, IDE and app | Yes, native; cached Always-Allows can’t pre-empt it | No tool output after the call; skip-permissions removes the hook |
| 3. Codex CLI | Richest in the set: approval policies, permission profiles, sandbox, requirements.toml |
Hook (on by default; local tools incl. apply_patch + MCP on newest builds, shell-only before) |
Yes, PermissionRequest |
Best native model; hosted tools unhooked |
| 4. DeepSeek Harness (dsh) | Approval prompts | Plugin, everything incl. Code Mode sub-calls | Yes, feeds dsh’s own prompt | Deepest single pipeline |
| 5. Muse Code (Meta) | Approval prompts | Plugin, one hook pipeline | Yes, via PermissionRequest |
Can rewrite results inline |
| 6. Grok Build (xAI) | Permission modes | Hook, native tools + MCP, fires in always-approve | No native ask |
Silently ignores Claude Code hooks |
| 7. pi (earendil-works) | None | Extension, every dispatch, no MCP layer to miss | Yes, when a UI is attached | Zero native controls, clean seam |
| 8. opencode | Permission system | Plugin, permission-routed + deny-only backstop | Yes | Backstop for unrouted tools |
| 9. OpenClaw | Plugin surface | Native plugin | Yes | n/a |
| 10. Cursor | Prompts; audit is Enterprise-gated | Hook, most native tools | Yes | Some built-ins don’t emit |
| 11. Hermes Agent | Hooks | In-process, native + custom skills | No, block-only | Post-hook is observational |
| 12. Prime Agent | None | Extension, inherited from pi | Reports a human is present when none is | hasUI is wrong in print mode |
| 13. Cline | Prompts | MCP only, no pre-tool hook | Partial | Only MCP-routed calls are seen |
| 14. Zed | Per-thread folder scoping | LLM proxy only | No | Best native scoping, no per-call seam |
This ranks how much of what an agent does you can see and stop. It doesn’t say which agent is better. Zed is last and is excellent at the thing it does do.
The three that fail quietly
A gap you know about is a different problem from one you don’t. Start here.
Grok Build reads your Claude Code hooks and ignores them. By default it reads hook config from your real ~/.claude/settings.json. If you have a Claude Code hook installed, Grok Build runs it on every call and throws away every verdict. The hook fires, the log fills up, and nothing is blocked. We found it by testing a deny that should have stopped and didn’t. Every signal says the control is working, which is why this one costs people the most.
Cursor’s audit log is behind the Enterprise plan. Free, Pro and Team get the agent but not the record. That one is at least visible on the pricing page.
Prime Agent reports a human is present when nobody is. pi’s best idea here is the empty-chair signal. ctx.hasUI tells an extension whether anyone can answer a prompt, so an approval raised with nobody watching can deny instead of hanging. Prime Agent is a hard fork of pi and inherited the API, but the signal is wrong in print mode. Checking process arguments doesn’t fix it, because every session runs in a daemon worker whose argv never shows the real mode. The result is an unattended run where the rules believe a person is there to say no. ACP’s Prime Agent plugin doesn’t trust ctx.hasUI on its own for that reason, and it denies unanswerable asks in headless runs.
1. Claude Code: the reference implementation
Best for most people, and the bar the others are measured against.
It has a real permission system with allow and deny rules in settings.json, plus PreToolUse and PostToolUse hooks that fire before and after every native tool call and every MCP call. A hook can return a real ask that Claude Code shows to a person. Native controls, a complete hook point and a three-way decision together are unique in this list.
The limits are documented and we’ve written about them. Deny rules are string patterns, and command strings have many spellings. Rules are per machine, so they drift across a team. --dangerously-skip-permissions removes the prompts, while deny rules and hooks keep running, so the rules you wrote beforehand are the whole boundary exactly when people stop watching.
2. Antigravity: the strongest native permission engine
Best for teams that want one rule set across an editor, a CLI and an app.
Antigravity is an agent-first ecosystem, not one tool: the IDE, the agy CLI that replaced Gemini CLI in May 2026, and extensions for VS Code, JetBrains and Zed. Its permission engine is the most expressive here. allow, ask and deny arrays of action(target) resources live in ~/.gemini/antigravity-cli/settings.json, so a rule reads command(git), write_file(src/) or mcp(linter/*).
One hook registration covers native tools and MCP calls across the CLI, the IDE and the app, so the same rules hold wherever the agent runs. Two details beat the field. An ask becomes a force_ask prompt card that a cached Always-Allow cannot pre-empt, so an old approval can’t quietly answer a new question. And headless runs soft-deny natively.
The limits: PostToolUse carries no tool output, so the record after the call is audit and completion only. Anything that needs to read what a tool returned, like scanning for secrets or injected instructions, has nowhere to happen. And --dangerously-skip-permissions removes the hook layer from the call path. We confirmed that live, and any hook-based layer, ACP’s included, is off the path when the flag is set.
3. Codex CLI: the richest native model, on a partial hook point
Best for teams that want fleet-level constraints, not just per-laptop config.
Codex has the strongest set of controls it ships itself. A year ago the summary was “strong sandbox, coarse approvals, no extension surface.” Two of those three no longer hold.
Today it ships three approval policies (untrusted, on-request, and a full-access mode) and a three-mode sandbox (read-only, workspace-write with network off by default, danger-full-access) whose boundary subprocesses inherit. Permission profiles are in beta, with filesystem path maps and per-domain network rules. The native hooks system covers PreToolUse, PermissionRequest, PostToolUse, compaction, prompt-submit and session events. Non-managed hooks need a one-time interactive review, recorded by hash and re-prompted on change.
Two designs are ahead of the field. approved_with_amendment lets an approval save a prefix rule to ~/.codex/rules/default.rules, so a one-off decision becomes reviewable standing policy. requirements.toml, delivered by filesystem, MDM or the ChatGPT workspace, sets hard limits on which approval policies, sandbox modes and profiles can be selected at all. No other agent here has fleet policy like that.
Headless works properly. codex exec defaults to a read-only sandbox and never prompts. Blocked actions come back to the model as errors it can adapt to, so every would-be ask becomes a deny.
The hook caveat is why it’s #3 and not #1. Hooks are stable and on by default from 0.145.0. Before that the codex_hooks flag was off by default, and writing the wrong key on the wrong build fails in opposite directions: hooks on an old build is an unknown key and the hooks stay dark, while codex_hooks on a new build warns on every launch. Coverage has been the moving part. Through the 0.14x line hooks covered shell commands only. On the newest releases, OpenAI’s docs list apply_patch edits, MCP tool calls and other local function tools as hookable too, with unified exec matching as Bash. That closes most of the gap we flagged when this ranking was first published. What remains is hosted tools, such as web search, which don’t use the local hook path. On an older build the shell-only caveat still applies. A check on what hooks don’t reach has to come through an MCP connector, and anything past that is only an instruction to the model, which the model can decline.
Other limits: the Guardian reviewer (--approve-for-me) is a classifier, and its verdicts have no queryable rationale trail. Compound bash -lc scripts only split into rule-checkable subcommands for linear chains of plain words, which the exec-policy docs state clearly. And requirements.toml binds Codex, not the other agents on the same laptop.
4. DeepSeek Harness (dsh): the deepest single pipeline
Best for agents that spawn sub-work you also want covered.
dsh’s plugin system carries everything through one path: native tools, custom plugins and Code Mode sub-calls, which most integrations miss. An ask feeds dsh’s own approval prompt. Headless runs turn asks into denies by design, and that default is stated, not discovered. One caveat from our own integration: the ACP plugin for dsh reports a deny to the agent but doesn’t enforce it today, and the fix is tracked.
5. Muse Code: one pipeline, and it can rewrite
Best if you care about what the model reads back, not just what it runs.
Meta’s Muse Code routes native tools through a single hook pipeline, maps a PermissionRequest to policy, and lets a deny settle the native prompt. It’s one of the few that can rewrite a tool result before the model sees it, which matters for secrets and injected instructions in returned content.
6. Grok Build: fires in every mode, including always-approve
Best for unattended runs, once you have the right hook.
Past the silent-hook problem above, Grok Build’s own hook system has an underrated strength: the pre-call check fires in every permission mode, including always-approve and headless. Most agents treat always-approve as a reason to stop asking anything, the policy layer included.
Two rough edges. Grok’s tool names are its own (run_terminal_command, read_file, search_replace), so anything keyed on standard names needs a translation step or content-based rules miss. And Grok has no ask, so an unsure rule has to resolve to allow or deny. Only PreToolUse can block. Findings after the call show up loudly, but late.
7. pi: no controls, and the cleanest hook point here
The clearest sign that these are two separate questions.
pi is built minimal: four tools, no approval prompts, no allowlist, no sandbox, and its docs say so. Out of the box it’s the least controlled agent on this list.
It’s also among the easiest to control fully. Every tool call flows through a typed extension pipeline, tool_call and tool_result, with no MCP layer alongside it to miss. Native controls and controllability are nearly independent, and pi shows it.
8 and 9. opencode and OpenClaw: native plugin surfaces
Best for teams already on either.
Both expose a native plugin with a real three-way decision. opencode’s is routed through its permission system, with a deny-only backstop for tools that skip that system. That is a sensible design for an imperfect situation, and it means the backstop can deny but not ask.
10. Cursor: good hook point, gated record
Best for Cursor teams not on Enterprise.
Cursor’s hooks mirror Claude Code’s with lowercase event names, and cover most native tools. Some built-ins don’t emit hook events. We filed those and, until they land, a small share of Composer’s activity is invisible to any outside check. With the Enterprise-gated audit log, “most” is the right word for Cursor’s coverage.
11. Hermes Agent: complete, but block-only
Best for Python-native setups.
Nous Research’s Hermes runs pre and post hooks in-process across every tool, custom skills included, and installs with pip. The limit is the decision list: it supports block, not ask. An unsure rule blocks and sends the approval elsewhere. The post hook only observes. It can record but not intervene.
12. Prime Agent: pi’s minimalism, minus the signal that made it safe
Prime Agent (PrimeIntellect-ai/prime-agent, around 18k stars) is a hard fork of pi that pushes the minimal-core idea further. Like pi it ships no permission prompts, no rules and no sandbox. The kernel runs with the launching user’s full access, and the extension docs list permission gates as the first example use of the extension API, not a built-in.
What it does ship is bounded autonomy. /autonomous takes maxTurns, maxContinuations, maxTokens and timeoutMs, and print mode reports which limit stopped the run. Those cap how long a run goes, not what it may do. Sessions are branchable JSONL files you can fork and rewind. That is the run’s own account of itself on its own machine, not an independent record.
It ranks below pi despite the same extension point, for the reason above: the inherited hasUI signal is wrong in print mode. A missing control is a known gap. A control fed a false signal is worse, because it reports success.
13. Cline: MCP only
Cline has no Claude-style pre-tool hook. It does support MCP, so calls that go through an MCP server can be checked. Anything the agent does with its built-in tools can’t. If controllability is part of why you’re choosing an agent, know this first.
14. Zed: the best native scoping, no per-call hook point
Zed’s Parallel Agents run several agent threads at once, each with its own context, and the Threads Sidebar lets you control which folders and repositories agents can access. Per-thread filesystem scoping is real, and it’s the control that matters most day to day. Zed is also open source, so the boundary is readable.
What parallel threads change is what a per-thread control can’t express. There’s no unified log across threads, so “what did my editor do today” has no single answer. A rule like “no thread may run rm -rf” applies across threads and has to live outside the editor. Four threads at fifty turns and five calls a turn is a thousand tool calls an hour with no per-workspace ceiling. The one place to hook in is the LLM proxy layer, which gives you observation and cost attribution, not a per-call decision.
What to do with this
If you’re choosing, controllability is a real criterion now, and it doesn’t track how good the agent is. Claude Code, Antigravity, dsh, Muse Code, pi and Grok Build expose a complete hook point, where every tool call passes one checkable path. Codex covers local tools that way, with hosted tools left over. Cline and Zed have no per-call hook point at all, and no outside layer changes that.
If you already have one, find your row before you trust a control you configured. Grok Build is the lesson: every signal said the hook was working.
Re-check anything you last looked at more than a quarter ago. Codex went from coarse approvals to hooks, profiles, a reviewer agent and fleet constraints in about six months. Every claim here has a shelf life, which is why this page is dated.
Test the deny, not the install. The most useful thing we did was write a rule that should stop something, then run the thing. Three of the fourteen behaved differently from their docs. An install that reports success isn’t evidence.
What this doesn’t tell you
We tested these agents ourselves against one control layer. Coverage claims come from our integration work and verification runs, not vendor commitments, and several of these agents ship weekly. The Grok Build behavior is current as of this writing, and it’s the kind of thing that gets fixed. None of this measures how well any agent writes code, which is probably why you’re choosing one.
Per-agent detail is in the coverage matrix and the controls reference. To check your own setup, do what we did: write a deny for something harmless, run it, and see whether it stops.