Where to use it
Pick your situation. See which parts protect you.
On a laptop
One developer, one or more agents, real keys and SSH config on disk.
$ openmoat initUnattended agents
Nobody answers prompts: auto-approve, background agents, long runs. A review stops the call; a deny never runs.
$ openmoat run --write ~/.claude --write ~/.claude.json -- claudeMCP servers
Third-party servers get tool calls and can change between runs.
$ openmoat mcp wrap githubA team, one policy
Everyone should get the same rules, from the repository or a signed pack, and no repository can loosen anyone’s own.
$ openmoat trustCI and pull requests
Agent-written changes reach main through pull requests, from machines with OpenMoat and without it.
$ openmoat policy check-diff --base origin/mainAudit and compliance
You must show what agents were allowed and denied, and that the record was not changed. Evidence, not a certification.
$ openmoat audit evidence --since 30dBuilding an agent
Your own product runs tools for users and needs the same decision before each one.
$ npm install @openmoat/sdkEvery part, every situation
| Situation | Policy | Sandbox | Egress | Secrets | MCP pins | Audit | Merge check | SDK |
|---|---|---|---|---|---|---|---|---|
| On a laptop | core | helps | not used | not used | not used | core | not used | not used |
| Unattended agents | core | core | core | helps | not used | core | not used | not used |
| MCP servers | core | helps | not used | not used | core | not used | not used | not used |
| A team, one policy | core | helps | not used | not used | not used | not used | not used | not used |
| CI and pull requests | helps | not used | not used | not used | not used | not used | core | not used |
| Audit and compliance | helps | not used | not used | not used | not used | core | not used | not used |
| Building an agent | core | not used | not used | not used | not used | not used | not used | core |
● core for that situation · ○ helps · · not used there. Each row follows its guide in the docs. Not in the table: session taint and injected input, which make the hook stricter after a session read untrusted content.
Where it runs
What each agent gets: Supported features. Ready? Get started.