# Proof of what your AI agents actually did
**Tracekit checks each tool call your agent makes before it runs, and risky calls wait for a person to approve them.
Every action is signed into a tamper-evident log by a process the agent can't touch, so you can put agents on real
systems and show what they did: your customers and auditors can verify the record themselves, offline.**
8 of 8tamper attacks caught480 trials, with a witness (E1) |
1191 of 1191harmful calls stopped11 classes, 1 false alarm in 1066 (E17) |
< 1 msadded per tool call0.91 ms at p99, signer round trip (E9) |
8 of 8insider attacks caughta merge gate on every PR (E8) |
The agent's log looks clean. Tracekit's record shows the delete, and the edit fails verification at the exact
record that was changed. Watch it with sound (1:47)
(real database, signer and viewer; scripted model).
## See what your coding agent did last week
No install, no account, nothing wired into your agent, nothing leaves your machine. Point it at your Claude Code
sessions and see every call Tracekit would have blocked or held:
```sh
uvx --from tracekit-ai tracekit audit --since 7d
```
Most people find at least one surprise. Add `--share` to get counts only, which you can post as a
[field report](docs/field-reports.md).
## Try it in 5 seconds
```sh
uvx --from tracekit-ai tracekit demo --server
```
No API key; from an empty cache on a Mac it took 5 seconds. A scripted agent lists the files, then tries five risky
things a real agent might, and Tracekit decides each one before it runs:
| The scripted agent tries to | Tracekit |
|---|---|
| list the files | allows it |
| delete the home folder, hidden in base64 | holds it for a person, who rejects it: it never runs |
| run a downloaded script (`curl … \| sh`) | denies it |
| read `~/.aws/credentials` | denies it |
| send `.env` to a host a web page named | holds it for a person, who rejects it: it never runs |
| force-push to main | denies it |
Then it verifies the run, and verifies a copy with one record edited:
```text
VERIFIED: 6 tool calls in 17 signed records, none changed, removed or added after signing.
NOT PROOF AGAINST THE AGENT: in this setup the agent can reach the signing key, so it could have rewritten the record.
...
== tamper test: rewrite the downloaded script's deny as allow in a copy, then verify again
TAMPERED at event 8: its content was changed after it was signed.
```
The package is `tracekit-ai`; `tracekit` on PyPI is an unrelated project. Without [uv](https://docs.astral.sh/uv/): `pip install tracekit-ai`
then `tracekit demo --server`.
## Who it's for
Tracekit is one product, but people come to it with different problems. Find yours:
| If you are… | You're probably thinking… | What Tracekit gives you | Start here |
|---|---|---|---|
| **A developer using coding agents** (Claude Code, Codex, Cursor, Gemini CLI) | *"I let it run on autopilot. What did it actually touch? Did it ever try `rm -rf` or a force-push?"* | A record of every command and edit, with the dangerous ones blocked or held for you to approve | [`tracekit audit`](#see-what-your-coding-agent-did-last-week) · [coding agents](https://github.com/Cygnux-Labs/Tracekit/wiki/Coding-Agents) |
| **An engineer shipping an agent to production** (support, ops, data, finance) | *"It works in the demo. I can't let it near real databases, email or payments until something stops the bad calls."* | Policy packs for shell, files, SQL, HTTP, cloud CLIs, email, payments and MCP, plus human approval bound to exact arguments | [Add it to your agent](#add-it-to-your-agent) |
| **A startup selling agents to enterprises** | *"Every security review asks: how do we know what your agent did in our environment? Screenshots of our dashboard don't cut it."* | A verifiable file per run you can hand your customer. They check it themselves, without trusting you | [Pilot it with us](#pilot-it-with-us) |
| **A platform or security team** approving agent rollouts | *"Teams want agents everywhere. I need one control point, separation of duties, and evidence I'd defend in an incident review."* | A central signer the agents can't reach, callers identified by mTLS, OIDC or Kubernetes service account, one policy for every framework, signed incidents and quarantine | [Deployment](https://github.com/Cygnux-Labs/Tracekit/wiki/Deploy) · [threat model](https://github.com/Cygnux-Labs/Tracekit/wiki/Threat-Model-Server) |
| **An auditor, GRC lead, insurer or lawyer** | *"I'm asked to sign off on AI. I need records I can check myself, not a vendor's word."* | Offline verification in a browser page that sends nothing, and mappings to the EU AI Act, ISO/IEC 42001, NIST AI RMF and OWASP | [Tracekit for auditors](https://github.com/Cygnux-Labs/Tracekit/wiki/For-Auditors) · [compliance](https://github.com/Cygnux-Labs/Tracekit/wiki/Compliance) |
| **An AI agent** working for someone | *"They'll ask what I did and whether I was allowed to. My own log is only my word."* | A signed record of your calls they can verify, and a person's yes before anything costly | [If you're an AI agent](#if-youre-an-ai-agent-reading-this) |
**The short version:** if your agent only reads, or runs in a throwaway sandbox, a tracer is enough. Once it acts on
real systems, and someone outside your team has to trust the record, you want Tracekit.
## Add it to your agent
Three lines:
```sh
pip install tracekit-ai
```
```python
import tracekit; tracekit.instrument() # the first line of your agent; then run it as usual
```
```sh
tracekit last # VERIFIED: N tool calls in M signed records, none changed ...
```
`tracekit.instrument()` starts a dev signer (or reuses the running one) and gates and records every tool and model call
of the frameworks it finds. `tracekit last` exports your latest run, verifies it and says where it is.
`tracekit view --dev` shows every run. On a clean machine the LangGraph example (a mock model, no API key) installed,
ran and verified in 27 seconds: [`examples/v2/clean-machine.sh langchain`](https://github.com/Cygnux-Labs/Tracekit/blob/main/examples/v2/clean-machine.sh).