⊶ Toffoli

The undo layer for AI agents.

classify every agent action reversible / compensable / irreversible, plan & execute the restitution, escalate only what truly can't be undone.

When an agent damages real state — deletes the wrong rows, double-charges, half-runs a migration — the industry built tools to detect it and almost none to recover. Toffoli is the recovery half: a deterministic-first classifier, a dependency-aware planner that actually runs and verifies the undo on a sandboxed world, cryptographically attested recovery context, and a formal "never under-call" soundness property checked over hundreds of generated cases.

· no effect restored (exact) ~ compensated (semantic) ! requires human (irreversible)
measured: IRREVERSIBLE recall 0.83 (95% CI 0.64–0.93) · 0 dangerous misses · end-to-end recovery restored 4/4 · source & THEORY.md in the repository

A live, interactive demo of a real recovery loop — not a screenshot.