01 / Safety for AI agents

Your agent has shell access.
Give it a conscience.

Kintsugi sits between your AI coding agent and the shell. Destructive commands are caught before they run, held for your approval, and made reversible, locally, every time.

$ curl -fsSL https://kintsugi.tools/install.sh | sh

macOS · Linux · kintsugi init to finish setup

100% localNo telemetryMIT OR Apache-2.0
Kintsugi holding a destructive command for approval
The assurance record

Safety you can measure.

0 / 176
dangerous commands leaked past the guard
1.4M
fuzz inputs, no crash
0
known CVEs
0
commands marked safe that were unsafe

Deterministic by design

Every safety decision comes from deterministic rules. A model may explain what a command does, but it never decides whether the command is allowed. No judgment calls, no drift.

It reads the command, not keywords

A two-pass bash AST parser and tokenizer understand what a command actually does, including pipelines, substitutions, and obfuscation, instead of pattern-matching strings.

Held when it can't be sure

Ambiguous commands are held, never waved through. Kintsugi fails toward caution and never labels a catastrophic action as safe: rm -rf, DROP TABLE, git push --force, terraform destroy, dd, mkfs, secret reads, and more.

Undo is a command away

Copy-on-write snapshots capture what a command will touch. If something goes wrong, kintsugi undo puts it back, with no backup ritual and no guesswork.

A record you can't quietly edit

An append-only, hash-chained log in SQLite records every decision. Tampering with an entry breaks the chain, so you can trust the audit trail.

Your agent, your rules

A PATH shim and hooks work with Claude Code, Cursor, Codex, Qwen, Gemini, Copilot, OpenCode, and Google Antigravity. kintsugi test, dry-run, guard, and limits let you tune the edge before you trust it.

How it works

Between the thought and the shell.

Three steps, all on your machine, every time your agent reaches for a command.

01 / PARSE

Understand the command

A bash AST parser and tokenizer read what the command actually does, not just the words it contains.

02 / DECIDE

Apply deterministic rules

Catastrophic actions are held. Ambiguous ones are held too. Nothing dangerous is ever waved through.

03 / RECORD

Snapshot, log, allow

A copy-on-write snapshot and hash-chained log entry are created before the command runs. Undo stays one command away.

Install

One command. Then kintsugi init.

The installer puts the guard on your PATH and kintsugi init wires it into the agents you use. No account, no daemon phoning home.

$ curl -fsSL https://kintsugi.tools/install.sh | sh

Copied exactly · runs locally

$ kintsugi init
terminal / after install
$ kintsugi init
✓ shell shim installed
✓ agent hooks detected: claude, codex
✓ snapshot volume ready
✓ audit log initialized
$ kintsugi test -- claude 'rm -rf ./build'
◆ would hold: destructive-delete

Enterprise controls (admin lock, passive recorder, TUI, and Control Room) are available for teams that need centralized policy.