Set up each agent
The exact setup and limits for each built-in agent.
Choose your host
A host is a coding agent that Isonapse looks after. Use the setup command for your installed host. Each integration shares the same local daemon, user policy and repository rules; their coverage differs. Claude Code uses isonapse hook init from its install steps and a fresh Claude session. Each host init automatically downloads about 91 MB for the required local embedding model.
What each host can block, ask and rewrite is in Supported hosts. Why the versions are exact explains the version lists below.
Why the versions are exact
Isonapse lists the exact host builds whose hook behavior has been verified. Hermes Agent was checked against an audited upstream commit; pi and OpenAI Codex CLI were checked by running the real host against the shipped integration.
Setup refuses an unlisted Hermes or pi build before it writes anything, and isonapse hook status --details reports a host that has changed since. On an unlisted pi, the extension also refuses every tool call itself, in every mode, without a receipt.
Isonapse does not pin or check the Claude Code version. It relies on Claude Code's hook contract, and isonapse hook doctor --details shows the version it observes when the daemon is running, with compatibility reported as unknown. The Codex adapter does not check the Codex version, so check codex --version after a Codex update: it is for codex-cli 0.159.0 or newer, and a version it has not been contract-tested on runs unqualified. For Hermes and pi, until a release lists a newer host version, stay on the listed one.
Hermes Agent v0.20.0 (2026.8.3)
Init installs and enables the Isonapse plugin. Before it writes anything, it checks the Hermes build, the two environment variables, the shared-metrics setting and the enabled plugins, and refuses if one is wrong; it does not change them for you. Before you run it, check that:
- You run exactly Hermes Agent v0.20.0 (2026.8.3), audited upstream commit
3c27eb623. Init runs thehermeson yourPATHand refuses every other build: this is an exact requirement, not a minimum. HERMES_SAFE_MODEis unset (or not1,true,yesoron): safe mode skips every plugin, including Isonapse's.HERMES_ENABLE_PROJECT_PLUGINSis unset (or not1,true,yesoron): a project plugin can replace Isonapse's.- You run init, status and Hermes from the same shell. Init and status can only check their own environment.
- You set Hermes's
telemetry.shared_metrics.enabledsetting to exactlyfalse: shared-metrics relay execution bypasses the governed tool pipeline. This is Hermes's own setting; Isonapse sends no telemetry. - Isonapse is the sole enabled user plugin. Disable the others (
hermes plugins list --enabledshows them), because another enabled plugin can bypass or shadow governance. No other plugin may be namedisonapse. - Init, status and Hermes use the same
HERMES_HOME(default~/.hermes) and active Hermes profile; init installs the plugin into that profile. - You start Hermes in a recognized launch shape:
- the
hermesexecutable; - the
hermesconsole script that pipx,uv tool installor a virtual environment puts on yourPATH; - a source checkout run as
python -m hermes_cli.
preparation-refused, andisonapse hook doctor --detailsreports it as unauthenticated Hook ingress. - the
isonapse hook init --host hermesAfter a tool call in a fresh Hermes session, confirm that its decisions were recorded:
isonapse hook report --host hermesInit validates the supported profile; do not edit it concurrently. Hermes covers pre-tool authorization and session lifecycle. It cannot ask for approval or rewrite tool input/output: an ASK becomes a witnessed DENY, and actions requiring rewriting are denied. Gate mode is machine-wide, so a mode switch you make for another host applies to Hermes too. In Normal and Enforce, every ask becomes a witnessed DENY on Hermes, including asks for risky shell commands. In Enforce, the gate's first-action check also denies the first tool call of every Hermes session, and the first after the Isonapse daemon restarts; retrying the same call once proceeds when policy permits it. Hermes's delegate_task and execute_code tools are refused under governance. If the daemon is unreachable, Hermes refuses the tool call, without a receipt. Result observation is opportunistic, so do not rely on it for model-wide PII or injection filtering. If Hermes later reports another build, isonapse hook status --details shows why the Hermes integration is unready.
pi 1.0.3, 1.0.4 and 1.5.0 · Node.js 22.19.0+
This release supports only the exactly qualified pi releases, currently pi 1.0.3, 1.0.4 and 1.5.0. The list is exact, not a minimum or a range: every other pi version is refused by design until it is qualified, including pi 0.80.2, and init stops before writing anything. Install the newest with npm, which pins the exact release, and confirm pi --version prints 1.0.3, 1.0.4 or 1.5.0 first:
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@1.5.0isonapse hook init --host piInstall Isonapse as the only active pi extension. For a project-only install, use isonapse hook init --host pi --project from a folder pi already trusts, instead of the global install. In pi, /trust decisions are kept per agent directory (PI_CODING_AGENT_DIR, default ~/.pi/agent), so save the trust, run init and status, and start pi with the same one. Start pi without extension override flags (-e, --extension, -ne, --no-extensions); project mode also forbids -na/--no-approve. The pinned extension covers tool calls, prompts and session lifecycle.
pi update and the pi.dev installer always install the newest pi release, which this release may refuse until it is qualified. On a pi it has not qualified, or whose version it cannot verify (for example while PI_PACKAGE_DIR points pi at another package directory), the installed extension refuses every tool call in every mode, including Profile. The reason appears in pi once per session. That refusal happens inside pi before any Isonapse decision, so the refused call has no receipt. It depends on pi still loading the extension, so run isonapse hook status after any pi update. Project trust also lets pi start the MCP servers in the project's .pi/mcp.json at session start, outside Isonapse; each MCP tool call is still checked. After upgrading from pi 0.80.2, re-run isonapse hook init --host pi.
Updates: isonapse update refreshes the installed Hermes or pi integration. If it could not refresh one, it names the command to run. Check the result with isonapse hook status.
OpenAI Codex CLI · through the open Hook ADK
Codex CLI has no host init. With Docker, the easy install sets it up for you; otherwise you register the Hook ADK's reference adapter yourself, as described in the Codex CLI setup.
Start the shared daemon and verify the recorded integration before opening a fresh host session. For global pi installs, run status in every project you use.
isonapse hook startisonapse hook statusOptional local intelligence is a separate, skippable download (about 1.9 GB):
isonapse hook intel downloadThen continue with See it work and What to do next. Read what each host can enforce.
Check or remove an agent's setup
This shows what setup installed for each agent, and whether it is ready:
isonapse hook status --details| Agent | Set it up | Remove it |
|---|---|---|
| Claude Code | isonapse hook init | isonapse hook remove --host claude-codeThe terminal shows a plan; you approve it there. |
| OpenAI Codex CLI | Codex CLI setup | isonapse hook remove --host codexThe terminal shows a plan; you approve it there. |
| Hermes Agent | isonapse hook init --host hermes | isonapse hook remove --host hermesRemoved at once, without a plan to approve, from the Hermes profile your |
| pi | isonapse hook init --host pi | isonapse hook remove --host piRemoved at once, without a plan to approve. |
Removing one agent keeps your policy, your records and the other agents. Exit that agent's sessions before relying on the removal. Running it again for an agent that is already gone says so and changes nothing.
Run these in your own terminal, not inside an agent: they ask for the password you log in with, and a machine your organization manages refuses them.
Stuck? Help finds the message you see.