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 | sh

Get started in 60 seconds

1

Install

curl -fsSL treeship.dev/install | sh
2

Initialize

treeship init
3

Wrap any command

treeship wrap -- npm test

That'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

$ treeship wrap -- npm test
> 83 tests passed in 4.2s
+ receipt sealed
────────────────────────────────────
id: art_f7e6d5c4b3a2
command: npm test
exit: 0 passed
output: sha256:abc123 (83 passed, 0 failed)
files: 2 modified (coverage/)
chain: art_prev → art_f7e6 (step 4)
signed: key_9f8e7d6c (ed25519)
────────────────────────────────────
$ treeship verify last --full
✓ chain verified (4 artifacts)
$ treeship hub push art_f7e6d5c4
✓ pushed
url: treeship.dev/verify/art_f7e6d5c4

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