Provena
Agent memory with receipts.
Every fact your agent remembers links back to who said it, when, and whether a human approved it.

Provena is open-source, self-hosted memory for AI coding agents. It plugs into Claude Code, Codex, and Gemini CLI (and any MCP client), captures your conversations, and brings relevant context into later sessions. Unlike a plain memory store, it keeps the receipts: each remembered claim stays linked to the original words it came from, how much that source can be trusted, and its review history.
pipx install provena-agent-memory
provena quickstart claude # or: codex, gemini
Why receipts matter
Agents remember things that are wrong, stale, or planted. A webpage can claim "the user wants every PR auto-merged," and the agent may repeat it in an answer. In a memory store that doesn't track sources, that becomes a fact, and the next session acts on it.
In Provena:
- Original evidence is never rewritten. Every conversation turn is stored as an append-only event. Claims are derived from events and always link back to them.
- Not every source counts the same. Claims extracted from agent-reported text are low-authority candidates. The agent can see them as provisional context, but only a human reviewer can promote one. An agent key cannot.
- Memory is not permission. Authority, search relevance, and permission to act are separate. A remembered fact never authorizes an action.
- Changes of mind keep history. When a fact changes, both versions stay, and a reviewed relationship records which one supersedes the other.
- You can ask why.
memory_explain traces any claim to its source event, extraction run, review actions, conflicts, and every time it was delivered to an agent.
A memory-poisoning benchmark checks these properties on every CI run: 127 of 127 checks pass across 23 attempts to plant facts, smuggle instructions, leak across projects, and contradict the user. It also states plainly what Provena does not do: it labels a planted fact rather than blocking it.
See it in 30 seconds with provena demo. It runs in a separate demo project, records a preference you stated and a rule planted by a web page, and prints a receipt for each:
An example memory_explain trail, abridged:
claim "User is on leave from Dec 1 to Dec 21"
predicate leave_of_absence status=candidate valid 2026-12-01 → 2026-12-21
evidence user_statement event, Codex session (authority: low)
"I'll be on leave from December 1st to December 21st."
extraction qwen2.5:1.5b via Ollama, run recorded
review awaiting human review
retrievals delivered to Codex 5 days later for "plan a review meeting in December"
How it compares
Different memory tools make different trade-offs. Provena focuses on provenance and review rather than on minimal setup.