Squidbrake
Change control for AI agents. Agents propose. People approve.
10,000+ PyPI downloads.


Your AI agents run commands, edit code, call MCP tools, send emails, issue refunds and change databases. Squidbrake
sits between the agents and those actions:
- routine work runs on its own, and is recorded
- risky changes wait for a person who isn't the one who asked
- catastrophic ones are blocked
Every decision goes into a tamper-evident record that someone outside engineering can read.
One policy covers every agent your company runs: Claude Code, Cursor, Codex, Gemini CLI, VS Code Copilot,
Antigravity, Qwen Code, Factory Droid, Kiro, and any MCP tool. Open source (Apache 2.0): blocking and holding are free. Phone and Slack/Teams/email approvals (Starter), the audit export (Pro), more than one person (Team) and SSO with compliance reports (Scale) need a license (squidbrake license, see pricing). Runs on your laptop or your own server.

Why
Agents are good at each step and blind to the whole. Often every step is allowed, and the combination isn't:
- An agent turns off a database's backups. Later, in another conversation or from another agent, it deletes the
database.
- An agent reads a web page, an issue or a support ticket that names an address. It then sends your data there.
- A person rejects a force push, and the agent retries it with a different spelling.
Built-in agent permissions judge one tool call at a time, inside one agent. Squidbrake judges each action against
what came before it, across conversations and agents. A person signs off on what matters, with the reason and the
steps that led to it.
How it works
agent (Claude Code, Cursor, Codex, MCP client, your own code)
│ every action, before it runs (hook, MCP proxy or HTTP)
▼
Squidbrake gateway ── rules.yaml + what came before ──► allow · hold for a person · block
│ │
└──────────── tamper-evident record ◄──────────────────────┘
dashboard · phone · Slack · Teams · email · SIEM
- Deterministic. No LLM decides anything. Rules and checks are in
rules.yaml, hot-reloaded on save.
- Reads what a command really does before it runs:
ls && rm -rf ~/, bash -c "...", curl ... | sh
- Makefile targets and
package.json scripts
- commands sent over
ssh, docker exec and kubectl exec
- Shows the approver the blast radius, measured on the developer's machine:
- "removes 3 commits from origin/main"
- "deletes 4,312 rows of 10,240 in orders"
- "destroys 12 resources, including aws_db_instance.main"
