Cryptographic receipts for AI agent actions. MCP server, SDK, CLI, and dashboard. Local-first, zero infrastructure.
Agent Receipts
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**Your AI agent remembers everything — and you can prove it.**
Persistent memory for AI agents, backed by cryptographic receipts. Every fact your agent learns is signed, traceable, and independently verifiable. No cloud required.
Try the Interactive Demo · Install in 30 Seconds · How It's Different
---
The Problem
You're building with AI agents. Claude Code refactors your auth module and says "done, all tests pass." Your agent generates a customer quote and says it applied the right pricing. Your assistant remembers your preferences from last week — but you can't see why it thinks that, or whether it's right.
Three things are broken:
1. **Agents forget everything between sessions.** Every conversation starts from zero. Context is lost. You re-explain the same things.
2. **When agents do remember, you can't see inside.** Platform memory is a black box. You can't see what it stored, when, or why. You can't correct it, export it, or verify it.
3. **There's no proof of what agents actually did.** Logs are mutable. Agents write their own logs. "I updated 3 files and all tests pass" — did it? You're trusting the agent's word about its own work.
What Agent Receipts Does
Memory that actually works
Your agent gets structured, persistent memory across sessions — people, projects, tools, preferences, facts. Not a flat key-value store. An entity-observation graph where every fact links to the conversation that created it.
The agent handles this automatically when you add the system prompt. You don't manage memory manually.
Proof that's actually proof
Every memory observation and every agent action produces a **receipt** — a signed JSON document with:
- **Ed25519 signature** — tamper-proof, independently verifiable
- **Input/output hashes** — proves exactly what went in and came out (raw data never stored)
- **Timestamps** — when it happened, when it completed
- **Agent ID** — which agent did it
- **Provenance chain** — trace any memory back to the conversation that created it
This isn't logging. Logs are mutable text files the agent writes about itself. Receipts are cryptographic proof that a third party can verify without trusting you, your server, or the agent.
Everything runs locally
That's it. No API key. No account. No cloud. No monthly fee. No data leaving your machine. SQLite database in ~/.agent-receipts/. Works offline.
Why This Exists
I was building ModQuote — a multi-tenant SaaS where AI agents generate quotes for automotive protection shops. Real money, real customers, real liability.
When Claude generated a $2,400 PPF quote, I needed answers: What vehicle data did it receive? What pricing rules did it apply? If a customer disputes the price, can I prove what happened — not with a log entry the agent wrote about itself, but with cryptographic proof?
I looked at the existing tools:
- **Mem0** — great memory, but no proof. It remembers things, but can't prove when or why it learned them. Memories are mutable.
- **Langfuse** — great observability, but it's tracing, not proof. Logs are internal to your system, not verifiable by third parties.
- **Zep** — temporal knowledge graph, but hosted and opaque.
None of them could answer: **"Prove to someone outside your system that this specific agent took this specific action with this specific input at this specific time."**
So I built Agent Receipts. Now every quote generation is a signed receipt. Every memory has a provenance chain. And when someone asks "how did the agent come up with that number?" — I hand them a receipt they can verify themselves.
How It's Different
| | Agent Receipts | Mem0 | Langfuse | Zep |
|---|---|---|---|---|
| **Memory** | Signed entity-observation graph | Smart extraction + consolidation | No memory | Temporal knowledge graph |
| **Proof** | Ed25519 signed receipts | None | Mutable traces | None |