A local policy and safety layer for coding agents
Isonapse checks the covered actions your coding agent is about to take against your rules, on your own machine.
Normal applies your block and ask rules and deterministic safety checks. Enforce adds behavioral review. Every allow or question the local Isonapse daemon issues is signed into a log you can verify offline.
Both ways to install start with one command:
brew install isonapse/tap/isonapseYour rules and records stay on your machine by default. No Isonapse account, no telemetry.
macOS 11+ on Apple silicon · Linux x86_64 or arm64 with glibc 2.35+
Already installed and stuck? Find a fix
- 09:41:02
Claude Code reads a file
README.md
AllowSigned - 09:41:09
Claude Code runs a command
npm test
AllowSigned - 09:42:31
Claude Code runs a command
npm publish
AskSignedYour ask rule for publishing matched, so Claude Code waits for your answer. On Codex and Hermes Agent, an ask is a refusal.
- 09:43:05
Claude Code runs a command
rm -rf build
BlockRecordedYour block rule for
rmmatched, so Isonapse refused the command, and the agent sees your message.
Each row is what the agent tried. Every allow, and every question you can approve, that the local daemon issues is signed before the action goes ahead. The record keeps a digest of the action and a short label, never your command's arguments. Check the log offline with isonapse hook witness verify.
New here? Pick how to start
If you have Docker, use the wizard and dashboard. You edit no file, Codex included, and later changes start in your browser. If you do not want Docker or a server, or you use Hermes Agent or pi, use the command line. You can add the dashboard later.
With the wizard and dashboard
The Agent Hook (the program that checks your agent) plus Community Edition (a dashboard and server you run in Docker). You finish setup in your browser with no file to edit, Codex included, then add or remove agents and change policy from the dashboard, on your own machine.
You need: Claude Code or Codex, installed. Docker, running. A browser on this machine. An administrator account, one that can use sudo, on a machine with no other login accounts.
Works with: Claude Code and Codex.
Command line only
The Agent Hook alone. Your rules, modes and signed records, all from the terminal. No dashboard.
You need: One of the agents below, installed and signed in. Homebrew or curl. To change rules or modes later, an administrator account, one that can use sudo. No Docker, no server, no Isonapse account.
Works with: Claude Code, Hermes Agent and pi. Codex works too, by hand, in more steps.
Bring your own agent with the open Hook ADK
Claude Code, Hermes Agent and pi are built in. Any other agent can connect through an adapter built with the open-source Hook ADK (Apache-2.0): Python and TypeScript libraries, a published host protocol, and a reference adapter for OpenAI Codex CLI. You review and register an adapter, and the easy install does this for Codex; its actions then go through the same local policy and signed record, within what the host supports.
Today, Isonapse governs covered actions from Claude Code, Hermes Agent v0.20.0, and pi 1.0.3, 1.0.4 and 1.5.0 on your machine (set up each agent), and from Codex CLI or your own agent through the open Hook ADK. Not sure what the two parts are? The Agent Hook and Community Edition, in one small table
Community Edition, a self-hosted team server and dashboard, is in public beta. The local Hook needs no server. Install with the wizard and dashboard · Set up the server by hand
What people use it for
- Stop destructive commands before they runAdd a rule that refuses a command, such as
rm, with a message that says what to use instead. In Normal and Enforce, Isonapse refuses the command before it runs, and the agent sees your message.All four agents. - Ask before risky commands runAdd an ask rule for a command, such as publishing a package. In Normal and Enforce, the agent stops and asks you, and the command runs only if you approve it.Claude Code and pi ask you. On Codex and Hermes Agent an ask is a refusal.
- Keep credentials out of the modelStore a credential once and allow it for the commands that need it. In Normal and Enforce, an allowed placeholder resolves locally in a Bash command; placeholders stay literal in Profile and in Edit, Write, WebFetch and MCP input.Claude Code, Codex and pi. Hermes Agent refuses a call that needs a rewrite.
- Keep agents away from secret files and foldersName the folders and file patterns agents must not touch, such as
.envfiles. In Normal and Enforce, Isonapse refuses reads and writes of them however the agent spells the path.All four agents. On Codex and Hermes Agent these rules refuse a relative path, so the agent must use absolute paths.
Three parts, one local loop
Your rules decide
Write clear local rules for what your supported coding agent may do, what needs your confirmation, and what must stop. A language model never gets the final say.
Isonapse checks
Covered shell, file, web, and tool actions pass a local checkpoint before they run. Routine work can flow; unusual or destructive work can pause or stop.
The record proves it
Every allow, and every question you can approve, that the daemon issues is signed into a tamper-evident record before the action goes ahead. You can verify that record offline.
- Works offlineAfter setup has downloaded the required model, enforcement needs no network connection.
- No account, no telemetryThe Agent Hook needs no account and sends no telemetry.
- Signed recordsYou can verify the log offline with only the public key.
- Not a sandboxIt checks the actions a host reports, not every process on the machine. All guarantees and limits
Your rules and authorization history stay on your machine by default, and Isonapse sends no telemetry. If you explicitly configure an optional self-hosted receiver, Isonapse can send signed witness batches and enrolment metadata to that receiver. Setup downloads and the update check are explained under Reference.
New in this release
Coding agents behind the egress exit, blocked sites that stay blocked, and a searchable Activity
The latest public beta extends the working product without changing its basic promise: your policy decides locally, and usable authorizations wait for a signed record.
Already installed? Update Isonapse in your terminal. Something not working? Find the message you see.
Run Claude Code or Codex behind the egress exit
Claude Code and Codex; checked at the network only
What a wrapped agent coversBlocked sites stay blocked
Normal and Enforce; Claude Code's web fetches
Read the blocked-sites fieldSearch what your agents did
Community Edition dashboard; your 10 most recently active agents
See the dashboardLinux on 64-bit Arm
glibc 2.35 or later; install script only
Check the system requirements
Stuck?
Paste the message you see, and Help finds what to do.