Persistent memory
Claude Code, Codex and Hermes start every session already knowing what I’m doing and what I’ve decided. This is the system that keeps that picture current, on my own Mac, from my sessions and notes. An exam, sat with memory on and then off, will tell me whether it’s helping.
01 · Overview
What it is
The whole point is to build a big, deep context about me that works in any harness: who I am, what I’m working on and how I like to work. Whichever agent I’m using can start from it.
Persistent memory captures my sessions with Claude Code, Codex, Hermes Agent and ChatGPT, indexes my notes and working files and turns all of that into a small set of pages an agent reads before it starts work. The history goes back to December 2022 and the index holds more than 12,000 sessions.
It runs on my own Mac and it’s a work in progress. At the end of October I stopped the twice-daily summary cycle and started rebuilding it around search, which the update below explains.
02 · How it’s built
How the picture gets built
The capture side runs on its own. The exam is there to check whether the picture it produces is still right a month later.
03 · Use cases
What I’m using it for
Starting a session. Every new Claude Code, Codex or Hermes session opens with my Now and Active Projects pages already loaded. Before I type anything the agent knows which projects are live, what I decided last week and what I corrected.
Finding the original. When an agent cites a decision I can ask where it came from. The recall tool searches the full history and returns short, dated results that link to the chat, session or file behind the claim.
A picture of my week. The same material should show what I did and thought over a day, a week or a month, and how my thinking on a topic developed. This is the part furthest from done.
Recording a correction once. When I tell an agent something that changes the picture, it adds a dated line in my words to my section of the page. The next agent reads it and I stop repeating myself.
Sitting the exam. Thirty questions drawn from my real history, six in each of five categories: who I am, what’s live, what we decided, where it is and what I corrected. It’s a baseline. Each agent sits it with memory on and then off, so I can see whether the memory is helping. That paired run is still to come.
04 · Update
Rethinking memory
As the models have got better, I’ve noticed my memory system helping less. On my own exam in October, agents scored the same with memory switched on as with it switched off.
So I’ve done a whole rethink, based on a run of recent papers I found through Elvis Saravia’s weekly paper list. They point the same way. Keep the original record, search it well and let a strong model do the reasoning when the question is asked. Every attempt to pre-digest the history into facts, summaries or graphs either added nothing or lost accuracy. It feels like the bitter lesson, applied to memory.
What I’m building now is a deep index over everything I’ve written or saved, searched at question time:
- An index over the originals: chats, notes, documents, transcripts and project records, each piece tagged with who wrote it, when and where it came from.
- Keyword search first, with meaning-based search alongside it.
- For what I’m doing now, the latest record wins.
- For how my thinking has developed or what I’ve been reading, an agent researches across the originals.
- My own corrections and decisions sit on top of everything.
The summary pages stay, for reading and for starting a session. They just stop being the answer. The paired exam is the baseline for checking the new design helps.
The papers behind it:
- Is Complex Agentic Memory Always Needed? Naive RAG Is Stronger Than We Thought (Bao et al., October 2026)
- Fidelity Before Structure: Verbatim Chunks Beat Lossy Artifact Extraction (An, 2025)
- When Your Agent Opens the Chat App: Agent-Controlled Search over Raw Chat Logs (Li et al., August 2026)
- MemoryTax: The Bitter Lesson of Agent Memory (Peng, October 2026)
- BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms (Wang et al., July 2026)
- MemoryBench: A Benchmark for Memory and Continual Learning in LLM Systems (Ai et al., 2025)
- Agent Zero Memory: Provenance-Aware Long-Term Memory for LLM Agents (Wu and Zhu, August 2026)