Termaxa
see what an AI agent's command would destroy before it runs
Working when we checked on .
What is Termaxa?
Termaxa is a cooperative gate for the shell commands AI agents run: it previews the consequences of a command, backs up affected files first, blocks the dangerous few, and keeps a record the agent cannot rewrite. It is aimed at developers running coding agents like Claude Code, Codex, Cursor, and Copilot CLI. Concrete capabilities include delete previews, Git force-push protection showing what the remote would lose, Postgres row and dependent-table backups with pg_dump rollback, and Terraform plan previews before apply. It is written in Rust, free and open source, and installable via brew, cargo, winget, scoop, or prebuilt binaries.
Termaxa pricing
Pricing model: Free
Free and open source
Termaxa pros
- Hooks for Claude Code, Codex, Cursor, Copilot CLI, herdr, git, Postgres, and Terraform
- ~19,100 lines of Rust with 20,000+ lines of tests and 599 regression tests
- Previews blast radius and backs up files before running destructive commands
- Blocks native tool writes (Write, Edit, Delete) with the same path rules as shell commands
- Free and open source; installable via brew, cargo, winget, scoop, or pinned binaries
- Browser playground at play.termaxa.com to test the gate without setup
Termaxa cons
- Codex hooks support deny-only verdicts; an ask counts as a refusal there
- Codex runs its login shell by absolute path, so the wrap shim cannot reach it
- Every check on the playground is logged (command, hashed address, user agent), so secrets must not be typed
- No paid support or commercial plan is documented
Frequently asked questions about Termaxa
What does Termaxa do?
It previews the consequences of shell commands AI agents want to run, backs up affected files first, blocks the dangerous ones, and records every decision in a log the agent cannot rewrite. It works via hooks for Claude Code, Codex, Cursor, and Copilot CLI.
Who is Termaxa for?
Developers and teams who run AI coding agents like Claude Code, Codex, Cursor, or Copilot CLI and want a gate that shows the blast radius of agent-issued commands before they execute.
Is Termaxa free?
Yes. Termaxa is free and open source, distributed under the termaxa organization with releases on GitHub and prebuilt, sha256-pinned binaries.
How do I install Termaxa?
Via Homebrew (brew install termaxa/tap/termaxa), cargo, winget, scoop, or direct prebuilt binaries for Linux x86_64, macOS arm64/x86_64, and Windows.
How do I set it up in a project?
Run `termaxa init` to write the policy and hook for whatever harness it finds, `termaxa doctor` to prove it's wired, and `termaxa replay` to judge every command agents have already run.
Can I try Termaxa without installing it?
Yes. A live playground at play.termaxa.com runs the real gate; every check there, including command, hashed address, and user agent, is logged, so nothing secret should be typed.
Does it protect against Git force pushes?
Yes. Termaxa shows what a force push would destroy, pinned before it runs, and force is denied in every spelling, including short forms like -f and git -C prefixed calls.
Does it cover database and infrastructure commands?
Yes. For Postgres it previews rows and dependent tables, runs pg_dump first, and supports rollback. For Terraform it shows the plan before the apply.
Does it catch non-shell file deletions by agents?
Since v0.19 the gate reads native Write, Edit, Delete, and patch file headers, judging them by the same path rules as shell commands, insured and receipted.
How does it handle agents retrying blocked commands differently?
A live Cursor agent blocked on a delete switched shells to sneak it past. Termaxa classifies intent rather than spelling and trips a per-session circuit breaker on repeated attempts.