Skip to content
Isonapse
Install

Use cases

What you can set up, what Isonapse then does, and where it stops. Each one links to the page that shows how.

Your rules act in Normal and Enforce. Profile, where the command line starts, only reports what they would do.

Start from a policy made for your kind of work

All four agents. On Codex and Hermes Agent an ask is a refusal.

You set up
Pick the starter policy closest to your work, such as web development, data work or infrastructure, and apply it with one command.
Isonapse then
In Normal and Enforce, Isonapse refuses writes to the files that policy protects, asks before the commands it lists, and keeps agents from changing Isonapse's own files.
Where it stops
  • Applying a starter policy replaces your whole policy. The old one is backed up first.
  • Most starter policies block writes, not reads: the agent can still read the files they protect.
  • Each one is a starting point: replace its example names and hosts with yours.

Stop destructive commands before they run

All four agents.

You set up
Add a rule that refuses a command, such as rm, with a message that says what to use instead. Or block a whole kind of action, such as sudo, for every agent.
Isonapse then
In Normal and Enforce, Isonapse refuses the command before it runs, and the agent sees your message. Profile only reports it.
Where it stops
  • A shell command is matched by the program Isonapse's shell analysis attributes it to. Unusual shell forms can be misread.

Ask before risky commands run

Claude Code and pi ask you. On Codex and Hermes Agent an ask is a refusal.

You set up
Add an ask rule for a command, such as publishing a package or a launcher that downloads and runs code.
Isonapse then
In Normal and Enforce, the agent stops and asks you, and the command runs only if you approve it. Profile only reports it.
Where it stops
  • Codex and Hermes Agent cannot ask you, so they get a refusal instead.

Keep agents away from secret files and folders

All four agents. On Codex and Hermes Agent these rules refuse a relative path, so the agent must use absolute paths.

You set up
Name the folders and file patterns agents must not touch, such as a company-secrets folder, .env files or *.pem keys.
Isonapse then
In Normal and Enforce, Isonapse refuses reads and writes of them however the agent spells the path, including the file writes it can read in a shell command.
Where it stops
  • It checks the files a command visibly names; it is not operating-system confinement.
  • With a read rule, Normal and Enforce also refuse a command that runs code whose reads Isonapse cannot name, such as python or node.
  • Pi's grep, find and ls search roots follow tool:Read folder rules, including relative paths and symlinks; grep and find path globs are checked too. Normal and Enforce refuse a covered or uncheckable read; Profile reports what it would refuse.

Choose the sites an agent can fetch

Claude Code through WebFetch, and Hermes Agent through web_extract when you add its own site rules.

You set up
List the sites to block, or the only sites the agent may fetch. Add separate tool:web_extract rules for Hermes Agent; WebFetch rules do not carry over.
Isonapse then
Isonapse refuses the agent's web fetches to the sites you blocked, or to every site you did not list.
Where it stops
  • Hermes web_extract takes one valid HTTP(S) URL per call. A batch, even for one site, or an empty or uninspectable URL list is refused in Normal and Enforce; Profile reports what it would refuse. Send one URL per call. A tool:WebFetch blocked-site rule can also refuse a blocked host visibly named by shell curl; its allowed-site list does not limit shell commands. These checks do not confine network traffic.

Limit how fast an agent can act

All four agents.

You set up
Set how many shell commands or web fetches an agent may run per minute, hour or day.
Isonapse then
Once an agent reaches a limit, Isonapse refuses that kind of action until the period has passed.
Where it stops
  • Counts are kept in memory for each agent session. A new session, a restart or a policy change starts every count again.

Let an agent inspect, with its Write and Edit tools refused

All four agents.

You set up
Apply the starter policy that refuses the Write and Edit tools and allows web fetches only to a short list of sites.
Isonapse then
The agent can still read and search. Isonapse refuses its Write and Edit tools, and its web fetches to any site not on the list.
Where it stops
  • Claude Code's MultiEdit and NotebookEdit, and the shell, which is only rate-limited, can still change files. Confining the agent's host is the durable boundary.

Rules that travel with the repository

All four agents.

You set up
Keep restrictions in .isonapse/policy.lua in the repository, and commit it.
Isonapse then
Every fresh clone starts with those restrictions, with no extra step. A project rule that loosens your own policy works only after you trust that exact file.
Where it stops
  • It is not an operating-system sandbox.
  • Profile, Normal and Enforce are one setting for the whole machine, not one per repository.

Keep credentials out of the model

Claude Code, Codex and pi. Hermes Agent refuses a call that needs a rewrite.

You set up
Store a credential once, allow it for the commands that need it, and let the agent write its {{ secret.NAME }} placeholder.
Isonapse then
In Normal and Enforce, an allowed placeholder resolves locally in a Bash command, and Isonapse authorizes the exact command that will run.
Where it stops
  • Placeholders stay literal in Profile and in Edit, Write, WebFetch and MCP input.
  • Secret scrubbing protects exact values, not encoded or derived copies: a command that prints such a copy still sends it to the model.
  • Stored secrets are encrypted at rest, but your account on this machine remains the boundary.

Prove what your agent did

All four agents.

You set up
Nothing extra: Isonapse records its decisions from the start.
Isonapse then
Every allow, and every question you can approve, is signed into a tamper-evident log before the action goes ahead. A copy can be checked offline with only the public key.
Where it stops
  • Only the actions an agent's integration reports are recorded. If Codex cannot start the adapter, it runs the tool with no check and no record; Hermes Agent in safe mode, and pi without the Isonapse extension, are not checked at all.
  • Refusals Isonapse decides are recorded whenever its storage is available. A refusal an agent's integration makes before Isonapse decides carries no record.
  • If Isonapse cannot be reached, Claude Code shows its own approval prompt, and Isonapse records nothing.

Flag the unusual, not your routine work

Claude Code and pi ask you. On Codex and Hermes Agent, a question is a refusal.

You set up
Work in Normal for a while, review the rules it proposes, then switch to Enforce.
Isonapse then
In Enforce, Isonapse asks about unfamiliar or destructive work that Normal lets through, while actions close to work you approved before can pass without a question.
Where it stops
  • Enforce adds questions that Normal does not ask; on Codex and Hermes Agent it refuses that work instead.
  • Learning never overrides a rule you wrote, and in Enforce a familiar-looking destructive action still asks.
  • The mode is one setting for the whole machine: switching to Enforce applies to every repository and agent on it.

See several machines in one dashboard

Every connected agent reports there. The dashboard sets up Claude Code and Codex on its own machine.

You set up
Run the Community Edition server and dashboard with Docker, then connect another machine with a one-time join code from the dashboard.
Isonapse then
The dashboard shows what every connected agent did once it reports, across your machines.
Where it stops
  • A real second machine needs your server behind HTTPS. This version supports single-user machines.
  • An AI agent that can use the Docker running your server controls the server, its records and its keys.
  • On the Hosts page, another machine shows only when its last record arrived.
  • The dashboard shows what agents may do and what they did; it does not run them.

Write rules your own way

All four agents.

You set up
Write your policy in Lua: share a list across rules, build an allowlist with a loop, combine a shared base with your overrides, or decide per action with a check_action function.
Isonapse then
In Normal and Enforce, Isonapse applies your rules to the actions your agents report; Profile only reports them. A misspelled field name is refused when the policy loads.
Where it stops
  • A policy cannot read files, run programs or load modules. It sees only the environment variables you allow, the time and the machine's name.
  • Names inside a field are not checked when it loads, so try each rule before you make it active.

Govern Codex or your own agent

OpenAI Codex CLI, and your own agent through the Hook ADK.

You set up
For Codex, the easy install sets up the reference adapter, or you review and register it yourself. For your own agent, build an adapter with the Hook ADK in Python or TypeScript, and register its host profile.
Isonapse then
Isonapse checks each tool call the adapter reports, and the adapter refuses what Isonapse refuses.
Where it stops
  • Codex cannot ask you: an ask is a refusal.
  • If the hook cannot run, Codex runs the tool with no check.
  • Your own agent is covered only as far as its adapter reports tool calls and its host honors a refusal.

Ready-made policies and rules are in Recipes. Stuck? Help finds the message you see.