Agentic Control Plane: Claude Code Plugin
Checks every Claude Code tool call against your rules before it runs, and logs it. That covers Bash, Read, Write, Edit, WebFetch and all MCP tools. With --local the rules and the log stay on your machine. The default install connects a workspace, and they live there. Your tools and your workflow don't change.
The check runs as a Claude Code hook on your machine. If hooks are switched off (disableAllHooks), nothing is checked.
Docs: install guide + troubleshooting · which Claude Code tools to deny out of the box · the Tool Surface Index (every tool one Claude Code session declares, grouped by blast radius)
One-command install
# Free, on-device, no account. Governs Claude Code locally:
curl -sf https://agenticcontrolplane.com/install.sh | bash -s -- --local
This installs the plugin plus the on-device engine and activates the hook. Every Claude Code tool call is checked against ~/.acp/policy.json and logged to ~/.acp/audit.jsonl. No account, nothing leaves your machine. Restart Claude Code and the hook is active.
Want team policy across everyone's agents, verified identity, and the cost X-ray? Run it without --local and the installer opens your browser to provision a shared workspace instead:
curl -sf https://agenticcontrolplane.com/install.sh | bash
Already have the plugin? Run /acp-connect inside Claude Code to connect.
How it works
The plugin registers a PreToolUse hook that fires before every tool call:
- The hook sends the tool name and input to the decision engine: on-device (
~/.acp/decide.mjs) in --local mode, or ACP's governance API when connected to a workspace.
- The engine evaluates the safety floor, scope enforcement, ABAC policies, rate limits, budget caps and content scanning. A connected workspace runs all of them. On-device you get the safety floor plus your
policy.json.
- It returns
allow, ask or deny.
- Every call is logged, to
~/.acp/audit.jsonl on-device or to your workspace's audit trail when connected.
Teammates in a Claude Code agent team are governed as subagents, like Task-spawned subagents, because a teammate is an agent, not the human: their calls get subagent-tier policy and they can't file /acp workspace changes.
If ACP is unreachable
Interactive sessions proceed with a loud UNGOVERNED warning, and the floors below still apply. Subagent, background and API sessions stay blocked until the gateway answers.
To block interactive calls during an outage too, run echo closed > ~/.acp/failmode or set ACP_FAIL_MODE=closed (works from plugin 0.30.1). It only tightens: it never opens a blocked tier. Anyone with shell access can delete that file, so it is a setting, not a lock.
When ACP denies or blocks a call, the message starts with one of these prefixes so you can tell the cause at a glance:
[ACP] Denied by policy: <reason>: a rule blocked the call.
[ACP] Blocked by the safety floor: ...: the on-device floor stopped it (the destructive and uninstall floors use similar [ACP] prefixes).
[ACP] Gateway unreachable (...): ACP didn't answer. This is an availability failure, not a judgment about the call.
[ACP] Key rejected (HTTP 401/403): the key in ~/.acp/credentials is revoked or invalid.
Offline floor and local ledger (v0.16.0+)
Whenever the gateway cannot see a call (no key on this machine yet, key present but gateway unreachable, or --local mode) the hook still does two things:
- Applies the floors. There is also an uninstall floor that guards ACP's own files. The hardline floor denies catastrophic commands: wiping root or home, formatting disks, fork bombs. The destructive floor asks a human before a force push, destructive SQL handed to a database client, a remote download piped into a shell, or a recursive delete outside the working directory. Everything else follows the outage rules above (interactive proceeds with a warning, unattended stays blocked); in
--local mode your policy.json decides. The floors read what will execute, not what appears: a heredoc written to a file or a quoted string never trips them.
- Records the call to
~/.acp/ledger.jsonl: tool, classification, decision, reason, timestamp, session. Bounded at 5 MB. Nothing leaves the machine without a key.
When a key is connected (or the gateway comes back), the ledger uploads once, in the background, and the calls appear in your workspace audit with their original timestamps. Connect after two weeks of local use and the console shows two weeks of history. Buffered rows are a record, not a decision: they are never re-evaluated against workspace policy.