Skip to content

Supported agents

Each agent calls openmoat guard from its own hook before each tool call it reports. openmoat init finds the agents installed on your machine and asks before setting up each one.

For an agent with an OS sandbox, openmoat init also writes the sandbox settings from the same policy, so a script inside an allowed npm test cannot read your keys either. For the others, the hook is the only check; there, running a script the same session wrote needs review first (Code the agent wrote).

OpenMoat checks fourteen agents: Claude Code, Codex, Cursor, OpenClaw, GitHub Copilot CLI, pi, Gemini CLI, OpenCode, Hermes Agent, the Cline CLI, goose, the Antigravity CLI, Qwen Code and Crush.

  • Claude Code

    Protection
    hook + OS sandbox (macOS, Linux, WSL2); hook only on native Windows
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    Claude Code's own prompt
    openmoat init --hosts
    claude-code
  • Codex

    Protection
    hook + OS sandbox
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    the call is denied; run openmoat allow --last
    openmoat init --hosts
    codex
  • Cursor

    Protection
    hook + OS sandbox (macOS, Linux); hook only on Windows
    Hook run by the real agent
    preview on every OS
    Where you answer a review
    Cursor's prompt for shell and MCP calls; openmoat allow --last for file tools
    openmoat init --hosts
    cursor
  • OpenClaw

    Protection
    hook only (a before_tool_call plugin)
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    OpenClaw's own approval request
    openmoat init --hosts
    openclaw
  • GitHub Copilot CLI

    Protection
    hook only
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    Copilot's own prompt
    openmoat init --hosts
    copilot-cli
  • pi

    Protection
    hook only (an extension)
    Hook run by the real agent
    Linux
    Where you answer a review
    a pi dialog
    openmoat init --hosts
    pi
  • Gemini CLI

    Protection
    hook only
    Hook run by the real agent
    Linux
    Where you answer a review
    Gemini CLI's own confirmation
    openmoat init --hosts
    gemini-cli
  • OpenCode (1 and 2)

    Protection
    hook only (a plugin)
    Hook run by the real agent
    preview on every OS
    Where you answer a review
    OpenCode 2's own permission prompt; on OpenCode 1 the call is denied, run openmoat allow --last
    openmoat init --hosts
    opencode
  • Hermes Agent

    Protection
    hook only
    Hook run by the real agent
    preview on every OS
    Where you answer a review
    Hermes's own approval prompt
    openmoat init --hosts
    hermes
  • Cline CLI

    Protection
    hook only (PreToolUse and PostToolUse hook scripts)
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    the call is denied, which ends Cline's run; run openmoat allow --last
    openmoat init --hosts
    cline
  • goose

    Protection
    hook only (a plugin)
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    the call is blocked; run openmoat allow --last
    openmoat init --hosts
    goose
  • Antigravity CLI

    Protection
    hook only
    Hook run by the real agent
    Linux, macOS
    Where you answer a review
    Antigravity CLI's own prompt, asked every time
    openmoat init --hosts
    antigravity-cli
  • Qwen Code

    Protection
    hook only (preview)
    Hook run by the real agent
    preview on every OS
    Where you answer a review
    Qwen Code's own prompt, even in YOLO mode
    openmoat init --hosts
    qwen-code
  • Crush

    Protection
    hook only (preview)
    Hook run by the real agent
    preview on every OS
    Where you answer a review
    the call is denied; run openmoat allow --last
    openmoat init --hosts
    crush
  • Continue CLI

    Protection
    not checked: it runs no hooks and is no longer maintained upstream
    Hook run by the real agent
    none: it runs no hook
    Where you answer a review
    none: use openmoat run
    openmoat init --hosts
    none

openmoat status prints the level each agent has right now. It says not protected when:

  • the hook is missing or out of date;
  • the agent’s own settings turn hooks off;
  • OpenMoat’s entry lacks the agent’s fail-closed key (failClosed: true for Cursor, fail_closed: true for Hermes Agent);
  • Hermes Agent’s shell-hooks-allowlist.json does not approve the hook;
  • the agent ran without loading OpenMoat’s plugin;
  • or the agent’s version does not load OpenMoat’s hook (OpenCode before 1.3.4).

The line names the file and the setting. When the agent’s installed version has a published security advisory that a later version fixes, openmoat status and openmoat doctor add a warning line naming the version to upgrade to.

For any agent, openmoat run -- <agent> starts the whole agent inside one sandbox made from your policy, with network only through OpenMoat’s proxy (macOS 13 or later, Linux). It answers nothing command by command; that is the hook’s job. See Auto-approve and CI.

Each week CI installs every agent’s latest release and sets it up with openmoat init; where the agent runs without an account, CI checks that the real agent loads OpenMoat’s hook, and (from 0.20.0) makes the hook fail under it to check what the agent then does (what is checked per agent).

The Hook run by the real agent column says on which systems a real copy of the agent ran OpenMoat’s hook and the decision held; everywhere else, Windows included, the hook is set up and its payloads are tested, but it is preview. Each agent on each OS, with the tests behind every claim: Protection by agent and OS.

openmoat doctor names each agent that runs a call when OpenMoat’s hook cannot start, crashes or times out (“fails open”), with the way out: start it with openmoat run, and add require.run: full-boundary so openmoat run refuses to start without its whole boundary.

Every hooked agent sends OpenMoat its shell commands, file reads and writes, and MCP tool calls. A tool OpenMoat has no mapping for is still checked for the paths, URLs and shell commands its arguments name, so an extension’s tool that reads ~/.ssh/id_rsa is denied. The differences are below.

  • Checked: Bash, Monitor, PowerShell (not parsed, so it goes to your agent’s prompt), file tools (Read, Edit, Write, MultiEdit, NotebookEdit, Glob, Grep, LSP), WebFetch, WebSearch, SendFile, the local files Artifact and ArtifactData upload or save, and MCP tools. A second hook, ConfigChange, sees settings files change during a session. A third, SessionStart (from 0.12.0), gives each session’s sandboxed commands their own credential for openmoat proxy, so the proxy records their requests under the session and applies its taint (Agent sessions only). A fourth, PostToolUse (from 0.16.0), reports what each call returned, so a later call that uses a host, path or command untrusted output named needs review (Injected input).
  • In the editors: the VS Code extension and the JetBrains plugin use the same hook; openmoat init also finds the Claude Code the VS Code extension bundles (Editors).
  • Sandbox: Claude Code’s sandbox covers Bash, PowerShell and Monitor. File tools, WebFetch and MCP servers run outside it and are checked by the hook only. On native Windows openmoat init leaves the sandbox off, because Claude Code would not start with it; run Claude Code and openmoat inside WSL2 for it. Where the sandbox is not in place, running a script the session wrote needs review.
  • If the hook fails: with Claude Code 2.1.295 or later, openmoat init sets onFailure: "block", so the call is blocked when openmoat cannot start, crashes or times out. Earlier versions run the call unchecked.
  • Turned off by: disableAllHooks in a settings.json. A project’s .claude/settings.json is loaded when the session starts, before any hook runs; see Project settings that turn hooks off.
  • Checked: shell commands, apply_patch (every file the patch names), MCP tools, and (from 0.15.0) read_mcp_resource and view_image, as the resource or image they read. Codex’s web search and hosted tools are not sent to hooks, so OpenMoat does not see them.
  • The project is the session’s. A command’s workdir is chosen by the model, so from 0.15.0 it does not set the project: a command run from outside the session’s project is decided as running in the session’s directory, and a write from ~/Library/LaunchAgents is checked as that path.
  • Input typed into a running program: Codex sends later input to a running shell or REPL with write_stdin, which runs no hook. So a command that starts a shell, REPL, editor or login with no script or command of its own (bash, python3, node, sqlite3 db, ssh host) needs review; bash x.sh, python3 x.py and ssh host cmd are decided as usual.
  • Reviews: Codex hooks cannot show a question, so a review is sent as a deny. The message says to run openmoat or openmoat allow --last; run it, then ask Codex to retry.
  • One step in Codex: Codex runs a new or changed hook only after you trust it in its /hooks view. After openmoat init, and after an upgrade that rewrites the hook (0.15.0 did, for read_mcp_resource and view_image) or adds one (0.21.0 adds the PostToolUse hook for injected input), open /hooks in Codex and trust OpenMoat’s hooks. openmoat init and openmoat doctor remind you.
  • If the hook fails: Codex runs the call unchecked when openmoat is missing, crashes or times out.
  • Turned off by: [features] hooks = false in config.toml.
  • Checked: shell commands, MCP calls, file reads, and the agent’s file, search and web tools. The hooks are installed with failClosed, so a hook that fails blocks the call; an entry without failClosed: true is reported as not protected.
  • Tab (from 0.17.0): beforeTabFileRead refuses Cursor’s inline completion reading a file the policy refuses an agent (a secret, another agent’s login); every other file reads as before. Cursor also runs Claude Code’s hooks; OpenMoat reads such a call as Cursor’s and answers a review there as a deny (Editors).
  • The project is the session’s. From 0.15.0 a shell command whose cwd is outside every workspace root is decided as running in the session’s directory, since the model picks the cwd.
  • Reviews: Cursor shows its own prompt only for shell and MCP calls. A review of a file tool is sent as a deny that says to run openmoat allow --last.
  • Sandbox: openmoat init writes Cursor’s sandbox.json on macOS and Linux. While it is installed, a command Cursor runs in its sandbox that no rule decides is allowed, as Cursor would run it, instead of asking. Cursor still runs some commands outside it: one its Auto-review approves, everything in Run Everything mode, and the Cursor CLI without --sandbox enabled. Inside the workspace its sandbox cannot deny .env or .git. Cursor documents no sandbox on Windows, so there it is hook only, and running a script the session wrote needs review.
  • Checked: every tool, through OpenMoat’s plugin on OpenClaw’s before_tool_call hook: exec, file tools, apply_patch, web_fetch, web_search, browser navigation and uploads, MCP tools, plugin changes, and cron jobs (which need review).
  • The call that runs is the one checked. The plugin decides at the highest priority and returns the parameters it checked at the lowest, so another plugin’s rewrite of the call is undone (OpenClaw runs the call OpenMoat checked). A plugin that changes the call and asks for approval in the same answer keeps its change once you approve it.
  • Setup: restart the Gateway after openmoat init (openclaw gateway restart). openmoat init refuses an openclaw.json that has comments, because writing it back would drop them: move them out first.
  • If the hook fails: a plugin that throws, or an answer that takes over 45 seconds, blocks the call. If the Gateway does not load the plugin at all, calls run unchecked; openmoat status says “plugin not loaded yet” until the plugin has reported loading (Plugin loading).
  • Not checked: OpenClaw’s process input to a running exec session; code_execution, which runs at the model provider. Running a script the session wrote needs review.
  • Checked: every tool, through a preToolUse hook in a file of OpenMoat’s own (~/.copilot/hooks/openmoat.json): bash, file tools, patches, searches, web_fetch, web_search and MCP tools. Input typed into a running shell (write_bash, write_powershell) needs review, because a command split over two calls would pass piece by piece. From 0.21.0 a postToolUse entry beside it reports what each call returned, for injected input; each entry names its event (openmoat guard --event), since Copilot’s payloads name none.
  • Reviews: Copilot’s own prompt. In autopilot mode Copilot turns a review into a deny.
  • If the hook fails: Copilot blocks a call whose hook crashes, but runs one whose hook times out. openmoat init sets the timeout to 600 seconds, far above OpenMoat’s own 30-second limit.
  • Turned off by: disableAllHooks in ~/.copilot/settings.json or a repository’s .github/copilot/settings.json. The agent cannot write those files, and openmoat status reports yours.

The pi coding agent (@earendil-works/pi-coding-agent).

  • Checked: every tool, through OpenMoat’s extension (~/.pi/agent/extensions/openmoat.js) on pi’s tool_call event, including the calls a codemode script makes and the tools of other extensions.
  • Reviews: a pi dialog. In print and JSON mode, which have no screen, a review is a deny until you run openmoat allow --last.
  • Deferred calls run. pi has no approval step of its own, so a call OpenMoat has no rule for runs without a question.
  • Setup: restart pi after openmoat init; it loads extensions when it starts.
  • If the hook fails: an extension that throws, or an answer that takes over 45 seconds, blocks the call. pi --no-extensions, or a settings entry that leaves OpenMoat’s extension out, runs calls unchecked; openmoat status reports such an entry, and reports pi as not protected once pi wrote a session without the extension reporting that it loaded (Plugin loading).
  • Not checked: an input change by an extension pi loads after OpenMoat’s, and an extension that replaces a built-in tool.
  • Checked: every tool, through a BeforeTool hook in ~/.gemini/settings.json: run_shell_command, file tools, searches, web_fetch, google_web_search and MCP tools. A search without a directory (grep_search or glob without a dir_path), and every read_many_files, is checked over the working directory and the context.includeDirectories of your user and project settings, the folders Gemini CLI then reads. From 0.21.0 an AfterTool hook beside it reports what each call returned, for injected input.
  • Reviews: Gemini CLI’s own confirmation, also in YOLO mode.
  • Trusted folders only. In a folder Gemini CLI does not trust, it runs no hooks at all, and asks you before every tool instead.
  • If the hook fails: Gemini CLI has no setting to block on failure. A hook that cannot start (openmoat missing) blocks the call; a hook that times out, is killed, crashes or exits with code 1 lets it run.
  • Setup: openmoat init refuses a settings.json with comments: move them out first. When Gemini CLI saves a new model, theme or display setting there, calls keep being checked and openmoat doctor reports the change.

OpenCode 1 (opencode-ai, 1.3.4 and later) and OpenCode 2 (@opencode/cli), through one plugin (OpenCode 1 and 2).

  • Checked: every tool, through OpenMoat’s plugin (~/.config/opencode/plugins/openmoat.js) on OpenCode 1’s tool.execute.before or OpenCode 2’s execute.before. The plugin pins the call it checked, so a later plugin that rewrites it makes the call fail.
  • Reviews: on OpenCode 2, OpenCode’s own permission prompt. OpenCode 1 gives a plugin no way to prompt you, so a review is a deny that says to run openmoat or openmoat allow --last. A call OpenMoat defers is left to OpenCode’s own permission rules.
  • Setup: start OpenCode again after openmoat init (OpenCode 2: opencode service restart). An upgrade from 1 to 2 needs no new openmoat init. OpenCode before 1.3.4 is not set up: openmoat status says to upgrade.
  • If the hook fails: a plugin that throws, or an answer that takes over 45 seconds, blocks the call. OpenCode runs calls unchecked when it does not load the plugin: OpenCode 1’s --pure or OPENCODE_PURE, OpenCode 2’s -openmoat in plugins, or an error loading it. openmoat status says “plugin not loaded yet” until the plugin has reported loading.
  • Not checked: your own ! shell commands. OpenCode 2’s --auto approves OpenMoat’s reviews, and the plugin cannot tell. Other plugins and custom tools run in OpenCode’s process with the agent’s rights, and a project’s load at start with no prompt.
  • Checked: every tool, through one pre_tool_call shell hook in ~/.hermes/config.yaml ($HERMES_HOME/config.yaml when that is set), with fail_closed: true. openmoat init edits the file as text, so your comments stay, and approves the hook’s command in shell-hooks-allowlist.json beside it. Its memory and skill_manage tools are checked as writes of its memories/ and skills/. A relative file path is checked against the directory Hermes started in; one that climbs out (..), and a terminal call that moves the shell outside that directory, need review, and the message names the file and whether it is read or written.
  • Reviews: Hermes’s own approval prompt. Its “always” answer approves that same call again, never another call held for the same reason. In YOLO mode or with approvals.mode: off, where Hermes would approve it unseen, a review is a deny you approve with openmoat allow --last.
  • Setup: restart hermes and the gateway after openmoat init (a running gateway picks the hook up within about 30 seconds). Hermes saves hermes model and display choices in the same file without affecting OpenMoat; any other change there denies every call until you run openmoat doctor --accept.
  • If the hook fails: a hook that cannot start, times out, exits non-zero without a decision or prints something that is not JSON blocks the call, and so does plugins.hook_callback_timeout (30 seconds by default) running out. Hermes runs a call unchecked when its own hook dispatcher raises an error.
  • Skipped hook: Hermes’s gateway, cron and ACP sessions skip a hook its shell-hooks-allowlist.json does not approve, as Hermes does under HERMES_SAFE_MODE=1 or in a profile OpenMoat did not set up. openmoat status reports a hook the allowlist does not approve as not protected.
  • Not checked: what an execute_code script does itself (its tool calls are checked). Plugins, another hook’s modify reply and tool middleware can rewrite a call’s arguments after the check. The in-session /yolo toggle and hermes -z approve a review unseen. Terminal commands on a remote backend (docker, ssh, modal, …) are checked as local ones.

The Cline CLI (cline, npm cline). Setup, the tools it checks and the limits in full: Cline CLI.

  • Checked: every tool, through OpenMoat’s PreToolUse hook script in ~/.cline/hooks ($CLINE_DIR/hooks when that is set), with a PostToolUse copy beside it (from 0.17.0) that reports what each call returned for injected input: run_commands, read_files, editor, apply_patch, search_codebase, fetch_web_content and MCP tools; any other tool by the paths, URLs and commands its arguments name. The MCP servers in Cline’s cline_mcp_settings.json are pinned.
  • Reviews: Cline’s hooks cannot prompt, so a review is a deny, which ends Cline’s run. Approve it with openmoat allow --last and continue the session.
  • If the hook fails: Cline itself runs a call whose hook fails, so OpenMoat’s script blocks the call when openmoat is missing, crashes or gives no answer. A script that cannot start at all (no sh, as on native Windows) or is killed after Cline’s 120 seconds lets the call run, so from 0.20.0 openmoat doctor names the Cline CLI as failing open.
  • Not checked: the Cline VS Code extension, --yolo runs (no hooks run at all) and native Windows. Another hook or plugin can change a call after OpenMoat checked it; openmoat status and openmoat doctor print these limits on a line of their own and name every other PreToolUse file and Cline plugin they find.
  • Workspace hooks: writes to .clinerules/hooks/ and .cline/hooks/, which Cline runs on each tool call, need review (runs-later).

goose, the open-source agent from Block, CLI and desktop app. Setup, the tools it checks and the limits in full: goose.

  • Checked: every tool, through OpenMoat’s plugin, ~/.agents/plugins/openmoat/hooks/hooks.json, one PreToolUse entry with on_failure: block: shell, write, edit, tree, analyze, read_image and extension tools. MCP extensions in goose’s config.yaml are pinned.
  • Reviews: goose hooks cannot prompt, so a review is a block you approve with openmoat allow --last.
  • Setup: restart goose (the CLI or the desktop app) after openmoat init; it loads plugins when it starts.
  • If the hook fails: with on_failure: block, which openmoat init sets, a hook that cannot start, times out or answers wrongly blocks the call. goose runs every call unchecked when it does not load the plugin.
  • Not checked: what Code Mode’s execute_javascript does (its tool calls skip the hook, so the call itself needs review), and hooks a project’s .agents/plugins/ adds. openmoat status and openmoat doctor report goose not protected in a directory whose .agents/plugins/openmoat replaces OpenMoat’s plugin, name the directory to remove, and warn about the hooks of the project’s other plugins.
  • Checked: every documented tool, through a PreToolUse command hook under the name openmoat in ~/.gemini/config/hooks.json (shared with the Antigravity app and IDE). Each tool is mapped by what it does; a tool not listed is treated as unknown.
  • Reviews: Antigravity CLI’s own prompt, every time (a saved “Always Allow” cannot answer it). With toolPermission: always-proceed in its settings, a review is a deny.
  • Run on a real agy (from 0.20.0): the weekly run of the agents’ latest releases starts a real agy on Linux and macOS. In its run of 2026-11-12 (43254846914) agy ran OpenMoat’s hook, which denied a read of a planted key, and blocked the call when the hook binary was missing and when it exited 1 without output. On Windows it is preview (Protection by agent and OS).
  • If the hook fails: a hook that cannot start, crashes or exits non-zero blocks the call. What agy does when a hook times out (600 seconds) is not documented and not tried by the weekly run, so OpenMoat assumes the call runs; openmoat doctor names Antigravity CLI as failing open for that case only. For an OS sandbox as well, use openmoat run -- agy.
  • Turned off by: "enabled": false on OpenMoat’s entry (a project’s .agents/hooks.json included), or deleting it. openmoat status shows such an entry as not protected, and openmoat init turns it back on.
  • Blocks with: exit 0 and the deny on stdout (from 0.22.0), the way agy’s plugin guide says a hook blocks; a non-zero exit is ignored there.

Preview from 0.22.0: what its docs and source say is supported, not yet run on a real Qwen Code.

  • Checked: every tool, through a PreToolUse command hook named openmoat in ~/.qwen/settings.json (QWEN_HOME names the folder). MCP tools are mcp__<server>__<tool>.
  • Reviews: Qwen Code’s own prompt, even in YOLO mode; without a screen a review is a deny.
  • If the hook fails: a hook that times out, cannot start or gives an answer Qwen Code cannot read lets the call run. For an OS sandbox as well, use openmoat run -- qwen.
  • Turned off by: disableAllHooks in a settings file, --safe-mode or --bare. openmoat run refuses a project whose settings turn the hook off.

Preview from 0.22.0: what its source says is supported, not yet run on a real Crush.

  • Checked: every tool, through a PreToolUse hook named openmoat in Crush’s global crush.json (CRUSH_GLOBAL_CONFIG, else ~/.config/crush). A project’s crush.json, .crush.json, .crush/crush.json and crushrc scripts need review before a session changes them.
  • Reviews: Crush has no “ask”, so a review is a deny; run openmoat allow --last.
  • Not seen: the calls of its subagents (agent, agentic_fetch), so starting one needs review. An MCP tool is named mcp_<server>_<tool>, which cannot be split back into its server, so per-server MCP rules do not apply: each MCP call is checked by what its arguments name.
  • If the hook fails: the call runs. For an OS sandbox as well, use openmoat run -- crush.

The Continue CLI (cn) is built to run Claude Code’s hook, but the released cn runs no hooks, so OpenMoat cannot check its calls, and its repository (github.com/continuedev/continue) says it is no longer actively maintained and is read-only. Start it with openmoat run -- cn to keep it in a sandbox; openmoat doctor warns about this.

Hooks Agents’ own sandboxes openmoat run openmoat proxy install
macOS yes Claude Code, Codex, Cursor macOS 13 or later launchd user agent
Linux yes Claude Code, Codex, Cursor yes: the Isolated tier by default where bubblewrap works systemd user unit
Windows yes (not the Cline CLI) Codex only; use WSL2 for Claude Code no; use WSL2 not yet
  • macOS: openmoat run uses Seatbelt and needs macOS 13 or later. On macOS 12 it refuses to start and says so; the hooks still apply the policy.
  • Linux: from 0.20.0 openmoat run starts the Isolated tier (bubblewrap) by default where bubblewrap works: the agent sees only the project, the read roots, its executable, the --write paths and an empty temp directory, the project’s .env, .git/hooks and .moat included, and its network goes only through OpenMoat’s proxy. Where bubblewrap is missing or blocked, it starts the Lightweight tier (Landlock and seccomp), says why on every start and records it; there the network is limited by port only, and from 0.21.0 the project is granted entry by entry, so its .env, .git and .moat stay covered but nothing can be created directly at its top (Project files on Linux). openmoat doctor says which tier applies (Linux tiers and Landlock).
  • Windows: the hooks apply the policy to every call, except for the Cline CLI, which is not covered on native Windows (its hook script needs sh). goose on Windows needs sh on the search path to run any hook; without it every call is blocked. PowerShell commands are not parsed, so OpenMoat never allows one: they go to your agent’s prompt. Secrets kept in the system keychain cannot be brokered yet. From 0.21.0:
    • WSL crossings are denied (wsl-crossing): handing work to the Windows Subsystem for Linux (wsl, wslg, wslconfig, bash.exe in the system folders, the listed Store distribution launchers, also inside a cmd or PowerShell line or a start line), any path on the \\wsl$ or \\wsl.localhost share, and copying the launchers, since no Windows path rule reaches inside WSL. A cmd or PowerShell line beyond simple commands, or one naming wsl or bash anywhere, needs review.
    • The state directory gets its own access list: openmoat init gives it your account and SYSTEM only, and refuses a state directory another account owns; openmoat doctor reads back which account owns it and its access list and names any other account that may change or read it. This keeps other accounts out, not the agent, which runs as you; the hook’s rules keep the agent out.
    • Codex’s sandbox mode: openmoat doctor shows which Windows sandbox mode Codex’s config.toml selects, and warns under unelevated, which does not enforce OpenMoat’s read denies. Where WSL is installed it names WSL2 as the way to OS confinement, and under WSL1 it says that openmoat run needs WSL2.

An agent’s own settings can turn its hooks off, and OpenMoat cannot override them. openmoat status and openmoat doctor report the ones in your own settings as not protected, and warn about a project’s settings that turn hooks off, add hooks or start programs:

Agent Setting
Claude Code disableAllHooks in settings.json
Codex [features] hooks = false in config.toml, or OpenMoat’s hook not trusted in /hooks
GitHub Copilot CLI disableAllHooks in settings.json
pi an extensions entry that leaves OpenMoat’s out, or --no-extensions
Gemini CLI hooksConfig in settings.json, or a folder Gemini CLI does not trust
OpenCode -openmoat (or -*) in plugins, or a policies entry denying OpenMoat’s plugin, in opencode.json[c]; OpenCode 1’s --pure or OPENCODE_PURE
Hermes Agent the hook’s command not approved in shell-hooks-allowlist.json; HERMES_SAFE_MODE=1; a profile OpenMoat did not set up
Cline CLI --yolo; --config, --hooks-dir or a moved CLINE_DIR that OpenMoat did not install into
goose disabledPlugins naming openmoat in ~/.config/goose/settings.json or a project’s .config/goose/

The agent itself is denied writing your own settings files of these, so only you, or a program running outside the agent, can change them.

Every gap per agent, with the reasons: THREAT_MODEL.md. Every tool each hook sees: INSTALL.md.