clawsig
v0.4.1
Published
Verify what your AI agents actually did. Cryptographic proof bundles for every agent action — tool calls, file changes, network connections, subprocess spawns.
Maintainers
Readme
clawsig
Verify what your AI agents actually did.
Cryptographic proof bundles for every agent action — tool calls, file changes, network connections, subprocess spawns.
Quick Start
# Wrap any agent command
npx clawsig wrap -- python3 my_agent.py
npx clawsig wrap -- pi "Fix the bug in auth.ts"
npx clawsig wrap -- node scripts/deploy.mjs
# Initialize a project with a verification policy
npx clawsig init
# Verify a proof bundle offline
npx clawsig verify proof-bundle --input .clawsig/proof_bundle.jsonWhat It Does
clawsig wrap transparently observes your agent through 6 layers:
- Ephemeral DID — unique Ed25519 identity per run
- Local Proxy — intercepts LLM API calls, generates receipts
- Causal Sieve — parses tool calls from HTTP streams
- Sentinel Shell — captures shell commands via
BASH_ENV+trap DEBUG - FS Sentinel — watches file changes with content hashes
- Interpose Sentinel — hooks
connect(),open(),execve()via LD_PRELOAD
On exit, everything is compiled into a signed proof bundle at .clawsig/proof_bundle.json.
Documentation
License
MIT
