Skip to content

Supported features

Every agent gets the same policy through its own hook. What differs is what the agent lets a hook see and do: whether OpenMoat can also set up the agent’s OS sandbox, which events the hook gets, and where you answer a review. openmoat status shows the level on your machine.

  • Claude Code

    Protection
    hook + OS sandbox (macOS, Linux, WSL2); hook only on native Windows
    Hook entries openmoat init writes
    PreToolUse, ConfigChange, SessionStart, PostToolUse
    A review becomes
    Claude Code's own prompt
    Injected input
    yes, since 0.16.0 (PostToolUse)
    Review of code it wrote
    only on native Windows or with its sandbox not in place
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    warns when it ran sessions and no call came
    Sandboxed start
    no: OpenMoat sets up its own OS sandbox
  • Codex

    Protection
    hook + OS sandbox
    Hook entries openmoat init writes
    PreToolUse, PostToolUse
    A review becomes
    the call is denied; run openmoat allow --last
    Injected input
    yes, since 0.21.0 (PostToolUse)
    Review of code it wrote
    no: OpenMoat sets up its sandbox
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    warns when it ran sessions and no call came; config.toml changing counts
    Sandboxed start
    no: OpenMoat sets up its own OS sandbox
  • Cursor

    Protection
    hook + OS sandbox (macOS, Linux); hook only on Windows
    Hook entries openmoat init writes
    beforeShellExecution, beforeMCPExecution, beforeReadFile, preToolUse, beforeTabFileRead
    A review becomes
    Cursor's prompt for shell and MCP calls; openmoat allow --last for file tools
    Injected input
    not yet
    Review of code it wrote
    only on native Windows or with its sandbox not in place
    Hook run by the real agent
    preview on every OS
    Says when it stops running the hook
    warns when it ran sessions and no call came (the Cursor CLI; the editor's chats are not seen)
    Sandboxed start
    no: OpenMoat sets up its own OS sandbox
  • OpenClaw

    Protection
    hook only (a before_tool_call plugin)
    Hook entries openmoat init writes
    before_tool_call
    A review becomes
    OpenClaw's own approval request
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    the plugin reports loading; a note only, its sessions are in a database
    Sandboxed start
    no: its Gateway serves a local port, which openmoat run does not allow
  • GitHub Copilot CLI

    Protection
    hook only
    Hook entries openmoat init writes
    preToolUse, postToolUse
    A review becomes
    Copilot's own prompt
    Injected input
    yes, since 0.21.0 (postToolUse)
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    warns when it ran sessions and no call came
    Sandboxed start
    yes, for openmoat run
  • pi

    Protection
    hook only (an extension)
    Hook entries openmoat init writes
    tool_call
    A review becomes
    a pi dialog
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux
    Says when it stops running the hook
    the plugin reports loading; warns when it ran without
    Sandboxed start
    yes, for openmoat run
  • Gemini CLI

    Protection
    hook only
    Hook entries openmoat init writes
    BeforeTool, AfterTool
    A review becomes
    Gemini CLI's own confirmation
    Injected input
    yes, since 0.21.0 (AfterTool)
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux
    Says when it stops running the hook
    warns when it ran sessions and no call came
    Sandboxed start
    yes, for openmoat run
  • OpenCode (1 and 2)

    Protection
    hook only (a plugin)
    Hook entries openmoat init writes
    tool.execute.before (OpenCode 1), execute.before (OpenCode 2)
    A review becomes
    OpenCode 2's own permission prompt; on OpenCode 1 the call is denied, run openmoat allow --last
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    preview on every OS
    Says when it stops running the hook
    the plugin reports loading; a note only, its sessions are in a database
    Sandboxed start
    yes, for openmoat run
  • Hermes Agent

    Protection
    hook only
    Hook entries openmoat init writes
    pre_tool_call
    A review becomes
    Hermes's own approval prompt
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    preview on every OS
    Says when it stops running the hook
    a note only: OpenMoat does not know where it writes a session
    Sandboxed start
    yes, for openmoat run
  • Cline CLI

    Protection
    hook only (PreToolUse and PostToolUse hook scripts)
    Hook entries openmoat init writes
    PreToolUse, PostToolUse
    A review becomes
    the call is denied, which ends Cline's run; run openmoat allow --last
    Injected input
    yes, since 0.17.0 (PostToolUse)
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    warns when it ran sessions and no call came
    Sandboxed start
    yes, for openmoat run
  • goose

    Protection
    hook only (a plugin)
    Hook entries openmoat init writes
    PreToolUse
    A review becomes
    the call is blocked; run openmoat allow --last
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    a note only: OpenMoat does not know where it writes a session
    Sandboxed start
    yes, for openmoat run
  • Antigravity CLI

    Protection
    hook only
    Hook entries openmoat init writes
    PreToolUse
    A review becomes
    Antigravity CLI's own prompt, asked every time
    Injected input
    not yet
    Review of code it wrote
    yes
    Hook run by the real agent
    Linux, macOS
    Says when it stops running the hook
    a note only: OpenMoat does not know where it writes a session
    Sandboxed start
    yes, for openmoat run
  • Qwen Code

    Protection
    hook only (preview)
    Hook entries openmoat init writes
    PreToolUse
    A review becomes
    Qwen Code's own prompt, even in YOLO mode
    Injected input
    not yet
    Review of code it wrote
    —
    Hook run by the real agent
    preview on every OS
    Says when it stops running the hook
    warns when it ran sessions and no call came
    Sandboxed start
    yes, for openmoat run (since 0.26.0)
  • Crush

    Protection
    hook only (preview)
    Hook entries openmoat init writes
    PreToolUse
    A review becomes
    the call is denied; run openmoat allow --last
    Injected input
    not yet
    Review of code it wrote
    —
    Hook run by the real agent
    preview on every OS
    Says when it stops running the hook
    a note only: OpenMoat does not know where it writes a session
    Sandboxed start
    yes, for openmoat run (since 0.26.0)
  • Protection: hook + OS sandbox: OpenMoat also writes the agent’s own sandbox from your policy, so the code an allowed call runs is confined. Hook only: an allowed call runs with your permissions; openmoat run -- <agent> puts any agent in an OS sandbox (OS sandboxes). On native Windows openmoat run is a preview that holds writes only (openmoat run on Windows).
  • Hook entries: the events openmoat init registers, from the table generated from each agent’s host spec (INSTALL.md). What each event covers, tool by tool: Supported agents.
  • Injected input needs the agent to report what a call returned. “Not yet”: the agent reports nothing after a call; results of its MCP servers that you wrap are still read by the gateway.
  • Hook run by the real agent: where a real copy of the agent ran OpenMoat’s hook and the decision held (Protection by agent and OS); every other system is preview.
  • Says when it stops running the hook: whether openmoat status, doctor and watch can warn when the agent ran sessions and no call of its reached OpenMoat, or give only a note (Is my agent still protected?).
  • Sandboxed start: whether openmoat init offers a shim so that typing the agent’s name starts it in openmoat run (Start agents sandboxed).
  • —: no source states it yet, so the page does not guess.
  • Policy check of each call the hook reports

    Every agent above (14).

  • OS sandbox for what an allowed call runs

    The agent’s own sandbox for Claude Code (macOS, Linux, WSL2), Codex, and Cursor (macOS, Linux); openmoat run for any agent, on macOS 13 or later and Linux; on native Windows a preview that holds writes and the process tree, not reads or the network (since 0.26.0).

  • Egress proxy

    Under openmoat run; for the agents’ own sandboxes with sandbox.proxy_port. The standalone proxy gives a session credential to Claude Code’s sessions only.

  • Token broker over HTTPS

    Through Claude Code’s own sandbox broker, and inside openmoat run for a tls: terminate secret. Elsewhere a request over HTTPS keeps the placeholder.

  • Injected input

    Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, the Cline CLI, and wrapped MCP servers (for every agent).

  • Review of code the session wrote

    Agents without an OS sandbox from OpenMoat, and Claude Code and Cursor on native Windows or with their sandbox not in place.

  • MCP gateway (tool pinning, cross-server check)

    A stdio server you wrap with openmoat mcp wrap, or every one with openmoat init --mcp-proxy.

  • Merge check

    Any pull request, whoever wrote it: openmoat policy check-diff and the GitHub Action.

  • Is my agent still protected?

    A warning in status, doctor and watch for Claude Code, Codex, the Cursor CLI, GitHub Copilot CLI, Gemini CLI, Qwen Code and the Cline CLI; a note only for goose, Hermes Agent, Antigravity CLI and Crush.

  • Scrubbed environment

    Every agent started with openmoat run, with sandbox.env: scrubbed or --scrub-env; off by default. Not the agents’ own sandboxes.

  • Decoy keys

    Every agent, at your yes in openmoat init; a decoy’s value is also refused at openmoat proxy.

  • Start agents sandboxed

    Gemini CLI, OpenCode, Hermes Agent, pi, goose, Antigravity CLI, GitHub Copilot CLI and the Cline CLI, at your yes in openmoat init, on macOS 13 or later and Linux; Qwen Code and Crush too since 0.26.0.

  • Protection score and strict mode

    Every openmoat run tier in openmoat doctor and the boundary record; sandbox.strict: true in your own policy refuses a run below 100. Landlock UDP rules on Linux 7.2 or later.

  • openmoat run on Windows (preview)

    Native Windows: a write-restricted token in a job object. Writes outside the project and the process tree are held; reads and the network are not. Scores at most 55 of 100.

  • Other hooks the agents run

    The hook files, helper commands, plugin hooks and project hook files of the agents OpenMoat reads, and every repository’s .git/config programs; openmoat hooks list and accept. Fail-safe hook commands for Codex, Gemini CLI, Qwen Code and Crush.

  • Signed audit checkpoints

    Every agent’s audit log: openmoat audit checkpoint, checked anywhere with audit verify --checkpoint --pubkey. What ran after a review: Claude Code only.

  • Does a change widen?

    openmoat policy diff --widen, policy upgrade (--accept-widening), trust, policy install and the merge check’s diff-widens.

  • Private data, untrusted content and a way out

    Every agent’s sessions, by default (lethal-trifecta), and staging-egress after openmoat policy upgrade. Not inside openmoat run’s proxy.

  • Argument conditions (when:)

    Deny and review rules of a policy; the hook and the MCP gateway read the arguments, OS sandboxes do not.

  • MCP 2026-07-28, sampling and package releases

    Stdio servers through openmoat mcp proxy; package release pins for wrapped and unwrapped servers started with npx, uvx or docker run.

  • Default rules from outside benchmarks

    Every agent, after openmoat policy upgrade: system-files, stops-system, credential-egress and more in secrets-paths, persistence and token-egress.

What no layer stops, in one place: Limits.