@openagentlock/cli
v0.1.24
Published
OpenAgentLock CLI — a firewall for AI coding agents. Detects local agent harnesses (Claude Code, Codex CLI, Cursor, OpenCode, Cline, Gemini CLI, Continue, Copilot), gates risky tool calls via a Go control plane, anchors decisions in a Rust Merkle ledger.
Downloads
2,708
Readme
@openagentlock/cli
The agentlock CLI — a firewall for AI coding agents.
bun add -g @openagentlock/cli
# or
npm i -g @openagentlock/cliThe CLI talks to a local control plane (Go service in Docker, port 7878). Pull and start the control-plane image:
docker pull ghcr.io/openagentlock/agentlockd:latest
docker run -d --name agentlock \
-p 127.0.0.1:7878:7878 \
-p 127.0.0.1:7879:7879 \
-v agentlock-state:/var/lib/agentlock \
ghcr.io/openagentlock/agentlockd:latestThen use the CLI:
agentlock detect # list local agent harnesses
agentlock install # plan + apply hooks for selected harnesses
agentlock status # control-plane health
agentlock dashboard # OpenTUI dashboard — live ledger, sessions, gates
agentlock doctor # read-only daemon, ledger, policy, session, and hook diagnostics
agentlock false-positive 42 # export a redacted case bundle for a matched eventFor attested install (TOTP, hardware signers) and policies, see openagentlock.github.io/OpenAgentLock.
Full documentation: https://openagentlock.github.io/OpenAgentLock/
Source: https://github.com/openagentlock/OpenAgentLock
License: FSL-1.1-Apache-2.0 (see repo LICENSE).
