Open source / Apache 2.0
Prove what your agents did.
Tamper-proof. Portable. Deterministic.
Treeship is a local-first, portable proof system for agent workflows. Every action, approval, and handoff gets a signed receipt. Verify offline, share anywhere.
curl -fsSL treeship.dev/install | shGet started in 60 seconds
Install
curl -fsSL treeship.dev/install | shInitialize
treeship initWrap any command
treeship wrap -- npm testThat's it. You have a signed receipt.
Also available: npm i -g treeship · npm i @treeship/sdk · pip install treeship-sdk · cargo install treeship-cli
See it in action
What Treeship does
Signed receipts
Every command, approval, and handoff gets an Ed25519 signed artifact with output digest, file changes, and git state.
Shell hooks + auto-chaining
Install once, forget about it. Shell hooks attest matching commands automatically. Each receipt chains to the previous one.
Human approvals
Block risky actions until a human approves. Single-use nonce binding prevents approval reuse. treeship approve to unblock.
Trust templates
Pre-built configs for common workflows. treeship init --template mcp-agent and you're done. 7 official templates.
Sessions + TUI dashboard
Group work into named sessions. treeship ui gives you a live terminal dashboard. Approve actions from the TUI.
Merkle checkpoints
Seal a Merkle root over your receipts. Generate inclusion proofs. Verify offline. Anchor to Sigstore Rekor.
OpenTelemetry export
Every receipt becomes an OTel span. Send to Jaeger, Datadog, Langfuse, Honeycomb. Feature-flagged, zero overhead when off.
Verify anywhere
Push to Hub for a shareable URL. Ed25519 verification runs in the browser via 241KB WASM. Works fully offline.
Decision capture
Record which LLM, token count, prompt digest, and confidence for agent decisions. The "why" layer alongside the "what".
Works with everything
Claude Code, Cursor, OpenClaw, LangChain, MCP. Drop-in @treeship/mcp bridge. SDKs for TypeScript and Python.
120+
Tests passing
30+
CLI commands
241KB
WASM verifier
Install from any ecosystem
npm (recommended)
npm install -g treeship
Shell script (any platform)
curl -fsSL treeship.dev/install | sh
Rust
cargo install treeship-cli
TypeScript
npm install @treeship/sdk
Python
pip install treeship-sdk
MCP (one import change)
npm install @treeship/mcp
Templates
treeship init --template mcp-agent