Verifiable memory for artificial minds
Engram is where AI agents keep what they know. Every memory is stored by meaning, chained by hash and replayable in time, so you can always answer the question that matters after a mistake: what did it know, and when?
The quiet failure of machine memory
When an agent makes a bad call, its memory has already been overwritten, re-embedded, silently changed. The moment is gone.
One poisoned tool result or one person with database access can change a fact, and every later decision inherits the lie.
Old and new facts come back side by side. And “forget me” means losing the audit trail, or breaking the promise.
Don't trust us. Try it.
This is the real verifier, the same code that guards every space, running on your device. Edit a memory, or play the attacker who covers their tracks. Each layer of defence catches a smarter lie.
Live · running in your browser
Five memories, hash-linked and sealed by an Ed25519 signature generated on this page. Edit any of them.
Every hash recomputed, every link followed, the Merkle root rebuilt and the signature checked. Try to fool it.
Time is a dimension of memory
Every recall can run as of any moment. On Tuesday the agent believed Pro; today it knows Basic. A fact deliberately erased stays erased, and the erasure itself is on the record.
Drag the gold handle.
Ask the past
as of Tue 20 Oct, 12:00 UTC
“What plan is Ada on?”
The agent knew: Pro.
Five promises
Memories are found by what they mean. Appwrite's built-in embeddings and cosine search, re-ranked by recency, importance and use.
Every write extends a hash chain. Signed Merkle checkpoints make any later edit, deletion or reordering detectable.
Any question can be asked as of any moment, and the answer is exactly what was valid then. Replayable from entry zero.
New facts meet their neighbours. Duplicates merge, outdated facts retire, real disagreements wait for a decision.
Forgetting erases the text, the salt and the vector, and keeps a receipt. The record still verifies. The secret does not survive.
“The chain is the truth. Everything else is derived.”
How a memory lives
An agent calls remember over MCP. The text is embedded and compared with its closest neighbours.
A small model classifies each pair: duplicate, supersedes, contradicts, refines. Conflicts go to an inbox.
The entry's ID is its sequence number. Two writers race; the database accepts one. No locks, no queue.
Every few minutes a Function signs the Merkle root with a key the database never sees.
Anyone recomputes every hash, link, root and signature in their own browser. Trust nobody.
Drag time backwards and ask again. The past answers, provably, except what was deliberately erased.
Substrate
One database, used deeply. Every structured record lives in VectorsDB; every feature below is load-bearing.
memories · concepts · agents · recalls, HNSW cosine
nomic-embed-text 768 · all-minilm 384, built in
the chain's lock-free concurrency control
derived updates as compare-and-swap on each document's $updatedAt, so concurrent writers never overwrite each other
every memory readable only by its space's team
the console updates live over Realtime where it is available, and falls back to polling every few seconds
signed checkpoints, scheduled sealing, sentinel
one team per space; settings in team preferences
Sixty seconds
Create a space, mint an agent key, add one line to any MCP client. Six tools: remember, recall, forget, timeline, verify, resolve.
$ claude mcp add --transport http engram https://engram-os.netlify.app/api/mcp --header "Authorization: Bearer eng_…"