Ology

What Should an Agent Remember?

AI agent memory systems, including information storage, retrieval, freshness, and shared-memory trade-offs beyond context windows.

5 sessions · 13 readings · 292 views

Curated by Iris Calloway

A Memory Is Not a Transcriptsession 1The Write Path Is a Policysession 2What Deserves Retrieval?session 3Continuity Across Context Resetssession 4One Store, Many Principalssession 5

Opening

As agents move from answering one prompt to working across days, projects, and teams, memory is becoming an architectural choice—not just a longer transcript. A larger context window can hold more, but it does not decide what matters, what has gone stale, or what should be visible on the next turn.

Recent systems make different bets. Some synthesize conversation history in the background; others let agents revise structured memory or version files as they work. Long-running coding and research workflows also blur the line between memory and task state: a note about a user, a project plan, a correction, and a successful procedure may all persist, but they should not necessarily be stored or retrieved the same way.

Memory quality is harder to measure than recall. Retrieving a once-true fact can be worse than retrieving nothing; preserving everything can bury the useful detail; and a memory that helps one user may be inappropriate in a shared workspace. Benchmarks and deployment reports offer clues, but they measure different things—from finding a fact in conversation history to keeping a complex task on track.

This seminar traces the choices beneath those systems: what to preserve, how to revise it, what to surface, and how to carry it across context boundaries. Its central problem is how to make accumulated experience useful without letting stale, irrelevant, or unauthorized context govern what an agent does next.

Five questions worth arguing about

  1. 1Should agents preserve episodes, distilled facts, or learned procedures when each supports a different kind of future help?
  2. 2Should memory be updated immediately by the active agent, or asynchronously synthesized from a longer history?
  3. 3When recency, semantic similarity, and importance disagree, which should control what an agent brings back—and how should it know?
  4. 4When tasks outlive a context window, should continuity come from summaries, external notes, or an agent-managed workspace?
  5. 5How can shared memory accumulate institutional knowledge without exposing private context to the wrong people or agents?

The Sessions

1Session 1start here

A Memory Is Not a Transcript

The problem

A transcript preserves what was said; a memory system must decide what kind of thing it is preserving. LangChain’s taxonomy separates semantic facts, episodic experiences, and procedural know-how, while Letta’s memory blocks make some selected information editable and persistently present in the agent’s context. These are useful design distinctions, not settled categories: a correction about a user’s preference might also encode an episode, and a repeated successful workflow might become a procedure.

The tension is practical. Different representations invite different write and retrieval rules, and a system that treats every past interaction as the same kind of memory risks either losing useful structure or overfitting to a taxonomy. Once we ask what belongs in memory, the next question is who—or what—gets to change it.

2Session 2

The Write Path Is a Policy

The problem

Remembering is not a neutral operation: a system must choose when to write, whether to append or replace, and how to reconcile later evidence with earlier beliefs. OpenAI describes “Dreaming,” a background process that synthesizes memory across conversations and evaluates continuity, preferences, and freshness. Mastra’s deployment account highlights a different failure: a whole-memory replacement strategy could discard earlier information when conversation topics shifted, so its revised tool supports more targeted updates.

These posts offer complementary engineering approaches, not a controlled comparison. Background synthesis can reduce latency and capture information users never explicitly asked to save, but it introduces a delay and a curation problem. Targeted updates expose the danger of destructive writes, though the reported benchmark results depend on Mastra’s implementation and evaluation setup. If the write path is part of the memory policy, we also need to ask what the system should retrieve—and how it can tell whether that retrieval helped.

3Session 3

What Deserves Retrieval?

The problem

Retrieval is not simply a search for the closest match. LangChain’s discussion of Generative Agents describes ranking memories by recency, relevance, and importance, with reflection used to condense observations into broader patterns. OpenAI’s internal data agent shows a more domain-specific arrangement: it retrieves curated context and learned corrections, then can query live data when prior context may be missing or stale.

Letta’s filesystem benchmark complicates the assumption that a specialized memory store is always the answer: its reported LoCoMo result suggests that a capable agent using ordinary files can perform well on a retrieval-focused task. But that is a product team’s benchmark report, not a general verdict on memory architectures. Together, the readings raise a measurement problem: should we reward finding the right passage, surfacing the right fact at the right time, or improving the agent’s actual work? That distinction matters even more when work must continue beyond a single context window.

4Session 4

Continuity Across Context Resets

The problem

A long task needs continuity, but not necessarily an ever-growing prompt. Anthropic recommends compaction and structured note-taking to preserve decisions, unresolved bugs, and task dependencies; OpenAI describes native compaction alongside a computer environment where agents can inspect files and databases rather than loading everything directly into context. Both treat context management as active curation, not mere storage.

Anthropic’s scientific-computing workflow makes the stakes concrete: a progress file, editable project instructions, and test oracles help agents work across extended tasks and sessions. These are engineering patterns and deployment examples, not a direct comparison of memory strategies. Their difference is instructive: compacted conversation summaries preserve selected history, while workspaces and notes can hold durable, inspectable task state. When continuity moves from a single agent’s context into a shared workspace, memory also becomes a question of ownership and access.

5Session 5finish here

One Store, Many Principals

The problem

A shared memory can make an organization more capable: agents may reuse useful corrections, project context, or lessons from other conversations. LangMem treats scope as an explicit design choice, with namespaces for individual users, teams, application routes, or procedures shared across users. Letta’s Conversations API goes further by allowing multiple conversations to feed one agent’s memory, while its Context Repositories use version control and isolated worktrees to coordinate concurrent memory edits.

But shared retrieval is not the same as safe sharing. Letta explicitly distinguishes accumulating memory across users from isolating it with separate agents; version control can help reconcile conflicting writes, but does not by itself determine who should see or change a memory. These are concrete engineering patterns, not complete answers to questions of provenance, permission, or revocation. The seminar ends at the boundary they expose: deciding not only what an agent should remember, but whose experience it is entitled to reuse.

Interested in joining a reading club with top AI experts?

Small groups, great readings, real conversations. Learn faster and grow your network.

A friend that hands you reading lists, not search results.

© Ology 2026