Repository navigation
How Tracekit Works
These pages explain Tracekit's concepts, one topic per page, in an order that builds up. They are written for teams adopting, running or auditing Tracekit: read them in order the first time, then come back to a page when you need it. Each page starts with what the part is for, explains how it works, says where it stops, and links to the reference pages and code with the full detail.
Everything here describes Tracekit 1.4.0. Parts marked experimental work and are tested, but may change between releases and get less hardening than the stable core (what's stable).
| Page | What it explains | |
|---|---|---|
| 1 | Overview | The problem, the moving parts, and what a verified run proves |
| 2 | The life of a tool call | Runs, deciding and completing a call, closing a run, checkpoints, export, the RPC surface |
| 3 | The evidence format | Records, signatures, the two chains, the Merkle tree, commitments, keys, bundles, format versions and the ext slot |
| 4 | Verification and assurance | What tracekit verify checks, verdicts, assurance levels, trust configs, the browser page |
| 5 | Witnesses and monitoring | Independent cosigners, rollback detection, Rekor anchors, the monitor |
| 6 | Policy | Rules, tool classes, how commands are read, per-command rules, packs (the strict pack among them), remedies, determinism |
| 7 | Approvals | Holding a call for a person, argument binding, channels, agent approvers |
| 8 | Detection and containment | Patterns across calls, holds, quarantine, cooldowns, alerts |
| 9 | Capture and completeness | Tiers, capture layers, reconciliation, verified tool results, kernel sensors and sandboxes, gaps, fail modes, the coverage matrix |
| 10 | Custody | The tool executor, MCP gateway, LLM gateway and egress observer |
| 11 | Provenance and tracekit why |
Values from untrusted content, what was asked, said and done, and finding the input that caused an action |
| 12 | Deployment and isolation | Where the signer runs, how isolation is measured, tracekit doctor
|
| 13 | Storage, durability and performance | The single writer, backends, crash behaviour, speed |
| 14 | Integrations | The adapter contract, tracekit.instrument(), frameworks, coding-agent hooks |
| 15 | Security model | Adversaries, invariants, hard questions, design decisions, what isn't done |
| Word | Meaning |
|---|---|
| Agent | Your program: a model plus the tools it can call |
| Signer | Tracekit's service that decides each tool call and writes the log. The only component that holds signing keys |
| Run | One job by an agent, from start to finish. Every record belongs to a run |
| Run token | What the agent's client holds for one run: it can ask the signer to record things, but can't sign anything |
| Record | One signed entry in the log: a decision, a result, a gap, an approval |
| Hash | A fingerprint of data (SHA-256). Changing one byte changes it completely |
| Signature | A seal only the private key can make and anyone can check with the public key (Ed25519) |
| Hash chain | Each record carries the hash of the one before it, so a removed or edited record breaks the chain |
| Merkle tree | A tree of hashes that sums up the whole log in one root hash, and proves a record is in it cheaply |
| Checkpoint | A signed statement: "the log has N records and its root is R" |
| Witness | An independent party that cosigns checkpoints after checking the log only grew |
| Monitor | An independent reader that checks the log's content and signs a report |
Bundle (.tkb) |
One run's records and proofs in a zip, verifiable offline |
| Trust config | The keys and witnesses the person verifying chooses to trust. Never inside a bundle |
| Commitment | A keyed hash that hides a value but can be opened for a single record |
| Gap | A signed record saying something is missing, and what |
| Tier (T1, T2, T3) | Where evidence came from: inside the agent's process, outside it, or imported |
| Effect | Something the agent's processes did that an observer or kernel sensor saw: a host reached, a process started, a file written |
| Finding | A signed opinion about a run, such as an action nobody asked for. Never part of the run's integrity |
| Assurance | Who vouches for a run's checkpoint: no one, the operator, independent witnesses, plus a monitor |
| Isolation | Who could reach the signer's keys and log, as the signer measured it |
The concept pages link into these for exact syntax and fields: architecture, format v2, reading a verify report, policy reference, approvals, incidents, findings, deployment, guarantees, evaluation, threat model (laptop), threat model (server) and every known limit.
Generated from docs/ at v1.4.1. Edit the docs in the repository, not here.
Get started
- Quickstart: the v2 signer
- Quickstarts
- Quickstart: Claude Agent SDK
- Quickstart: a custom agent
- Quickstart: LangChain and LangGraph
- Quickstart: MCP client
- Quickstart: OpenAI Agents SDK
- Coding agents other than Claude Code
- tracekit doctor
- Walkthrough: Tracekit end to end
How it works
- How Tracekit works
- Overview
- The life of a tool call
- The evidence format
- Verification and assurance
- Witnesses and monitoring
- Policy
- Approvals
- Detection and containment
- Capture and completeness
- Custody
- Provenance and tracekit why
- Deployment and isolation
- Storage, durability and performance
- Integrations
- Security model
- Architecture
- tracekit why: architecture
Integrations
- Integrations
- Adapters
- OpenTelemetry
- Remote clients
- Kubernetes agent-sandbox
- agentgateway
- agentsh and Tracekit
- Browser Use
- Claude Agent SDK
- Claude Code's sandbox
- Codex's sandbox
- CrewAI
- Docker MCP Gateway
- E2B
- Falco
- Gemini CLI's sandbox
- Google ADK
- Haystack
- LangChain v1
- LiteLLM
- LlamaIndex
- MCP client
- microsandbox
- Microsoft Agent Framework
- OpenAI Agents SDK
- NVIDIA OpenShell
- Pydantic AI
- sandbox-runtime's proxy on its own
- Strands Agents
- Tetragon
- Vercel AI SDK
- Wassette
Policy and approvals
- Policy reference
- Approvals
- Findings
- Reading the model's reasoning
- Incidents and containment
- Webhooks
Deploy and operate
- Deploying the signer
- The signer as a container
- The signer on Kubernetes
- The compose stack
- Identity
- Tool executor
- MCP gateway
- LLM gateway
- Egress observation
- Witnesses
- Log monitor
- Record-key issuer
- Signer observability
- Viewer
- tracekit why: causal investigation and replay
- Migrating
- Platforms
Verify the evidence
- Reading a v2 verify report
- Evidence format v2
- Auditor guide
- Sample evidence bundle
- Signing
- What Tracekit guarantees
Security and privacy
- Threat model: the v2 signer
- Threat model: the v1 laptop signer
- HTTP security checklist
- Threat-model review packet
- Privacy
- Known limits and trade-offs
- What's stable
Compliance
- Compliance mapping
- EU AI Act
- ISO/IEC 42001
- NIST AI RMF and the Generative AI Profile
- OWASP Top 10 lists for LLM and agentic applications
Evaluation
Demos
- Demos
- Agent approvers within bounds
- Completeness and tamper evidence
- Detection and containment
- Network coverage: an egress observer
- Guardrails: allow, deny, or ask a person
- MCP tools, gated and recorded
- Prompt injection held by provenance
- Why: which input caused the action
Help