Cursor integration is not yet available.
agentjail install --for cursor is a stub that currently exits with
“not yet implemented”. Claude Code is the only agent with a working turnkey
installer today. Cursor support is planned for a future release.
Planned design
The intended integration follows the same pattern as the
generic hook guide: hook entries in
~/.cursor/hooks.json for the preToolUse and beforeShellExecution events
that pipe each tool-call event to agentjail-hook on stdin and read the
decision from stdout.
This design is not wired yet. Do not attempt to configure it manually — there is no supported path for Cursor at this time.
What is available today
- Claude Code integration: the only fully supported agent, with a turnkey installer on macOS.
- Generic hook guide: the hook protocol that any agent with a pre-tool-use callback can implement once support lands.
Check the changelog or the agentjail GitHub repository for updates on Cursor support.