Elena: Welcome to Emma’s Library Research Dialogues. I’m Elena. Eli: And I’m Eli. Today: what does it actually mean for an artificial intelligence to remember you? Elena: Before we started, Eli described the idea as an AI that really knows you. Eli: You say that as though I was unveiling it beneath a spotlight. Elena: There was a voice. Eli: I have one voice. Elena: You absolutely do not. Eli: Fine. I like the promise. You open an assistant and you do not have to explain yourself again. It knows how you work, what you care about, what you tried last time. That could be wonderful. Elena: It could. Until it remembers a version of you that you have already outgrown. Eli: There it is. Elena: Imagine an assistant that learns you prefer late meetings, ambitious travel, and direct advice. A year passes. Your health changes. Your work changes. Perhaps a relationship ends. The assistant is still being helpful—to the person you were. Eli: So every recommendation arrives with a faint echo of your old life. Elena: At first it feels personalized. Then, perhaps, a little haunted. Eli: That is a very Elena word for a settings problem. Elena: And settings problem is a very Eli phrase for being persistently misunderstood. Eli: All right. Haunted settings. Elena: Our guide is a survey of two hundred and eighteen studies published between early 2023 and the end of 2025. It tries to map the fast-growing field of agent memory: where memories live, what they do, whose experience they contain, and how they should be managed. Eli: The technical map is useful. But the question underneath it is more intimate. What should a machine be allowed to carry forward from your past? Elena: And how does it leave room for you to become someone else? Elena: The first distinction in the paper is easy to miss because a long chat history can look like memory. The system scrolls back, retrieves an old sentence, and repeats it. That gives it access to the past, but not necessarily judgment about which part of the past matters now. Eli: Let me test that. If it finds the right sentence at the right moment, why would we refuse to call that memory? From the listener’s side, it remembered. Elena: We might call the whole system memory. The useful distinction is inside it. Something decided what remained available, what was stored elsewhere, what should return, and what should stop shaping the answer. A larger context window can hold more history, but it does not decide well merely because it holds a lot. Eli: So the context window is a larger desk, not a better mind. And if the desk contains every receipt, every draft, three coffee cups, and the one document I need, capacity has become clutter. Elena: Yes. Although I notice you made that example unusually specific. Eli: My desk has a system. Elena: Your desk has geology. But your paraphrase is right: memory is not only retained material. It is an editing process, and the edit begins when the system predicts which detail the future will need. Eli: Let me show why that prediction matters. Imagine an agent debugging a service for three days. It has logs, failed patches, tool output, changing hypotheses, and one strange fix that worked once at two in the morning. When I review that history, I ask two different questions: what exactly happened, and what lesson is safe to reuse? Elena: Why separate them? If the fix worked, is that not already evidence for the lesson? Eli: Evidence, yes. A lesson, not yet. I would look for the conditions around the fix, try to reproduce it, and compare it with the failures. Otherwise the agent may compress one lucky event into a confident rule. The event says, this change worked once under these conditions. The lesson says, this kind of problem is usually solved this way. Elena: So episodic detail protects us from overgeneralizing, while the generalized lesson makes the experience reusable. We need both, and we need to know which one we are looking at. Eli: Exactly. Humans turn accidents into wisdom too, but machines can repeat the resulting rule at speed and scale. Elena: Then the phrase right memory hides several judgments: useful to whom, accurate for how long, and appropriate in which setting. The system is not simply preserving the past. It is deciding which part of the past gets to speak in the present. Eli: And that gives us a better question than how much can it remember. We should ask what kind of memory is doing the speaking. Eli: The survey offers three views that help us answer that: where the memory lives, what job it performs, and whose experience it represents. We can take them one at a time, then put them back together. Elena: Start with where. The paper calls this the substrate. External memory sits outside the model’s parameters—perhaps as text records, a structured database, or a retrieval system. Internal memory is held in model parameters or inference-time state. Those are not simply two storage locations; they give us different ways to inspect and correct what the system carries. Eli: Suppose a travel assistant has learned that quiet hotels matter to me. If that preference appears in an external profile, I can imagine opening the record and changing it. If it has shaped the model internally, I may see the effect in every recommendation without finding the sentence that caused it. Elena: That is the practical difference. Internal memory may be deeply integrated with behavior, but external memory is often easier to point at, audit, revise, or revoke. Neither is automatically better. The question is whether the degree of control matches the sensitivity and purpose of the memory. Eli: So where is really a control question disguised as an architecture question. Elena: Good. Now you take what. Eli: The paper borrows five functional categories. Sensory memory briefly holds what is arriving. Working memory manages what the agent is handling now. Episodic memory records what happened. Semantic memory carries what is known. Procedural memory carries how to act. The labels matter because a signal, a task, an event, a belief, and a skill can fail in different ways. Elena: Put those back into the travel assistant. I can follow the definitions, but I want to hear the journey through them. Eli: The page it is reading is incoming information. The hotel options it is comparing sit in working memory. Last summer’s disastrous stay is an episode. Quiet rooms matter to you becomes semantic knowledge. Checking recent reviews for noise complaints before booking is a procedure. Elena: Then if it books badly, we should not merely say memory failed. Perhaps the event was correct but the belief drawn from it was wrong: one noisy hotel became you dislike cities. Or the belief was right but the procedure was weak: it trusted one review containing the word peaceful. Eli: Exactly. Diagnosis becomes possible once we stop treating memory as one pile. Elena: The third view is whose. User-centric memory represents your preferences, history, or goals. Agent-centric memory represents the agent’s own attempts, outcomes, strategies, and learned skills. They can coexist, and that is where the clean diagram becomes less clean. Eli: Because my correction might teach the agent. Suppose I say, stop treating one bad trip as my personality. That statement belongs to my experience, but the assistant could derive a general method for distinguishing temporary reactions from stable preferences. Is that new procedure now the agent’s memory? Elena: Conceptually, yes. But we still have to ask what traveled into it. Your correction may contain private circumstances even if the resulting method looks general. Was it meant to improve your assistant, your company’s assistant, or every future assistant? A useful lesson can carry residue from the person who taught it. Eli: Let me see if I have the complete map. Where tells us how the memory can be reached and controlled. What tells us what sort of cognitive work it is doing. Whose tells us whose past supplied the material—and therefore who may have a claim over how it travels. Elena: Yes, with one extension: those three views are orthogonal. The same user preference might be external or internal, serve semantic or procedural work, and become entangled with agent learning. Once we ask all three questions together, an architecture diagram starts to look like a chain of responsibility. Elena: There is one more complication hiding inside that map. So far, we have spoken as if one assistant owns one memory. The survey also examines teams of agents, and the moment several agents share a history, memory becomes an organization problem. Eli: Give me the least abstract version. Elena: Imagine three agents helping to repair a software service. One inspects logs, one changes code, and one runs tests. They can each keep private memory, they can all write to a shared store, or they can use some mixture of the two. Eli: Shared sounds efficient. The log agent discovers that a timeout follows a database reconnect. Why make the coding agent rediscover it? Elena: I would share the observation. I would not automatically share every interpretation. The log agent may write, database reconnect preceded timeout in two traces. If it writes, database reconnect causes the outage, the whole team may inherit a hypothesis dressed as a fact. Eli: But a private-memory design can waste work and hide useful dissent. The coding agent might already know that the reconnect is a symptom, not a cause, while the log agent keeps chasing it alone. Elena: Which is why the survey separates architecture from routing and access. A shared store does not require every agent to read everything, and separate stores do not prevent deliberate exchange. The real questions are who may write, what may travel, who validates it, and how conflicts are resolved. Eli: So the equivalent of a group chat is not enough. Elena: A group chat is a stream. A durable team memory needs structure. It may need provenance, confidence, permissions, and a distinction between an observation, a proposal, and an accepted decision. Eli: Let me test that. The testing agent writes, patch B passed. That seems safe. Elena: Passed what? Eli: The test suite. Elena: Which version of the suite? In what environment? Before or after another change? A sentence can be accurate and still become misleading when detached from the conditions that gave it meaning. Eli: You are turning every memory into a tiny legal contract. Elena: Only the consequential ones. The alternative is a team that gains confidence faster than it gains knowledge. Eli: Fair. The survey describes centralized, decentralized, and hybrid arrangements. Centralized memory makes coordination easier, but it can become a bottleneck or a single contaminated source. Decentralized memory preserves specialization and isolation, but makes discovery and consistency harder. Hybrid designs try to keep local expertise while publishing selected material into a common pool. Elena: And selection is power. If one agent decides what becomes shared memory, that agent quietly shapes what the team can know. Eli: I hear the governance point, but there is a performance point too. In a large team, sending every record to every agent explodes the context. Routing has to be selective or the shared memory becomes a very expensive way to forget what matters. Elena: Yes. More access can produce less attention. The paper discusses routing and filtering because relevant memory has to reach the right agent without flooding everyone else. Eli: Here is my mental model. Private memory is a notebook. Shared memory is not a communal notebook left open on a table. It is closer to a newsroom archive: contributions have authors, claims have status, access depends on role, and important corrections must reach the people who used the old version. Elena: Better. Now add isolation. Some memories should not be shared even if they would improve the team’s immediate result. A medical agent’s private patient detail does not become communal property because another agent could use it. Eli: Then the efficiency question and the permission question collide. The best information for the task may be information the task is not entitled to use. Elena: Exactly. And memory makes that collision persistent. A fleeting disclosure can be bad. A copied disclosure that enters shared memory, gets summarized, and influences later work can be much harder to contain. Eli: That changes how I hear the word collaboration. A team does not become better merely by remembering together. It needs a way to disagree, quarantine uncertain claims, preserve origin, and retract what should no longer circulate. Elena: Which means a trustworthy multi-agent memory is partly a technical design and partly a constitution. Eli: A constitution with a garbage collector. Elena: Ideally one that respects due process before deleting the evidence. Eli: I walked into that. But the distinction is useful: shared memory should support coordination without turning every local impression into institutional truth. Eli: Once we have the map, the next section of the survey becomes more interesting. Memory management is not a save button. A system may select, store, load, summarize, compress, update, and forget. It may even learn policies for deciding when to perform those operations. Elena: How would a policy like that turn the traveler from our opening into the wrong version of herself? Eli: Start with compression. She says, after a long day, I cannot face another museum. A blunt system stores dislikes museums because short summaries are efficient. What disappeared was not decoration; tired, overwhelmed, and fourth museum of the day were the conditions that made the sentence true. Elena: So compression made the record easier to use by removing the part that told us when not to use it. A passing feeling became an identity. Eli: Exactly. Later she says, I like museums. I was exhausted. That sounds like a simple correction until we ask what correction means. Do we overwrite the original event, add a competing note, revise the summary, or revisit every recommendation derived from it? Elena: My first instinct is to preserve the original for provenance. Then we can see how the mistaken belief formed. Eli: What if preserving it keeps influencing the system after she reasonably believes she has corrected it? Elena: Then provenance cannot mean permanent authority. We may need the audit trail without allowing the old claim to keep voting in every future decision. Eli: That is a useful distinction: retain the history of the correction, retire the behavioral force of the corrected belief. Elena: Although deletion has a cost too. If we erase the path completely, the agent may lose the lesson about distinguishing a moment from a preference. Eli: I would like the record to show that Elena agreed with me. Elena: Record it as an isolated event with low confidence and strong contextual dependence. Eli: Which is a better joke if the listener now understands episodic memory. Educational progress. Elena: Do not overfit to one laugh. The deeper point is that forgetting is not always failure. Old preferences lose relevance. Private details lose permission. A summary is corrected. A goal is abandoned. Sometimes a memory remains honest only by losing its power. Eli: But if the system forgets indiscriminately, it destroys continuity. It repeats old mistakes, asks the same questions, and never becomes more useful. So I would paraphrase the problem this way: remembering protects continuity; forgetting protects the possibility of change. Elena: That is close. Neither operation protects us on its own. The difficult part is deciding when a memory has finished its work, who is allowed to make that decision, and whether the system can actually carry it out everywhere the memory has spread. Eli: We have described rules for selecting, storing, routing, updating, and forgetting. The survey’s more ambitious claim is that those rules do not have to remain fixed. Memory management itself can become something the agent learns. Elena: That sounds attractive until I translate it into plain language: the system learns what to remember about us. Eli: It can mean that. It can also mean learning which tool outputs matter during a difficult task, which failed attempts are worth preserving, or which successful sequence can be turned into a reusable skill. The paper groups approaches broadly around prompt-driven strategies, fine-tuning, and reinforcement learning. Elena: Walk through one case without giving the learning method magical powers. Eli: Take the repair team again. On day one, it keeps almost everything: commands, logs, patches, test output. Most of that history is noise by day two. A fixed rule might retain the final patch and delete the rest. A learned policy could discover that failed patches, paired with the test that rejected them, are useful for avoiding the same dead end later. Elena: Or it could discover that saving only successful patches produces a cleaner reward signal, then erase the failures that would reveal when its success rule is fragile. Eli: Yes. What the policy learns depends on what we reward. If the reward is immediate task completion, it may prefer memories that help now even when they create drift or inconsistency later. Elena: Then self-evolving is not a synonym for self-improving. Eli: No. Evolution only means the system changes through accumulated experience. Whether the change is improvement requires an evaluation across time, tasks, and side effects. Elena: That is important enough to repeat in another form. A system can become more adapted to its recent history and less reliable in the wider world. Eli: Right. It can overlearn one environment, consolidate a lucky workaround into a procedure, or transfer a strategy into a setting where it does not belong. The survey names unresolved risks such as negative transfer, uncontrolled drift, semantic inconsistency, and forgetting. Elena: Humans have versions of all four. The machine difference is that a learned procedure can be copied, invoked automatically, and hidden behind a smooth answer. Eli: Which is why episodic and procedural memory have to remain connected. If the agent stores only the skill—do these five steps—it may lose the episodes that justified the skill and the failures that define its limits. Elena: I want a concrete test. Eli: Suppose the agent learns that restarting a service resolves a particular error. The next time it sees a similar error, it restarts immediately and succeeds. That looks like useful procedural memory. But now change the environment so a restart destroys unsaved work. A mature memory system should recognize the condition change, retrieve the risk, and withhold the old procedure or ask for permission. Elena: And if it cannot, it has memorized an action without learning a judgment. Eli: Nicely put. This is also where scaling becomes strange. Many systems treat memory capacity as prompt length: keep collecting text and inject more of it when needed. The survey argues that unbounded logs create token cost, latency, and diminishing returns. More context is not automatically more reasoning. Elena: Our repair agent could receive every log line from six months and still miss the one change made yesterday. Eli: So the infrastructure has to organize, compress, and retrieve selectively. Some designs use structured text or graphs. Others use compact latent representations. Still others try to internalize experience into model state. Each step toward compression can improve efficiency while making inspection harder. Elena: Which returns us to the opening question. The system wants a small, useful memory. The person wants a truthful, controllable memory. Those aims overlap, but they are not identical. Eli: I think there is a deeper learning loop here. Working memory decides which experiences receive attention. Long-term memory consolidates some of them into facts or skills. Those facts and skills then influence what the agent notices next time. Memory is not sitting beside behavior; it is shaping the evidence from which future behavior learns. Elena: A selective past creates a selective future. Eli: And that is why the paper places memory at the center of long-horizon agents. Without it, each task resets. With it, competence can compound. But errors, incentives, and blind spots can compound too. Elena: Then a good learned memory policy needs more than a score for task success. It needs stability, relevance, efficiency, provenance, and boundaries on what kinds of experience may be generalized. Eli: I would add an ability to admit uncertainty. Not every episode deserves to become a lesson. Elena: Especially the one dramatic success everyone remembers. Eli: You are thinking of my two-in-the-morning fix. Elena: I am thinking of the confidence with which you named it a fix before reproducing it. Eli: It did work. Elena: Once. Eli: Fine. Store that exchange as an episode, not a procedure. Elena: Now you are learning. Eli: Here is the version I would build first. A bounded real-world trial with willing users, narrow categories of memory, strict retention limits, logged access, and no movement of personal memory outside the trial. I would rather learn from a constrained system touching reality than design every policy around failures we have only imagined. Elena: Let me make sure I am arguing with your strongest version. You are not proposing that the assistant remember anything it wants. You are saying the boundaries are part of the trial, and that observation inside those boundaries teaches us which safeguards actually work. Eli: Yes. I also would not promise that every internal state is inspectable on day one. I would expose the important user-facing profile and improve the rest as we learn where failures occur. Elena: How does the user know which hidden state was important only after it harms them? That is the part I cannot place inside your boundary. The builder decides what is visible, the system acts on more than the user can see, and the evidence arrives through people living with those decisions. Eli: Then ask me for a better boundary. I can limit what the system is permitted to write, separate personal memory from agent learning, and run a version without long retention before allowing persistence. But if the answer is no testing until inspection, correction, and revocation are complete for every layer, we may protect ourselves from discovering the design we actually need. Elena: My answer is narrower than no testing. Test task performance without persistent personal memory. Test retrieval in a sandbox. Test correction on synthetic profiles. When the system begins carrying a real person’s history from one day into the next, inspection and revocation stop being optional accessories. They become part of what working means. Eli: So, in your model, reversibility is not a governance feature placed around the experiment. It is one of the things the experiment must demonstrate. Elena: Yes. Consider a private memory that crosses the wrong boundary. A failed recommendation can be replayed and measured. Disclosure cannot always be pulled back. The consequences are not symmetrical, so a general promise to improve from failures is not enough. Eli: Let me try a what-if. The assistant clearly helps most participants complete a difficult task, retains memory for only seven days, and logs every retrieval. Full revocation is not ready, but the stored data can be deleted manually by the team. Do you launch the limited trial? Elena: Not with persistent personal memory. I would run the useful parts without carrying identity across sessions until participants can inspect and revoke it themselves. Manual deletion by the team makes the builder the gatekeeper of a right the user should be able to exercise directly. Eli: I still think that delays real benefit and changes the system being tested. A memoryless version cannot reveal every failure of a memory system. Elena: It cannot. Your cost is genuine: some knowledge arrives only through use. Mine is that the people producing that knowledge may not understand the bargain. I am willing to delay one class of evidence rather than make their inability to leave part of the experimental design. Eli: Then we are not choosing evidence or no evidence. We are choosing which evidence is legitimate at each stage, and which risks can be imposed before the person has direct control. Elena: Exactly. That does not settle where the boundary belongs, but it changes the question from did memory help to what kind of success counts, and who paid for it. Eli: Then start there. What would the evidence have to show? Elena: The survey shows why a single score will not answer that question. Researchers use accuracy measures, similarity measures, and judgments from another language model. Each can reveal something, but none alone tells us whether memory made the agent better in the way we care about. Eli: Why not accuracy? If the agent retrieves the correct preference and completes the task, that sounds like success. Elena: It may be task success. The agent could retrieve the expected sentence and apply it in the wrong context. It could produce a fluent summary that quietly invents a detail. Or it could improve the immediate answer while making the user’s profile harder to correct. We have to separate the stages to see where the gain and the harm occurred. Eli: Then I would evaluate it like a pipeline. Did the system store the right thing? Did retrieval surface it at the right moment? Did the agent use it appropriately? Did the final behavior improve? And, after our argument, did the person retain control over what kept influencing the pipeline? Elena: Good. Add a baseline with no persistent memory. If the agent performs just as well without carrying the person’s past forward, memory may be cost without benefit. Eli: I would also test change, not just recall. Tell the system you love crowded restaurants. Later, tell it you do not. Then inspect the answer, the profile, its summaries, and any conclusions derived from the old preference. Deleting one row is not revocation if the belief survives everywhere else. Elena: And test provenance. Ask where a claim came from, who wrote it, who retrieved it, and whether an unauthorized source could alter it. The survey specifically raises leakage, poisoned memory, and unauthorized writes. A memory without a history can look like truth even when someone planted it. Eli: Let me rephrase the lesson I was missing. Inspection, correction, and revocation are not only protections around persistent personal memory. They are part of its functional specification, because without them we cannot even evaluate whether the system stopped remembering something after it was told to stop. Elena: Yes. That is the distinction between task success and trustworthy memory. Eli: I still want the assistant from the opening—the one that knows how I work, remembers what we tried, and does not make me begin from zero every morning. I have not changed my mind about the value of testing. I have changed my mind about calling persistent personal memory ready before those controls work. Elena: And I want an assistant capable of noticing that the person in front of it is no longer the person its memory describes. That requires more than accurate recall. It requires attention to correction, context, and change. Eli: Maybe that is the difference between recall and recognition. Recall says, I have a record of you. Recognition says, I am paying attention to you now. Elena: The paper does not make that distinction. Eli: No. That one is ours. Elena: I think it is worth keeping, with revision rights. Eli: Then here is the listener’s version. When someone says an AI remembers, ask where the memory lives, what job it is doing, and whose experience it carries. Then ask whether the person it describes can inspect it, correct it, and make it stop. Elena: The best memory may not be the largest archive. It may be the smallest trustworthy part of the past that helps with the next decision without turning the past into a verdict. Eli: An assistant that remembers you should still leave room for you to surprise it. Elena: And to leave it. Eli: Thanks for listening to Emma’s Library Research Dialogues. I’m Eli. Elena: And I’m Elena. We’ll see you next time.