Skip to content

VeraMem

VeraMem: agent memory with receipts VeraMem: agent memory with receipts

VeraMem is long-term memory for AI agents that keeps track of where every memory came from. Each memory cites the exact words it was built from, carries a label for who said them (the user, the assistant, or a tool), and is written to a tamper-evident ledger. Tool claims stay tool claims, private memory stays private, and an agent can check whether a memory is safe to act on before it acts.

It runs on a single SQLite file, works offline with Ollama, and needs no server.

pip install "veramem[mcp]"
veramem init
veramem add "I'm vegetarian and I just moved to Lisbon"
veramem ask "Where do I live?"

Real veramem ask output with cited memories

How it works

How VeraMem writes and reads memory How VeraMem writes and reads memory

Start with the Quickstart, or read the ideas behind it in Concepts.