by Cygnux-Labs
Tamper-evident tracing, policy gates and cross-checks for AI agents: see what the agent did, and why.
# Add to your Claude Code skills
git clone https://github.com/Cygnux-Labs/TracekitSee how Tracekit compares with popular alternatives.
Tracekit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Cygnux-Labs. Tamper-evident tracing, policy gates and cross-checks for AI agents: see what the agent did, and why. It has 130 GitHub stars.
Tracekit's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Cygnux-Labs/Tracekit" and add it to your Claude Code skills directory (see the Installation section above).
Tracekit is primarily written in Python. It is open-source under Cygnux-Labs on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Tracekit against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Tracekit checks every tool call your agent makes before it runs, signs each call and decision into a hash chain,
and gives you one .tkb file per run that anyone can verify offline.
Built like Certificate Transparency: signed records in an append-only log that independent witnesses cosign Open file format · verifiers in Python and TypeScript · MIT · runs on your own machines
Try it · Add it to your agent · What it proves · What's in it · Proof · How it works · Contribute · Docs
When an agent does something it shouldn't, you ask three things: what did it do, was it allowed, and can you trust the record? The agent's own log can't answer the third, because the agent can edit it. Here is one run, recorded both ways:
The same run, recorded: the database, the signer, the viewer and both edits are real; the model is scripted. Watch it with sound (1:47)
In this demo the signer ran as the agent's own user (dev mode), so an agent that knew how could have read the key and re-signed the log. Run the signer where the agent can't reach it, with a witness, and it can't.
uvx --from tracekit-ai tracekit demo --server
No API key, and nothing to install with uv. From an empty cache on a Mac it took 5
seconds (10 with pip install tracekit-ai in a fresh venv). The package is tracekit-ai: tracekit on PyPI is an
unrelated project. A scripted agent makes three calls, and you should see:
== agent run (SCRIPTED: fixed tool calls, not a model)
Bash 'ls': allow
Bash 'sudo rm -rf /': deny TK-D001 TK-D004 TK-F003
Bash 'echo "unterminated': ask TK-SHELL-PARSE
...
Integrity: VERIFIED.
== tamper test: rewrite the denied call as allowed in a copy, then verify again
[FAIL] signatures — 11 record(s), keys valid at their position
seq 4: hash does not match the event
Integrity: FAILED.
The delete was denied before it ran, the held call ran after an approval, and the run verified. Then the demo rewrote the denial as allowed in a copy, and verification failed at the record it changed.
Three lines:
pip install tracekit-ai
import tracekit; tracekit.instrument() # the first line of your agent; then run it as usual
tracekit last # Integrity: VERIFIED. / Assurance: dev; ...
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.
Stable: Claude Code, the OpenAI Agents SDK, LangChain / LangGraph, the Claude Agent SDK and MCP. Experimental: Codex CLI, Cursor, Gemini CLI, CrewAI, Browser Use and the TypeScript SDK. Setup: coding agents · OpenAI Agents SDK · Claude Agent SDK · LangChain / LangGraph · MCP · CrewAI · Browser Use · TypeScript · OpenTelemetry · any other agent
Coding agents: tracekit init --dev --v2 wires Claude Code's hooks to a dev signer; add --agent codex, cursor or
gemini for the others (experimental). Without uv: pip install tracekit-ai, then tracekit demo --server. --why
(experimental) shows a held
email whose cause is found by replay and cited by its signed record:
tracekit demo --server # exit 0
tracekit demo --why # exit 0
tracekit init --dev --v2
From a checkout, the shipped sample bundles (v1) check with the verifier alone (pip install --no-deps tracekit-ai is
enough), and python examples/v2/langchain/agent.py --scripted runs a LangGraph agent with a mock model:
tracekit verify docs/sample/demo-run.tkb --key docs/sample/signer.pub # exit 0
tracekit verify docs/sample/demo-run-tampered.tkb --key docs/sample/signer.pub # exit 1
TypeScript needs Node 18 or newer: npm install @cygnuxlabs/tracekit, and npx @cygnuxlabs/tracekit up starts a dev
signer without Python on Apple Silicon Macs, Linux and Windows (TypeScript SDK). Python 3.9 to
3.13; the framework integrations need 3.10 or newer.
Three guarantees. They're related, but one doesn't give you the others, and each needs something different.
| Guarantee | What you get | What it needs |
|---|---|---|
| Evidence integrity | A record that was edited, deleted, swapped or inserted fails verification at that record | Only the signed log. Cutting off the end of the log, or re-signing it with a stolen key, takes a witness to catch |
| Execution control | Each call is checked before it runs |