akougkas.io

Agent memory is a storage problem

Memory for agents decomposes into tiers with different access patterns: episodic, semantic, procedural, working. Storage people already know how to build tiers, and a time-ordered shared log is the episodic one.

Published
Updated
Reading
8 min read
Topics
agents, systems, data

“Memory” is the word the agent world uses for a set of problems the storage world solved under other names. I keep watching new memory products appear, each one a database with a vocabulary transplant. The framing is backwards, and my group is building on the opposite view. I am a storage person looking at an agent problem, which is exactly the bias the argument rests on.

An agent that runs for longer than one context window has to keep something outside the window. What it keeps falls into categories that cognitive science named long ago, and the categories have different access patterns. That observation is what turns this into a systems problem.

Four kinds of memory, four access patterns

  • Episodic memory is what happened: every observation, tool call, decision, and result, in order. It is append-heavy, read by time range or by causal chain, and its value is that it can be replayed. Nobody edits an episode.
  • Semantic memory is what is known: facts, relationships, the current state of a dataset, the meaning of a variable. It is read far more than it is written, queried by content rather than by time, and it has to be consistent across agents that share it.
  • Procedural memory is how to act: the workflow that worked, the protocol that failed, the sequence of calls that gets a result. It is written rarely, read at the start of a task, and valuable in proportion to how reliably it can be replayed against a slightly different situation.
  • Working memory is what is in the window right now. It is the only kind the model touches directly.

Append-only with range reads. Random reads with consistency. Rare writes with pattern-matched replay. A hot cache with strict capacity. Any storage person reads that list and sees a tiered system with a placement policy. That is the claim. I resisted it for a while. I called the connection a nice analogy and left it there, until the access patterns stopped letting me. Agent memory is not a new category of software. It is a storage hierarchy with a new client, and the tiers map onto the ones we already run: working memory in the accelerator and DRAM, semantic memory on fast shared storage, episodic memory on a log that spills from memory to NVMe to the parallel file system, procedural memory wherever a small index of proven recipes lives.

Four kinds of agent memory, each mapped to the storage tier whose access pattern it shares. kind of memory working semantic episodic procedural hot cache random reads append, replay rare writes accelerator and DRAM fast shared storage shared log: NVMe, PFS index of recipes storage tier
Four memory kinds drawn against storage tiers: working memory on the accelerator and DRAM, semantic memory on fast shared storage, episodic memory on a shared log that spills from memory to NVMe and the parallel file system, and procedural memory in a small index of proven recipes.

What the products do

The industry has moved fast here and the tools are real. Mem0 describes itself as a memory layer for agents and applications, a drop-in store for context that persists across sessions. Zep is a managed agent-memory platform, with a public repository of integrations and examples. LangMem is LangChain’s SDK for extracting long-term memory from conversations and refining agent behavior over time. muscle-mem is a behavior cache that records an agent’s tool calls while it solves a task and deterministically replays them when the task recurs, which is the cleanest public example of procedural memory I have seen.

My assessment, and it is an assessment rather than a benchmark result, is that these are built for conversational agents at the scale of one application. For a scientific facility the missing properties are the ones a shared log provides and a memory API does not:

  • Durability that survives the process and the node.
  • Total order across writers on different machines.
  • Replay from any point in time.
  • Multi-tenancy with a policy on who may read whose history.

Those are not features to bolt onto a vector store. They are the properties a distributed log is designed around. If someone at one of those companies wants to prove me wrong with a benchmark, I will run it and publish the result.

The shared log is the episodic tier

ChronoLog was designed in 2019 and 2020 as a distributed shared log ordered by physical time, before anyone was talking about agents. I would like to claim foresight. It was a log for instruments and workflows, and agents turned out to write like instruments. The bet was that synchronized clocks could establish total order without a sequencer in the append path, so many writers and many readers work at once and a record becomes visible the moment it lands. The second bet was that a log should scale across nodes for throughput, across storage tiers for capacity, and across time so a range query knows where to look. The MSST 2020 paper laid it out, NSF funded it in 2021 with Kyle Chard at the University of Chicago, and Kun Feng and Eneko Gonzalez have shipped the releases that made it real, including the 2.0 release last year that added historical replay. The project record and the documentation carry the current state.

Read that design again as an agent memory. Every observation an agent makes is an append with a timestamp. Every decision is an append. Replay over a time range gives you the episode. Ordering at write time gives you causality without a coordinator. Tiering gives you a week of agent activity without keeping a week of it in memory. And because the log is shared, two agents on two nodes write to the same chronicle and a third reads both in order. That is the episodic tier, and it was designed for the rates an instrument produces, not only the rate a chat produces.

ChronoLog is not a memory product and I will not describe it as one. It is the substrate. What belongs on top is an event model for agents: typed records for actions, inputs, tools, outcomes, and the policy under which each may be shared. That is the direction the group calls AgentLog, and it is at the design stage.

The other tiers

Semantic memory is CLIO’s job inside IOWarp. The context store holds self-describing content with its metadata and provenance, placed across tiers by the CLIO Core transfer engine, discoverable by meaning through the exploration interface and the MCP servers in CLIO Kit. An agent asking what a variable means, or which run produced a checkpoint, is reading semantic memory, and it should get the same answer as the agent on the next node.

Procedural memory is the tier I have the least to show for, and the one I would point a student at, because nobody has a system there yet. A recipe that worked is a sequence of tool calls with their arguments and the state that made them valid, which is exactly what a sealed receipt would record. If receipts are stored, indexed, and matched against a new task’s state, they become replayable procedures. That is a design I am pursuing rather than a system I can point to.

Working memory is the model’s window, and the transfer engine’s role there is a cache’s role: keep the current step’s context close and page the rest out without losing it. MegaMmap showed the mechanism for a workload treating NVMe as memory. Treating the context window the same way is the obvious next step.

What the reframing buys

Naming the tiers changes what you measure. Instead of asking whether an agent “remembers”, you ask about append rate, replay latency, consistency across writers, and eviction policy, and those are questions with answers. It also changes who should build it. The storage community has thirty years of practice keeping promises about data that outlives a process. The agent community has a year of practice with memory APIs. I would rather bring the first to the second than the reverse.

The open question is the policy plane: which agent may read which episode, and how that is enforced at the log rather than in the framework. I do not have a design for it that I like yet. No tier in the old hierarchy solved that, because the old client never had to be told no.

Update, September 2026

ChronoLog v3.0.0, released in May, moved its MCP server into the main repository, so a CLIO agent can now create chronicles, record, replay, and run time-range queries through CLIO Kit. AgentLog remains design-stage work.

Sources, code, and records

  1. source

    ChronoLog paper

    The MSST 2020 design for a distributed shared log ordered by physical time.

  2. source

    ChronoLog repository

    Source and releases for the log described as the episodic tier.

  3. source

    muscle-mem

    A behavior cache that replays recorded tool-call trajectories; the clearest public example of procedural memory.

  4. source

    Mem0

    A memory layer for agents, representative of the conversational-memory products discussed.

  • 2020–present
    active

    ChronoLog

    A distributed shared log ordered by physical time

  • 2025–present
    active

    CLIO

    A context layer for scientific AI agents and workflows

  • 2024–present
    active

    IOWarp

    Context management infrastructure for scientific AI

More on ChronoLog

  1. essay

    One destination, N tiers

    Every tier supplies the application at once, and the application sees one destination. The thesis from a November 2026 talk to my group at the Gnosis Research Center, the six lines of I/O work behind it since 2016, and my bet that they are the foundation agents need for context.

    9 min
  2. essay

    MCP for science: what sixteen servers taught us

    CLIO Kit ships sixteen MCP servers over scientific formats, schedulers, and a shared log. What they taught us about tool shapes, what a summarize tool must refuse, and where the protocol runs out.

    9 min
  3. essay

    Physical time as a sequencer

    ChronoLog 1.0.0 is out. A distributed log can order by synchronized physical clocks and drop the central sequencer. Why that trade fits activity data, what 1.0 delivers, and what worries me about clocks.

    7 min