Every action,on the record.
Callwitness records every tool call your AI agent makes into a hash-chained ledger that nobody can quietly rewrite. When a customer, an auditor or a partner asks what happened, you hand them proof, not a claim.
- Added latency
- 0.34 ms
- p50, small call
- Dependencies
- 0
- pure Python
- Tests
- 338
- v0.4.7
- Licence
- MIT
- open source
Change one record. Watch the chain break.
Every record carries the hash of the one before it. Edit any of them and the chain no longer adds up.
- 01search_orders✓ Linkeda3c0ccab76d3 ← 000000000000
- 02get_order✓ Linkedb53419f3cbb3 ← a3c0ccab76d3
- 03refund_order✓ Linkedc9e3ac9e1a51 ← b53419f3cbb3
- 04send_email✓ Linked73831b15b2dd ← c9e3ac9e1a51
- 05update_ticket✓ Linked4f64d1a3e5c4 ← 73831b15b2dd
4f64d1a3e5c44cc6a68c858d1cf2b2537a53603868379969d2828ffabd734553
Fig. 2: Illustration. Real SHA-256, recomputed in your browser when you edit.
An agent’s account of what it did is a claim.
Illustration
- tool
- refund_order
- args
- { order: 1182, amount: 400.00 }
- response_sha256
- 9f2c…
- recorded
- 12:14:11.203
- chain
- linked
Done! I’ve refunded $40.00 to order #1182 and emailed the customer.
A customer dispute
A partner blames your agent for what happened, and a CSV export is your word against theirs.
A compliance review
An outside reviewer has to sign off, and “the engineers say nothing was edited” isn’t an answer.
An incident postmortem
Agents fail softly and explain themselves confidently, so you need what they did, not what they said.
It sits between your agent and its tools. It changes nothing.
Callwitness is a small proxy for MCP servers. It forwards every byte in both directions and blocks nothing, so your agent behaves exactly as before. It only writes things down: every call goes into a local log, each record carrying the hash of the one before it and a SHA-256 of the full response.
Record
Wrap your MCP servers once. Every tool call and response is written to a local SQLite log, hash-chained, with secrets redacted from stored previews.
$ pip install callwitnessVerify
Walks each session's chain and reports any record that was edited, removed, reordered or inserted. Prints each session's head hash so you can keep a copy elsewhere.
$ callwitness verifyProve
Writes a one-page HTML evidence report: the verdict, the head hash, and every call with its response hash, timing and destination. No arguments or contents. Nothing is sent anywhere.
$ callwitness reportOne command. One page you can hand to anyone.
callwitness report turns a session into a single HTML page: the verdict, the head hash, and every call with its response hash, timing and destination. It contains no arguments and no response contents, and nothing is sent anywhere.
$ callwitness reportCallwitness evidence report
session a6fb8a70 · 6 tool callsb9bec89a4e7280958a4bbade7ab4ee51
e3a282419439c524a20dfe0a946ad783
Fig. 5: From callwitness demo, v0.4.7.
Built to stay out of the way.
| Response size | Added latency (p50) |
|---|---|
| ~200 B | 0.34 ms |
| 20 KB | 1.8 ms |
| 500 KB | 14 ms |
Callwitness 0.4.7, direct vs proxied, local stub server.
One week. One report you can hand over.
For teams whose agents touch customer data, money or production systems, and who expect to be asked for proof.
- 01We set Callwitness up on your agent together, in your environment.
- 02It records a week of real tool calls. The recording stays on your machines; we go through it together in a review session.
- 03You get the evidence report, verified end to end.
- 04A short findings memo: what your agent called, what failed, what looked unusual.
- 05Head hashes delivered separately, so you hold a copy the machine can’t edit.
No sales call required. A short email is enough to start. We usually reply within a day.
What it stores, and what it doesn’t do yet.
Privacy
- Local by default
- The log lives on your machine.
- Secrets redacted
- Keys, tokens, passwords and cookies are removed from stored previews.
- Reports carry no contents
- No arguments or response bodies, only hashes, timings and destinations.
- Open source
- MIT licensed, so you can read every line.
Current limits
- MCP only
- Tool calls that don’t go through MCP aren’t covered yet.
- Chains are per session
- Edits inside a session are caught; deleting a whole session isn’t, unless you kept its head hash. External anchoring is next.
- It never blocks
- Under an extreme burst (1,000 calls at once) a few percent of records can drop, and the report says so.
- Records, not controls
- It proves what happened; it doesn’t stop anything.
I started Callwitness because agents were doing things nobody could reconstruct afterwards. The logs said one thing, the agent said another, and there was no way to settle it. This is my attempt at a record that doesn’t depend on trusting whoever holds it.