Kintsugi
Let AI agents and your team move fast, without wrecking the machine.
A safety net for every command on your box: AI agents are caught before they do
damage; the humans (DBAs, operators) get a tamper-evident audit trail with
one-command undo.
AI agents now run real shell commands on your computer: rm -rf, git push --force, DROP TABLE, writes straight to disk. Almost always that's fine. The one
time it isn't, a hallucinated path, a prompt-injected instruction, a confident
wrong guess, there's no undo, and you find out after.
Kintsugi is the seatbelt. It sits between the agent and your system, catches the
dangerous command before it runs, explains it in one plain sentence, makes
destructive actions reversible, and keeps a tamper-evident record of everything
every agent did. Local-first: no cloud, no account, nothing leaves your machine.
Website: https://kintsugi.tools/ · Docs: docs/
- MCP Registry name:
mcp-name: io.github.kintsugi-tools/kintsugi

Real Kintsugi output, looping: hold card → denied timeline → live TUI. (Static
frames in docs/img/ if the animation doesn't play.)
Security spine: the decision to hold/deny a catastrophic command is made by
deterministic rules, never an LLM. The raw command is always shown verbatim;
the model only explains. The event log is append-only and hash-chained, and
nothing leaves your machine. See CLAUDE.md for the full rules.
Assurance: an adversarial stress + vulnerability assessment
(docs/security-assessment.md) measures it,
0 / 176 dangerous commands leak to Safe across a MITRE ATT&CK + GTFOBins
corpus, 1.4M fuzz inputs with no crash (a real heap-DoS was found and fixed),
0 known CVEs, 0 unsafe. Every figure is reproduced by a committed test.
Why Kintsugi
- It stops the mistake before it happens: not a post-mortem. A deterministic
rule engine (not an LLM rolling the dice) decides what's catastrophic, so the
block is predictable and can't be "talked out of" by a clever prompt.
- Works with every agent, and your shell. Native pre-tool hooks for Claude
Code, Cursor, Codex, Qwen, Gemini, Copilot, OpenCode, and Google Antigravity,
or a raw
bash script via the $PATH shim: one safety layer at the process
level, not a fragile per-tool plugin. kintsugi init wires them all in one command.
- Reversible by default. Kintsugi snapshots files before a destructive op, so
kintsugi undo brings them back. The honest promise is nothing unrecoverable,
a filesystem backstop catches even changes that slipped past interception.
- Private and auditable. No cloud, no telemetry, no account. Every command
every agent ran lands on an append-only, hash-chained log you own, tamper
with a past entry and verification breaks.
- Calm until it must shout. Safe commands fly through in well under a
millisecond; Kintsugi only interrupts for the ones that can actually hurt you.
Runs on macOS, Linux, and Windows. Install is one command; it works immediately
with no model and no setup beyond kintsugi init.
How Kintsugi decides what's dangerous
The block decision is deterministic and LLM-free: fixed rules a human wrote,
never a model guessing (the model only ever explains and can only add
caution). What makes it trustworthy is how it reads a command: