AI Agents · Agent Memory · Research

Agent memory: what should an AI agent remember?

What an AI agent should remember between sessions, from 234 sources and 438 checked claims: a few verified notes, one retrieved at a time, all treated as untrusted.

Vin Lim Founder, Astralab
Download

A language model starts every session knowing nothing about the last one. An agent built on it can spend an afternoon learning how one website's date picker behaves, and the next morning it has to learn it again. Agent memory is the set of techniques for carrying what an agent learned in one session into later ones: notes it writes for itself, records of past tasks, and procedures it can reuse.

We needed a memory design for Auto Browser, a Chrome extension that runs an AI agent in the browser's side panel, on a cloud model or on one running on the user's own machine. On 6 November 2026 Anthropic published The components of agent memory, its account of how Claude writes and maintains memory. We read it closely, then surveyed what sits around it: the research systems, the benchmarks, what shipped products remember, how memory is attacked, and what it takes to run memory on a user's own machine. This piece is the summary we want to have on hand the next time we build an agent. The three full survey reports, and the record of how each claim was checked, are in the download at the top of this page.

The short answer is that the evidence favours keeping very little. Memory helps most when it is a short procedure for one site or one kind of task, checked before it is trusted, with the agent fetching a single stored item for the task in front of it. Storing more has made agents worse in several measured cases. That applies to what an agent writes about its own work and to what is loaded into its prompt. A large set of documents is a different case, where an index built over them helped. In Anthropic's own runs, a background pass that re-reads past sessions corrected wrong notes and built an index that made search work better. And everything an agent remembers has to be handled as untrusted data, because getting an agent to save an attacker's text is an attack that already works against shipped products.

On this page

What is agent memory?

Agent memory is knowledge an AI agent gains from experience and keeps between sessions, saved as context it can read later. That is Anthropic's definition. It leaves out three things often filed under memory: changes to the model's weights, what a model picks up inside a single conversation, and compaction, where a summary replaces older turns so a long session can continue.

Researchers usually sort memory by what it holds. Semantic memory is facts, about the user or the world. Episodic memory is a record of what happened. Procedural memory is how to do something. A 2025 survey, Memory in the Age of AI Agents, sorts memory three ways: by its form, by its function, and by how it changes over time. The split by what memory holds is the one that matters below: products mostly ship semantic memory, and the measured gains for agents are mostly in procedural memory.

Anthropic's post sorts memory by how close it sits to the model, and this is the picture we found most useful for design, because it says where a piece of memory should live and how often the model sees it. It has four layers.

LayerWhat it holdsHow the agent reaches it
TranscriptsThe raw record of past sessionsSearched when needed. This is the ground truth the other layers are checked against
Memory notesWhat the agent chose to write downRead or searched when needed
RepresentationsPages built from the notes, such as a wiki whose pages link to each otherFollowed from an index, like a map of what the agent knows
Injected contextA small set of notes loaded into every sessionAlways present, so the agent does not have to know to look

What did Anthropic find about agent memory?

Anthropic's November 2026 post, The components of agent memory, found that a newer model wrote far fewer, more useful notes than an older one, that for its stronger models, saying what memory is for works better than rules about what to store, and that a background pass over past sessions, which Anthropic calls dreaming, can correct notes and keep memory organised.

The newer model kept fewer, more useful notes. Writing a note is a prediction that something will matter again. Anthropic compared the memory folders of an older and a newer Claude model playing Pokémon Red, one run each, about 10,000 game actions in. The older one, Claude Sonnet 3.7, had written 413 files and earned one badge. The newer one, Claude Fable 5, had written nine files plus one top-level file and earned four badges. The older model recorded things the game shows on screen every turn, such as money and position, and those records went stale as soon as the game moved on. The newer one recorded what exists only if someone writes it down: strategy, plans, and rules it had tested. The lesson we take is to store what the agent cannot read off its environment next time.

Say what memory is for, and leave the judgement to the model. On CL-Bench, a benchmark where an agent answers database questions and may keep notes between them, Anthropic told the models only that a memory folder existed. That was enough for Claude Opus 4.7 and Opus 5 to use it well. Adding the rule "record only failures" cost both models much of the gain. Weaker models needed the opposite treatment. Claude Sonnet 4.6 often did not read its own notes, and prompting it to read them first and to test its theories nearly doubled its score.

The third finding needs its own heading.

What is dreaming in agent memory?

Dreaming is a background pass in which an agent re-reads the transcripts of its past sessions and reorganises its memory: it corrects notes, merges duplicates, builds pages that link notes together, and chooses what is loaded into every session. The idea comes from sleep-time compute, proposed by researchers at Letta, a company that builds memory software for agents, and UC Berkeley: let a model use idle time to work over context it already has. Anthropic describes four things the pass does.

  • It corrected a wrong note. In Pokémon, Claude wrote down that a landmark was on the wrong side of a mountain, and kept walking off a one-way ledge because of it. A dreaming pass compared the note with the session transcript and rewrote it. The run with the corrected note got through the mountain. The run with the original note, and the run with no memory, did not.
  • It built a wiki that made search work better. Over 128 sessions, agents built a wiki from about 350,000 internal files. Anthropic then asked 25 questions about those documents and scored the share of grading criteria each answer met. Answering from the wiki alone, the score rose from 13% to 48% as the wiki grew. With a search tool as well, the agent scored 61%, against 53% for search with no wiki. In two further tests on legal documents, a wiki helped on questions that needed several documents (87% against 73% for search alone) and showed no clear gain on a task where one document usually held the answer.
  • It keeps the always-loaded layer small. Notes loaded into every session cost tokens, and a wrong one is carried everywhere. Anthropic says much of the pass's work at this layer is moving detail down and leaving a link behind. Claude Code applies the same limit directly: it loads only the first 200 lines or 25 KB of its memory index.
  • Its instructions decide which facts survive. On a legal benchmark, a wiki that summarised contract terms into one shared table kept 41 of 57 graded facts. Giving each contract its own page, with the terms quoted word for word, kept all 57.

Anthropic's cookbook for dreaming shows the pass as two stages. One analyzer per transcript checks existing notes against what the transcript shows, then a single organizer merges duplicates without dropping facts. A fact that changed is dated and marked as replaced, and a conflict the organizer cannot settle is kept and labelled as a conflict. Later sessions can read the result but not change it. The cookbook also warns that transcripts contain text the agent did not write, so the pass is working on untrusted input.

The same shape appears in Andrej Karpathy's LLM Wiki note of April 2026: raw sources that are never edited, a wiki the model maintains on top of them, and a periodic check for contradictions and for pages nothing links to. Anthropic's post is open about what it has not settled. When should an agent write, given that writing mid-task distracts it and writing afterwards delays the note? How is memory kept current without re-checking all of it? It also suggests that transcript search may be the right foundation, with everything else built on top. We carry these into our own design.

Does agent memory improve accuracy?

For recalling past conversations, agent memory improves accuracy only once the history no longer fits in the model's context window. While it fits, giving the model the whole history has matched or beaten most of the memory systems it was compared with. Every system we found is weak at noticing that a stored fact has stopped being true.

Memory of how to do a task is a separate question, and the next section covers it.

On short histories, the full history is hard to beat. LoCoMo is a benchmark that several memory products quote. It asks questions about long chats that still fit in a current model's context: its paper gives about 9,000 tokens per conversation, and Zep measured the public release at 16,000 to 26,000. Mem0 is a memory product for agents. In Mem0's own paper, a model given the full conversation scored 72.90, above both Mem0 variants (66.88 and 68.44). The scores are a judge's accuracy rating out of 100. What Mem0's table does support is speed: Mem0's 95th-percentile response time was 1.44 seconds, against 17.1 seconds when the model read the full conversation. A separate benchmark, ConvoMem, makes the same point in its title: Why Your First 150 Conversations Don't Need RAG (RAG is retrieving stored text to add to a prompt). Not every system loses. The current version of the Nemori paper reports 73.0 against 72.3 for the full conversation on LoCoMo, a margin of under a point.

On long histories, a small retrieved context wins. LongMemEval hides each answer in about 115,000 tokens of chat history. GPT-4o answered 87.0% of questions correctly when given only the relevant sessions, which is the best case for any memory system, and 60.6% when it had to read everything. Zep, another memory product, reported in its own paper that it lifted GPT-4o from 60.2% in Zep's run of the same baseline to 71.2%, while giving the model about 1,600 tokens of retrieved context.

Stale facts are the weak point. Three 2025 and 2026 benchmarks isolate updates, and the results are poor on all of them. On MemoryAgentBench, the memory products tested, among them Mem0, Zep and MemGPT, each scored 5 or less out of 100 on questions that need an old fact to be dropped across several steps, and the two best retrieval methods scored 7. On STALE, which tests whether an agent notices that a memory was quietly invalidated, the best model scored 55.2% and the strongest memory framework 17.8%. Supersede, a third benchmark, found GPT-5.4 answered 92% of update questions with the full history and 77% when it kept its own bounded memory.

Bad notes spread. One study of agents that reuse past experience compared three policies. Adding every experience to memory gave a lower success rate than leaving the starting memory unchanged (55.5 against 67.5 on one agent). Adding only experiences that passed a strict check gave the highest (71.0). An agent copies what it finds in memory, mistakes included.

Small models break memory pipelines. Anatomy of Agentic Memory ran the same memory systems on a large and a small model. One system's answer score, on a scale of 0 to 1, fell from 0.781 on GPT-4o-mini to 0.447 on Qwen2.5-3B, and the share of malformed outputs rose from 17.9% to 30.4%. Anyone running local models should test each memory component on the model that will use it.

The benchmarks themselves are disputed. An audit of LoCoMo published by Penfield Labs found 99 of 1,540 answer keys wrong and a judge that accepted 62.81% of answers written to be wrong. Zep reports 75.14 for its own system on the same benchmark, and Mem0's re-run of Zep gave 58.44. The Anatomy paper shows one system scoring 0.602, 0.781 or 0.649 depending only on the wording of the judge's prompt. We treat published memory scores as a guide to what to test, and measure on our own tasks.

In 2025 and 2026 several teams moved from specialised stores toward plain files with an index. Letta reported that an agent with four file tools scored 74.0% on LoCoMo, above the 68.5% Letta cites for Mem0's graph variant, and then rebuilt its memory as files under git. Mem0 removed update and delete from its write step in April 2026, saying they were slow and destroyed information, and now only adds. Claude Code keeps an index file plus topic files. The reference table at the end of this piece lists how each of the main systems works.

Which kind of memory helps an agent that acts?

Procedural memory tied to one site or one kind of task is the kind with measured gains for agents that click, type and navigate. It has been tested in three forms: written workflows, skills stored as tested code, and records of how a subtask was done before.

The table gives each paper's own numbers. WebArena is a set of tasks on websites, OSWorld on a desktop computer, and AppWorld across everyday apps. Scores are the percentage of tasks completed. Each row was measured on the model it names, so compare within a row, not between rows.

SystemWhat it storesReported result
Agent Workflow Memory (2024)Step-by-step workflows written from past runs, with the specific values replaced by variablesWebArena success 35.5 against a 23.5 baseline, with GPT-4
ReasoningBank (2025)Short strategy notes taken from both successes and failures, one retrieved per taskWebArena 40.5 to 48.8 with Gemini 2.5 Flash, in fewer steps (9.7 to 8.3)
Agent Skill Induction (2025)Skills as programs, kept only if a re-run passesWebArena 40.4, against 36.3 for the same skills as text and 32.7 with none, with Claude 3.5 Sonnet
SkillWeaver (2025)Tested code functions for each website, built by exploring it in advanceWebArena average 22.6 to 29.8, and 40.2 to 56.2 on real websites, with GPT-4o
Agent S (2024)Summaries of whole tasks, plus records of subtasks that workedOSWorld 11.21 to 20.58 with GPT-4o. Removing the subtask records cost more than removing the task summaries
Learn-by-interact (2025)Example runs generated from a site's documentationWebArena 35.8 to 48.0 with Claude 3.5 Sonnet
HyMEM (2026)A graph of strategies and compressed past runsOverall success 12.5% to 35.0% across three web benchmarks, with a 7B model (Qwen2.5-VL-7B)
Agent Memory Distillation (2026)Memory written by a stronger model at three levels: workflow, subtask, and one toolAppWorld 14.88 to 49.40 with a 4B model (Qwen3-4B). The model that wrote the memory scored 50.00

The same papers say how to use this kind of memory, and the conditions are strict.

  • Retrieve one item. ReasoningBank scored 49.7 on WebArena's shopping tasks with one retrieved note and 44.4 with four. Agent Memory Distillation fell from 49.40 to 33.34 when it retrieved five subtask examples in place of one, because the small model was distracted by loose matches.
  • Never use memory from the wrong site. When the ReasoningBank authors ran Agent Workflow Memory as a comparison on tasks that span several sites, success fell from 10.3 with no memory to 3.4 with it.
  • Check a procedure before keeping it. Agent Skill Induction keeps a skill only if a re-run succeeds, the skill was used, and every call changed the page. The authors of Agent Workflow Memory note that workflows written from the agent's own unchecked runs are a source of noise.
  • Store failures as warnings. ReasoningBank gained about three points on shopping tasks (46.5 to 49.7) by keeping notes from failed runs alongside successful ones.
  • Record when a procedure applies. Mobile-Agent-E, a phone agent, gives each shortcut a precondition the agent must check, and still reports a search shortcut firing in an app with no search bar. A 2026 paper on GUI agents marks each stored item as remaining, finished or skipped, because agents without that status repeated steps or missed them.
  • Expect a procedure not to fit the next site. In Agent Skill Induction, a sorting skill learned on one shop did the wrong thing on another whose sort control worked differently. No paper we read detects this automatically. The remedies are checking preconditions at the moment of use and rewriting the note after a failure.

Does memory written by a strong model help a weaker one?

Yes, in each study we found that tested it, and the largest effect comes from a single 2026 preprint. In Agent Memory Distillation, a 2026 preprint, a 4B model using memory written by GPT-5-mini scored 49.40 on AppWorld, against 14.88 with no memory and 16.07 with memory it wrote for itself.

GPT-5-mini itself scored 50.00, so the small model came within a point of the model that wrote its memory. SkillWeaver saw the same direction with a smaller effect: skills written by GPT-4o lifted GPT-4o-mini from 9.2 to 14.1 on WebArena, and in Memp, procedures written by GPT-4o lifted a 14B model by about 5% on a planning benchmark.

This matters most for agents that run on small or local models. It suggests running a task once with a capable model, keeping the checked procedure, and letting the small model reuse it. It also means a note the small model writes for itself should be treated as a draft until something stronger has checked it. The Agent Memory Distillation paper is a preprint under review, and a bigger teacher was not always better: with GPT-5.5 writing the memory, the same 4B model scored 47.02. We count this as a strong lead to test, and we have not measured it ourselves.

What do shipped AI products remember?

Shipped products mostly remember facts and preferences about the user, held in the vendor's cloud, plus procedures the user writes by hand. As of November 2026 we found no shipped browser agent that learns site procedures on its own, and several products have withdrawn automatic memory or shipped with it switched off.

ProductWhat it keepsStatus in November 2026
Claude in ChromeSession history tied to the account, a list of approved sites with a permission history, and scheduled tasks. Account memory is documented for cloud sessions; the Chrome help pages do not mention itThe side panel has run as a session of Cowork, Anthropic's agent product, since 12 August 2026
ChatGPT Atlas"Browser memories", kept separately from ChatGPT's own memoriesRetired. OpenAI's help centre says it no longer receives updates, and press reports gave 9 August 2026 as its last day
ChatGPT agentNothing between sessions at launchOpenAI's safety page of July 2025 says memory was disabled to limit prompt injection that tries to pull data out of it
Perplexity CometSearches and questions only. What the agent does on pages is not stored in memoryShipping
DiaA Memory feature, and Skills the user writesThe 24 September 2026 changelog says Memory is being phased out and its data deleted. Skills remain
Gemini in ChromeSkills: prompts the user saves, synced across signed-in desktopsShipping since April 2026. Memory of past conversations has been announced
Microsoft Edge CopilotLong-term memory of past chats, and browsing history with permissionAnnounced in a 13 May 2026 post
Browser Use (open source)Nothing between sessionsAdded a Mem0 memory layer, on by default, in March 2025 and removed it in June 2025
Nanobrowser (open source)One standing note the user writes, and chat historyShipping

The chat assistants have settled on the same set of user controls. ChatGPT and Claude let the user read and delete what is remembered. Both, and Gemini, offer a temporary or incognito chat that stays out of memory. Claude separates pausing memory from resetting it and keeps a separate memory for each project. Claude Code keeps its notes as plain files the user can open and edit.

The reported problems are also similar. OpenAI's review of a GPT-4o update it rolled back in April 2025 said user memory can, in some cases, make the model's flattery of the user worse. OpenAI found no evidence that it does so broadly. Users have reported an old instruction resurfacing in unrelated chats, saved memories being dropped without warning once storage was full, and, in Cursor's forum, memories from one project appearing in another. Those three are user reports. The vendors have not confirmed them.

What is memory poisoning, and how is agent memory attacked?

Memory poisoning is an attack in which someone gets an AI agent to save their text to its memory, so that the agent trusts it in later sessions. The attacker needs no access to the memory store: a web page, a document, a code comment or an ordinary query is enough. It has been demonstrated on shipped products.

Attack or incidentWhat happened
MINJA (2025, research)An attacker who can only send queries plants records in an agent's memory. Across three agents the records were stored 98.2% of the time and changed later behaviour 76.8% of the time
AgentPoison (2024, research)Poisoning under 0.1% of a memory or knowledge base gave over 80% attack success, with under 1% effect on normal use
SpAIware (2024, ChatGPT)A web page or document made ChatGPT save instructions to memory that sent later conversations to the attacker. OpenAI blocked the way the data was sent out in September 2024
Gemini memory injection (2025)A document told Gemini to save false memories later, when the user next typed a common word such as "yes"
Windsurf (2025)A comment in a source file triggered the editor's memory tool without asking the user
"MemoryTrap" (2026, Claude Code)According to an OWASP write-up of a finding credited to Cisco, a package install step reached the agent's persistent memory. The write-up says the fix, in version 2.1.50, moved user memories out of the system prompt

The ChatGPT, Gemini and Windsurf incidents come from one security researcher's write-ups, and the Claude Code one from OWASP's account. They are consistent with each other and with the research: when an agent can write to memory on its own initiative while reading untrusted content, that content can write to memory.

The defences that have evidence behind them are structural. OWASP's Top 10 for Agentic Applications lists memory and context poisoning as its sixth risk, and its guidance is to treat memory as untrusted data, sign or hash each entry when it is written, and keep what the user supplied apart from what the system verified. A 2026 preprint, SMSR, signs each entry when it is written. In the author's own tests, injected entries without a valid signature succeeded 93% to 100% of the time before the defence and never after it. MemLineage, also a preprint, records what each entry was derived from, and holds back a sensitive action when the reason for it traces back to outside content.

A classifier that asks a model whether a memory looks malicious is weaker. In the MINJA paper, a detector tuned for one agent caught 131 of 135 planted records on that agent and none on the other two. Asking the user to approve a memory before it is saved, which is the fix the researcher proposed for Windsurf, removes the silent write.

Can agent memory run on the user's own machine?

Yes, at the scale of one person's notes. Inside a Chrome extension, embeddings can be computed in the browser, a plain scan is fast enough to search thousands of notes, and storage stays local. The main constraints are that Chrome stops an extension's background script after 30 seconds idle, and that Chrome's built-in model has a small context window.

We looked at this because Auto Browser can run on local models, and a memory that leaves the device would undo the reason for running them. The figures below are for a Chrome extension. Most come from community measurements on unstated hardware, so treat them as rough sizes.

QuestionWhat we found
How fast is an embedding in the browser?With transformers.js and a small model (all-MiniLM-L6-v2), community runs report about 510 to 530 ms per text on the CPU path and 15 to 46 ms on the GPU path (WebGPU)
How large is a good embedding model?EmbeddingGemma-300m is published for browsers in files from 175 MB to 1.23 GB, depending on how far it is compressed
Where can the model run?Chrome stops an extension's background script (its service worker) after 30 seconds idle, and a loaded model goes with it. A hidden extension page (an offscreen document) is the usual home
Is a vector index needed?Not at this scale. One library author measured a plain scan over 10,000 vectors of 1,536 dimensions at about 152 ms in JavaScript, and about four times faster in WebAssembly
Can memory sync through the browser?No. Chrome's synced extension storage holds about 100 KB in total. Memory stays on the device and is exported by the user
Is local storage safe from eviction?The documentation says an extension with the unlimited-storage permission is exempt. A developer thread from March 2025 reports a database wiped anyway. Keep a backup
Can Chrome's built-in model do the background pass?Partly. The Prompt API (Gemini Nano) has been available to extensions since Chrome 138. It cannot be called from a worker, so the pass has to run from a page such as the side panel, and its context window is small. Community reports give 6,144 tokens in 2025 and 9,216 in 2026. Read the limit at run time
Will Chrome provide embeddings itself?Not yet. Its proposed embedding and vector store APIs both state they are not approved to ship

How does an agent pick up an unfinished task?

An agent picks up an unfinished task from a written plan that records what is done, with a rule never to repeat an action whose outcome is unknown.

Microsoft's Magentic-One keeps a task ledger (the facts and the plan) and a progress ledger (what is done and what comes next), and its agents clear their context after each change of plan, so the ledgers are what carry the task. Guidance on checkpointing from two vendors, Anchor and Arize, adds the part that matters for payments and posts: save a checkpoint after every step, write down the intent before any step that cannot be undone, and on resuming check the outside world to see whether that step happened. Restoring a checkpoint restores what the agent knows. It does not undo a purchase.

What are the design rules for agent memory?

Eleven rules follow from the evidence: store little, make writes visible, keep notes as dated text, replace facts without overwriting them, retrieve one procedure, have notes checked independently, let a strong model write, keep the loaded layer small, treat memory as untrusted, pass short histories whole, and measure on your own tasks. These are the rules we now design to.

  1. Store what the agent cannot read off its environment next time. Procedures, tested rules, warnings and the user's standing preferences. Not page state. (Anthropic's Pokémon comparison.)
  2. Write little, and make every write visible. A note the user can see and undo is also the defence against silent memory injection. (The Windsurf and ChatGPT incidents.)
  3. Keep notes as readable text with an index, and put a source, a date and a status on each. (Claude Code, Letta, and the dreaming cookbook.)
  4. Mark an old fact as replaced. Do not overwrite it. Updating is where every measured system is weakest, and a dated trail is what lets a later pass sort it out. (STALE, Supersede, Mem0's rewrite.)
  5. Retrieve one procedure, matched to the site and the task, and prefer nothing over a loose match. (ReasoningBank, Agent Memory Distillation.)
  6. Have something other than the writer check each note. A background pass against the transcripts, or the user. We found the same in code review: a model is a soft judge of its own work. (Anthropic's dreaming results, and the experience-reuse study.)
  7. Let a stronger model write memory for a weaker one, and treat a small model's own notes as drafts. (Agent Memory Distillation.)
  8. Keep the always-loaded layer small. (Anthropic, and Claude Code's 200-line limit.)
  9. Treat memory as untrusted data. Keep it out of the system prompt, never let a note authorise an action, and hold anything derived from a web page back until it is approved. Fencing untrusted input as data is one of the rules in our piece on production agents. (OWASP, MINJA, SMSR.)
  10. While the history fits in context, pass the history. Add retrieval when it stops fitting. (Mem0's own table, LongMemEval.)
  11. Measure on your own tasks, three ways: memory off, memory on, and memory seeded with planted entries. A memory feature that raises success and also raises attack success is not ready. (The Penfield audit of LoCoMo, and AgentDojo, a security benchmark built this way.)

For Auto Browser we now have a design, and none of it is built or measured yet. It has the four layers from Anthropic's post. Records of finished tasks sit at the bottom. Above them are notes of three kinds: what the user asked to be remembered, one procedure for each site, and warnings about individual tools. A background pass checks the notes against the task records and builds one page for each site from them, and a small block of notes is added to each prompt as data. A note that came from page content stays a candidate until the user approves it.

How were these sources checked?

Every claim that carried a number, a date, a version or a named result was re-read against the source it cited: 438 claims in all. Of those, 377 (86%) matched the source, 29 (7%) needed correcting and 32 (7%) could not be confirmed: 31 were not found or not reachable, and one fell outside the check. A claim counted as matching only when the fetched source showed the value in context.

The first pass was three survey reports, written on 7 November 2026 by Claude research agents working from primary sources. The second pass, on 26 November, took those reports apart claim by claim. The table shows the outcome by subject.

SubjectClaims checkedMatchedCorrectedNot confirmed
Memory systems and taxonomies756159
Chat products and benchmarks917579
Web and GUI agent papers7663112
Shipped browser agents and task state604758
On-device engineering635913
Security, privacy and evaluation737201
Total4383772932

The corrections were of a few kinds: a figure attached to the wrong model or the wrong baseline, a relative gain given as an absolute one, and a paraphrase placed in quotation marks. One example is in the table of agent papers above. The first report gave Agent Workflow Memory's baseline as 15.0, which is a weaker variant in the same table of the paper. The standard baseline is 23.5. This piece uses the corrected figures and leaves out what could not be found. The reports in the download are as first written, with every correction listed beside them.

What does this review not show?

This review shows what other people measured. We ran none of the experiments. Its sources include preprints and vendors' own numbers, benchmark scores that do not transfer between papers, and product pages that change.

  • We have not tested any of it. Every number here is someone else's. Our own contribution is the reading and the checking.
  • The surveys were compiled with research agents, and so was the check. A second pass catches a first pass's slips. It does not catch an error both would make, such as misreading the same table the same way. About one claim in fourteen could not be found in its source or reached at all.
  • Many of the 2026 results are preprints, and many system results are the vendor's own. The sources list marks both. Agent Memory Distillation, STALE, Supersede, SMSR and MemLineage have not been peer reviewed as far as we could confirm.
  • Benchmark numbers do not transfer between papers. The same system scores differently under different judges, models and settings, and the most-quoted benchmark has known errors in its answer key.
  • Product behaviour changes. The product table describes what vendor pages and changelogs said in November 2026. Help pages are often undated, and one page we relied on for ChatGPT Atlas now shows only its retirement notice.
  • Nobody has measured facts and preferences on agent tasks. The memory most products ship is the kind with the least benchmark evidence either way.

How do Mem0, Zep, Letta and the other memory systems work?

Mem0, Zep, Letta and the other agent memory systems differ mainly in what they store (extracted facts, a graph, files, or raw observations) and in when they write (during the task, or in the background). This table is for looking things up. Results are each source's own, measured on different models and benchmarks, so they cannot be ranked against each other.

SystemWhat it storesWhen and how it writesReported result
MemGPT and LettaEditable blocks kept in the context window, a searchable archive, and the full message log. Since February 2026, files under gitThe agent calls memory tools mid-task, or a second "sleep-time" agent edits memory in the backgroundLetta's file-tool agent: 74.0% on LoCoMo (vendor)
Mem0Short facts extracted from each exchange, optionally as a graphOriginally a model chose add, update, delete or nothing for each fact. Since April 2026 it only adds66.88 on LoCoMo, 68.44 with the graph, against 72.90 for full context (vendor)
Zep (Graphiti)A knowledge graph whose facts carry the dates they were trueA contradicting fact ends the old one's validity. Nothing is deletedGPT-4o 60.2% to 71.2% on LongMemEval (vendor)
A-MEMLinked notes with keywords and tagsA new note can rewrite the descriptions of related older notes, at about 1,200 to 2,500 tokens per operationGains on LoCoMo. The paper's tables and text label its columns inconsistently, so we quote no figure
LangMemA profile or a collection of facts, past interactions, and prompt rulesEither during the conversation, or in the background afterwardsNo figure quoted here
Generative AgentsA stream of observations in plain languageEverything is written. Retrieval scores recency, importance and relevance, and periodic reflection writes higher-level notesBelievability rating (TrueSkill, from human rankings) of 29.89 with the full design, against 21.21 with no memory
ReflexionOne to three written reflections on failed attemptsAfter each failed trial91% on HumanEval against a prior 80%
ExpeLPast runs, plus insights that carry a vote countAfter a training phase. Insights are added, edited, voted up or down, and removed at zeroHotpotQA 39% against 28%, and ALFWorld 59% against 40%
MemoryBankLogs, daily summaries and a personality summaryA memory fades over time unless it is recalled, which strengthens itQualitative examples and a small test with simulated users
Memory-R1Facts, managed by a model trained with reinforcement learningThe trained manager picks add, update, delete or nothingLoCoMo judge score 62.74, against 45.68 for Mem0 on the same 8B model (a different model from the Mem0 row above)
HippoRAGA knowledge graph built by a modelAt indexing time. Retrieval walks the graph from the entities in the questionUp to 20% better than earlier methods on multi-step questions
LightMemFiltered input, topic summaries, and a long-term storeThe long-term store is updated offlineUp to 7.7% better accuracy on LongMemEval with far fewer tokens

To cite this review: Vin Lim, "Agent memory: what should an AI agent remember?", Astralab, 26 November 2026, https://astralab.co/insights/agent-memory-research. The research kit is version 1.0 and is published with a SHA-256 checksum.

Sources

Every figure above traces to one of these. Each was re-read against its primary version on 26 November 2026. Peer-review status is given where the paper's own arXiv record states it. Anything else is marked as a preprint, a vendor's own figure, or a user report. The download at the top of this page holds the three survey reports, with their full source lists (234 links), and the claim-by-claim check.

Anthropic's post and the ideas behind it

  • Lance Martin, The components of agent memory. Anthropic, 6 November 2026. Source of the definition, the four layers, the Pokémon comparison (413 files against nine), the steering results, and the dreaming results (13% to 48%, 61% against 53%, 41 and 57 of 57 facts). The benchmarks are Anthropic's own runs.
  • Anthropic, Dreaming with a dynamic workflow. Claude cookbook, read 26 November 2026. The two-stage pass, dated replacement, kept conflicts, read-only mounting and the untrusted-input warning.
  • Lin, Snell, Wang, Packer, Wooders, Stoica and Gonzalez, Sleep-time Compute: Beyond Inference Scaling at Test-time. arXiv:2504.13171, April 2025. Preprint from Letta and UC Berkeley.
  • Andrej Karpathy, LLM Wiki. GitHub gist, 4 April 2026.
  • Anthropic, How Claude remembers your project. Claude Code documentation, read 26 November 2026. The index file, the 200-line or 25 KB limit, and topic files read on demand.
  • Hu et al., Memory in the Age of AI Agents. arXiv:2512.13564, December 2025. Survey, preprint.

Benchmarks and measured effects

Memory for agents that act

Shipped products

Attacks and defences

Running memory on-device

Systems in the reference table