cairn-memory open-sourced: agent memory with inspectable source receipts to stop silent rewriting

sujingshen · x · 2026-09-20

The author argues that "our agent has memory" is meaningless unless you ask which layer is stored: raw event receipts (replayable), compressed summary assertions ("team leans B"), permanent preferences ("team approved B" — a silently rewritten fact), and judgment memory (red lines and veto reasons, often overlooked).

Key point: memory without source receipts rewrites your history — "considered B" morphs into "approved B" after a few turns.

Alongside the thread, cairn-memory was open-sourced: a local SQLite cross-session memory layer with explicit MCP tools, where every memory carries a receipt (exact source text), can be corrected at that revision, and stays forgotten once deleted — no account required.

Original post →

More from coding & agent

coding & agent channel →