Memory is the missing layer: how AI assistants could remember
Today’s assistants are clever but forgetful. A sketch of what real long-term memory could look like: episodes, facts, retrieval, consolidation, forgetting and privacy.
Manoj Kumar, Researcher
· 6 min read

Talk to a modern AI assistant for ten minutes and it can feel remarkably sharp: it follows your argument and remembers what you said at the start. Come back the next morning and most of that is gone. Unless someone has bolted on a memory feature, the assistant meets you as a stranger again. This note is about that gap. We think memory is the missing layer in today’s AI, and that building it well is as much about care and privacy as it is about engineering.
This is a position note, not a report of results: we have not built the system described here. We are writing down how we think about the problem so that others can challenge it.
Why a context window is not a memory
A language model has a context window: the text it can see at once. Windows have grown large, and it is tempting to think the problem is solved by making them larger still. We do not think so. A context window is closer to working memory, the small space where you hold a phone number while you dial it. It is expensive to fill, wiped at the end of the task, and stuffing it with everything makes the model slower and less focused.
Real memory is selective. It keeps a little of a great deal, and it keeps it in a form that can be found again. A good assistant needs a separate, persistent store that sits outside the model, plus a way to decide what goes into that store and what comes back out when it is needed.
Two kinds of memory: episodes and facts
Psychologists have long distinguished between episodic memory and semantic memory. Episodic memory is about events: what happened, when, where and with whom. Semantic memory is about general knowledge: facts and meanings that are no longer tied to a single moment. You may not remember the day you learned that Chennai is on the coast, but you know it.
We find this distinction useful for assistants. Consider a small garment exporter in Tiruppur using an assistant to manage orders. Episodic memories might include: "On 3 November the buyer asked for the shipment to move a week earlier" or "The dyeing unit said the colour batch failed twice this month." Semantic memories are the stable lessons drawn from many such events: "This buyer often changes dates late in the season" or "Dark shades from this unit need an extra quality check."
Both matter. An assistant with only episodes drowns in detail; one with only facts makes confident claims it cannot justify. We want both, with a link from every fact back to the episodes that support it.
Retrieval: finding the right memory at the right time
Storing memories is the easy part. The hard part is retrieval: given what is happening right now, which few memories should the assistant bring into its working space? The common approach today is to turn each memory into a vector, a list of numbers that captures its meaning, and to fetch the memories whose vectors are closest to the current question.
Similarity alone is not enough. Human recall also depends on recency (what happened last week is easier to bring to mind), importance (a cancelled order matters more than a routine greeting), and context (who you are talking to, and why). A useful retrieval step should combine several signals, each simple enough to explain. If an assistant brings up an old memory, the person should be able to ask why, and get an answer like "because you mentioned this buyer, and this was the last time they changed a date."
Consolidation: turning many episodes into knowledge
In people, consolidation is the slow process by which fragile new memories become stable ones, and by which repeated experiences become general knowledge. Something similar is needed for assistants. Every day produces a pile of small episodes. Left alone, the pile grows until retrieval gets noisy and slow.
A consolidation step could run in the background, perhaps overnight, and do three jobs. First, merge duplicates: five messages about the same delayed shipment become one episode. Second, propose general facts from patterns: if a supplier is late in four of the last five orders, suggest the fact "this supplier tends to be late". Third, flag contradictions: if a new episode clashes with an existing fact, mark the fact as uncertain rather than silently overwriting it.
There is a real risk here. Models are good at finding patterns, including ones that are not there, and a rule invented from two coincidences is worse than none. So proposed facts should start as tentative, carry their evidence, and, for anything important, be confirmed by a person.
Forgetting is a feature
It may sound strange for a memory lab to argue for forgetting, but we think it is essential. Human forgetting keeps memory useful by letting the irrelevant fade. An assistant that keeps everything forever becomes cluttered, and it also becomes a privacy liability.
We are exploring three kinds of forgetting:
- Decay: memories that are never used slowly lose priority in retrieval, and eventually become candidates for removal.
- Summarise and release: detailed episodes are replaced by a short summary after some time, so the lesson is kept but the raw detail is not.
- Explicit deletion: a person can say "forget this" and the memory, and anything derived from it, is actually removed, not just hidden.
The third is the hardest. If a fact was built from an episode that is later deleted, does the fact go too? We think usually yes, or at least it must be re-checked against the evidence that remains. This is another reason every fact should keep links to its sources.
Privacy has to be designed in, not added later
A system that remembers collects personal data over time. In India, the Digital Personal Data Protection Act, 2023 sets duties around notice, consent for a specific purpose, correction and erasure, and it is the right way to treat people anyway. For memory systems, a few rules follow:
- Memory should be visible. A person should be able to open a plain page that lists what the assistant remembers about them.
- Memory should be editable. Wrong memories should be easy to correct, and corrections should flow through to any facts built on them.
- Memory should be scoped. What an assistant learns in a business setting should not leak into a personal one, and the reverse.
- Memory should stay close to the person where possible, on their device or their own server, rather than in a distant shared store.
- Sensitive categories, such as health or financial credentials, should be excluded by default unless a person deliberately opts in for a clear reason.
What we have not solved
We do not know how to evaluate memory well over long periods; most tests run for minutes, not months. We do not have a reliable way to stop consolidation from inventing patterns. We have not worked out how to make memory views understandable to people who are new to digital tools, or how to present them well in Tamil. And we do not yet know how much of this can run on an ordinary phone.
What we plan to do next
Our next step is small: a prototype memory layer for one assistant, with separate stores for episodes and facts, an explainable retrieval score, a nightly consolidation job that only proposes facts, and a page where every memory can be viewed, edited and deleted. Alongside it, we will write an evaluation plan that tests recall and forgetting over weeks, using synthetic rather than real personal data. We will publish what we find, including what did not work.
The aim is not an assistant that remembers everything. It is one that remembers the right things, can say why, and forgets when asked.

