ES Technical meeting
Menu

AI memory is in the data

Business memory already exists: it lives in the data. The only memory that should belong to the agent is procedural.


There is a question that appears as soon as an organization gets serious about AI agents: how do we make the agent remember?

The market's dominant answer is to build a "memory system" — a separate layer that captures conversations, extracts facts, summarizes them and stores them for later retrieval. Excellent products have proliferated along these lines. It is worth examining carefully what those systems actually do, though, because most of them share an assumption that does not survive the jump to the enterprise.

The thesis of this article is direct: in a company, memory is not a system you have to add. It is a property of having your data well organized. The business's memory already exists — it lives in its data, every fact with its date and its source. Building a separate system to remember it on the side is not just unnecessary: it introduces a layer of inference that moves you away from the truth instead of closer to it.

What memory systems actually do inside

To see the problem you have to understand the mechanism. The best-known agent memory systems — Mem0, Zep, Letta, Cognee and others — share, with variations, the same pattern: when information comes in (a conversation, a document), a language model processes it and extracts the "facts" it considers relevant, summarizes them, and stores them for later retrieval. Mem0, for example, calls an LLM to extract facts automatically from every conversation. Zep summarizes the history and extracts entities asynchronously. Cognee runs an extraction pipeline that distills the text into a graph.

Each has valuable nuances — Zep adds a temporal graph that tracks how facts change over time; Letta lets the agent itself edit its memory — and all of them solve well the problem they were born for. But the common step is the decisive one: between the real data and what the agent ends up remembering sit one or more layers of LLM inference deciding what matters, summarizing it and rewriting it.

The problem: inferring on top of what was already inferred

Here is the core objection. A summary is an inference. An extraction of "relevant facts" is an inference. And when an agent operates on that memory, it infers on top of it yet again. What you build is a chain of inference upon inference upon inference — and every link moves you progressively further from the only thing that constitutes the truth: the data.

The effect is twofold. On one hand, whatever the extraction discarded is lost: if the LLM that summarized a conversation decided a certain detail was not relevant, that detail no longer exists for the agent — even if tomorrow it turns out to be critical. On the other, whatever was kept has been rewritten, and a rewrite can introduce nuances, errors or false certainties the original data never had. A separately compiled memory is, in reality, a second version of the truth: it has to be maintained, it goes stale the moment the source data changes, and it is hard to explain — when the agent asserts something, the trace does not reach the fact; it reaches the summary of the fact.

For a company, this is disqualifying. In a regulated sector you must be able to prove — not merely claim — why the system asserts what it asserts. An answer anchored in an LLM-generated summary is not provable. An answer anchored in the data, with lineage back to the source system and the date of origin, is.

The alternative: memory is reconstructed from the data

If the organization's data is centralized, related and described — if the infrastructure we have discussed in other articles exists — then memory does not need to be manufactured. Every recorded fact, with its date and its source, already is memory.

When a customer's history has to be retrieved, you do not consult a synthesized copy someone generated last week: you reconstruct it from the data that composes it, at the moment of asking, exactly as you answer any other business question. The difference is one of kind, not of degree:

  • It is always up to date, because it is not an aging copy but the truth queried at the instant.
  • It is complete, because it does not depend on what a prior extraction process decided to keep: all the data is there.
  • It is traceable, because every element keeps its lineage back to the origin — the assertion is anchored in the fact, not in the summary of the fact.

Memory, in this approach, is not a module with its own database and its own maintenance cycle. It is what emerges from having the data well organized. It is not inferred: it is queried.

The only memory that belongs in the agent: procedural

It pays to be precise, because not all memory is superfluous. Cognitive science — and the CoALA taxonomy the industry has adopted for agents — distinguishes three kinds: semantic (what is true about the world and the business), episodic (what happened in past interactions) and procedural (how to execute one's own tasks).

The key is who each one belongs to. Semantic and episodic memory are business knowledge — and that knowledge belongs to the organization's data, not to the agent. Trying to have the agent maintain them on the side is precisely the mistake: it duplicates in an inferred layer what already lives, truthful and traceable, in the data.

Procedural memory, on the other hand, does legitimately belong to the agent. It is the "how": how it learns to execute a specific task, what steps it follows, what routines it has refined with use. That memory is the agent's because it describes its own behavior, not the reality of the business. It makes complete sense for the agent to keep it and improve it. But it is a small, bounded portion — the "how it is done", not the "what is true". Confusing the two is what leads to building systems that try to make the agent remember the entire business, when the entire business is already in the data.

Why the easy path gets chosen

If memory is in the data, why does the other route proliferate? The answer is honest and worth stating without acrimony: because building the data properly is hard, and bolting a memory system on top is easy.

Centralizing an organization's sources, relating structured and unstructured data in a multimodal data lake, describing them in a semantic layer and governing every access with security and traceability is a considerable infrastructure effort. Wiring up a memory system that captures conversations and summarizes them can be done in an afternoon. The second path is legitimate and often brilliant in its design — but it solves a different problem from the one a serious company has.

The case of gBrain is illustrative, and it deserves to be looked at with admiration. It is the personal "brain" that Y Combinator's president, Garry Tan, open-sourced in 2026: a system that turns notes, emails, meetings and years of calendar into a knowledge graph that his agent reads before answering and updates afterwards, with a nightly "sleep cycle" that enriches and consolidates the memory while he sleeps. It is an elegant, genuinely creative piece of engineering. But its own design makes its scope clear: it is single-operator — built for one person. It is not multi-tenant, it does not isolate permissions at the user level, and its source of truth is a repository of text files. Its own analysts summarize it without ambiguity: gBrain is excellent for individuals; for an organization it is a personal tool that falls short as soon as multiple users, sensitive data and compliance requirements enter the picture.

And this is not a criticism of gBrain — it is exactly what it sets out to be, and it does it very well. It is an observation about the category: memory systems of this kind are solutions for personal environments. They elegantly solve the problem of an individual who wants their assistant to remember their world. Carrying that same approach into a company — where data is scattered across a dozen systems, where you must isolate who sees what, where every access must be auditable under GDPR, DORA or the EU AI Act — is asking a personal contraption to hold up a critical operation. It is not what it was designed for.

The conclusion

The proliferation of memory systems answers a correct intuition — agents need to remember — with a solution that, in the enterprise, attacks the symptom rather than the cause. The agent does not remember poorly because it lacks a memory module. It remembers poorly because the business knowledge it should operate on is scattered, undescribed and ungoverned.

Solve that, and memory stops being a problem that needs its own system. A company's semantic and episodic memory is in its data; procedural memory, in the agent; and the truth, only in the data — with its date, its source and its lineage. Anything that interposes itself between the agent and that data, however ingenious, is one more layer of inference. And inference, without a fact beneath it to anchor it, is not memory: it is supposition.

Want to go deeper?

Book a 30-minute technical meeting for your team.

We will show you how the Cell Model fits your stack, using your current data lake with no migration required.

Book a technical meeting