Souvenance GitHub

Related work

Most of a memory engine is known engineering. This page says where each idea comes from, what Souvenance does with it, and which few parts we claim as new. Corrections are welcome.

Memory as a log of events

Event sourcing stores every change as an immutable event and derives current state from the log (Fowler, 2005). Souvenance applies it to a life: deposits are events, memories are projections that can be recomputed. Zep keeps raw episodes alongside the graph it extracts from them, for the same reason: the source must survive the interpretation.

Time

Zep / Graphiti — Rasmussen et al., 2025, arXiv 2501.13956; Graphiti, Apache-2.0. A bi-temporal model: when a fact held, and when the system learned it; a contradicted edge is invalidated rather than deleted. Souvenance uses the same mechanism, natively in PostgreSQL. What we add: time expressed in the person’s own landmarks and life chapters, computed in code — the subject of paper 002, which tests whether that still helps as models improve.

Consolidation, “sleep”

Souvenance’s nightly and weekly cycles are the same family of idea. The difference is not the cycle but the gate at its exit: nothing it produces is written without a verified excerpt.

Association and forgetting

Souvenance’s decay and association links are implementations of these ideas, not contributions.

Memory layers for developers

Mem0 — Chhikara et al., 2025, arXiv 2504.19413: extraction and update of salient facts as a layer for AI applications, open source and hosted. Letta and Zep play the same role. They are components for building products; Souvenance is one person’s memory, self-hosted, studied for integrity. The founding document of the project names Mem0’s extraction as a reference.

Memories checked against their source

Souvenance does the same at write time and did not invent it: we found SodaMem and Eywa after building the check, and corrected this page (lab note).

Benchmarks

Studies of memory in consumer assistants

Dash et al., “The Algorithmic Self-Portrait”, WWW 2026: 2,050 ChatGPT memories from 80 people, 96% created by the system unasked, 52% containing psychological inferences. Product comparisons: ChatGPT memory, Claude memory.

What we claim as new

Identity links under the same gate

No link between a role (“my sister”) and a name without an excerpt that proves it, and the link stays reversible. Not found in the work above; a gap in what we found, not proof that no one does it. Measured against Mem0 and Graphiti on sealed data.

The fidelity harness

A blind quiz of the system against its own memory, scored per domain of life.

Autobiographical lived time

Life landmarks and chapters as temporal coordinates, computed in code. Tested in paper 002.

Consent governance

No self-ratified persona, too-fast confirmations refused, a visible log of agent reads, no outbound channel. Details.

Know of earlier work that does one of these? Open an issue on GitHub; this page will be corrected and the correction noted in the lab notes.

Questions

What is the difference between Souvenance and Mem0?

Mem0 is a memory layer for developers building AI applications, offered as an open-source library and a hosted platform. Souvenance is a research engine for one person's memory, self-hosted, whose focus is write-time integrity: each memory must quote its source, checked in code, and the invention rate is measured.

Did Souvenance invent the bi-temporal memory graph?

No. Zep and its open-source engine Graphiti describe a bi-temporal model for agent memory, with edges invalidated when contradicted (arXiv 2501.13956). Souvenance implements the same idea natively in PostgreSQL.

What does Souvenance claim as new?

Not the excerpt check itself: SodaMem (arXiv 2608.08055) and Eywa (arXiv 2605.30771) already verify a memory against its source before writing it. What we claim: the same gate applied to identity links (no link between a role and a name without a proving excerpt), measured against other systems on sealed data; the fidelity harness, autobiographical lived time (life landmarks and chapters as coordinates), and consent governance (no self-ratified persona, too-fast confirmations refused, visible log of agent reads, no outbound channel).

Nicolas Noguera · Souvenance · published 2026-10-28 · how we write