The recording
You were last reading slide 1.
Agentic memory
Information retrieval for AI
26 October 2026
Seong Joon Oh - KAIST AI
Discussion preparation
Preparation due 27 October, 18:00 KST.
Preparation due 3 November, 18:00 KST.
Preparation due 17 November, 18:00 KST.
Lecture outline
- Add WRITE actions to the search agent.
- Ask what a memory system should do.
- Compare evaluation benchmarks.
- Identify requirements that need further evaluation.
From search to writable memory
Give the agent WRITE actions alongside the search actions already covered.
Search actions
A research agent can formulate a query, retrieve papers, and inspect evidence.
The agent chooses what to read. The searched collection does not have to change.
WRITE actions
The agent can save a result or revise a project note.
A later query can retrieve the saved result or revised note.
Create, update, and delete
CRUD stands for create, read, update, and delete. WRITE covers CUD; read includes the search and retrieval operations already covered.
| Operation | Project example |
|---|---|
| Create | Save the initial latency budget. |
| Update | Record the revised budget. |
| Delete | Remove an accidental duplicate. |
| Do nothing | Leave the current record unchanged. |
ChatGPT memory
With memory enabled, a preference from an earlier chat can guide a later reply.

Example: ask for short replies in British English. A later draft can use that preference without another reminder.
Official product screenshot: the memory summary exposes remembered information and a correction control. Available controls vary by account.
Claude Code memory
With auto memory enabled, Claude Code can retain a correction across sessions.

First session: a test fails. The user explains that it needs a local Redis service. Claude saves the correction.
Later session: Claude can read the note before the next test run.
Use /memory to browse the files and open them in an editor.
Official documentation. Screenshot of the documented file layout; the Redis example also comes from the documentation.
Memory in this lecture preparation
Decision: cover agentic memory in three lectures instead of two.
Write: the assistant revises the saved lecture queue, including the agreed section order and dates.
Later read: it opens that file before constructing or revising slides.
The saved plan remains available after the original conversation leaves the active context.
Memory beyond the active context
A conversation can leave the active context while a retained memory remains available to later searches.
| Memory | Later use |
|---|---|
| Project constraint | Check whether a design is acceptable. |
| User preference | Choose an appropriate response. |
| Previous attempt | Avoid a failure or reuse a useful procedure. |
Retain information that supports later tasks.
What should agentic memory do?
Consider representation and organisation, maintenance, human control, and the need for memory.
1. Representation and organisation
How should an agent represent past experiences?
Distinguish the invoice, its payment, and the reminder sent about it.
How should it avoid duplicate memories?
Link the original email and forwarded copy to the same invoice.
How should it handle conflicting information?
Use the payment confirmation to resolve “paid” versus “unpaid”. The reminder and summary repeat the outdated copy; they are not independent evidence of a debt.
2. Memory maintenance
When should the agent write to memory?
Record the payment when it is confirmed.
How should it handle stale information?
Correct the unpaid copy and the claims in its reminder and summary.
How should it detect and recover from failed memory operations?
Check that the correction reached the affected records. If the invoice says “paid” but the summary still says “unpaid”, finish the repair before sending another reminder.
3. Human control
Can humans understand and edit what the agent remembers?
The user should be able to ask “Why are you telling me to pay?” and trace the reminder to the outdated invoice copy.
They should be able to correct that record and see whether the reminder and summary were corrected too.
Otherwise, the user may fix “unpaid” in the invoice and still receive the same false reminder.
4. Need for memory
Would unlimited context remove the need for memory?
With the complete history, an agent could read the invoice, forwarded copy, payment confirmation, and reminder whenever it answers.
A maintained memory could instead state “invoice paid” and link to the evidence.
The current state answers “Do I still owe money?” The history answers “Why did you send that reminder?”
What would a memory system need to preserve beyond the current status?
How do we evaluate agentic memory?
Compare LoCoMo, LongMemEval, MemoryAgentBench, and MEME through their tasks and scoring.
What does a benchmark ask the memory to do?
Task
- What information arrives, in what order?
- What must the agent answer or accomplish later?
Metric
- How is task performance measured?
Benchmark coverage
| Task | LoCoMo | LongMemEval | MemoryAgent | MEME |
|---|---|---|---|---|
| Venue / year | ACL 2024 | ICLR 2025 | ICLR 2026 | NeurIPS 2026 |
| Fact recall | ✓ | ✓ | ✓ | ✓ |
| Aggregation | ✓ | ✓ | ✗ | ✓ |
| Tracking changes | ✗ | ✓ | ✓ | ✓ |
| Deletion | ✗ | ✗ | ✗ | ✓ |
| Cascade | ✗ | ✗ | ✗ | ✓ |
| Absence after change | ✗ | ✗ | ✗ | ✓ |
| Learning from examples | ✗ | ✗ | ✓ | ✗ |
| Summarisation | ✓ | ✗ | ✓ | ✗ |
LoCoMo
ACL 2024
Long conversations follow personas and event timelines, with human checks and edits. Tasks include QA, event summarisation, and multimodal dialogue generation.
Example - temporal reasoning

The answer requires the dates of the conversation turns as well as their text.
Metric: answer F1 for QA.
Paper, Figure 2, PDF p. 2. Cropped temporal-reasoning example.
LongMemEval
ICLR 2025
Tests information extraction, multi-session reasoning, temporal reasoning, knowledge updates, and abstention.
Example - knowledge update

Question: where did the user go on their most recent family trip?
Answer: Paris. The later conversation changes which trip is most recent.
Metric: GPT-4o judged correctness.
Paper, Figure 1, PDF p. 3 (cropped example); Appendix B (metric).
MemoryAgentBench
ICLR 2026
Tests accurate retrieval, test-time learning, long-range understanding, and selective forgetting.
Example - test-time learning

The agent must infer a task from earlier examples and apply it to a later query.
In the released intent-classification task, earlier equations have label 61. The query “answer the equation eight times seven” also expects 61.
Metric: classification accuracy.
Paper, Figure 1, PDF p. 2 (illustration). Released data: icl_nlu_8296shot_balance, query 52 (concrete task).
MEME
NeurIPS 2026
Tests Exact Recall, Aggregation, Tracking, Deletion, Cascade, and Absence across multiple entities and evolving information.
Example - Cascade

The new lead is stated directly. The new reviewer follows from the earlier dependency rule.
Metric: judged correctness; Cascade, Absence, and Deletion require correct answers before and after the change.
Paper, Figure 2, PDF p. 2 (cropped example); PDF p. 5 (metric).
Quiz: current and previous deadlines
You tell an agent, “The report is due this Friday.” Later, you tell it, “The deadline has moved to next Monday.” The agent stores both messages.
After the update, you test its memory of earlier events, such as when a project meeting took place. Its answers are correct. You have not yet asked it for the report’s current deadline or its original deadline.
Has the agent satisfied our memory desiderata?
Sign in with your course account to choose. The lecturer will reveal responses and the answer.
Which desiderata need further evaluation?
For each desideratum, identify the relevant benchmark task, state what its metric establishes, and propose a test for what remains unanswered.
Desiderata and benchmark coverage
| Related desiderata | Task | LoCoMo | LongMemEval | MemoryAgent | MEME |
|---|---|---|---|---|---|
| Venue / year | ACL 2024 | ICLR 2025 | ICLR 2026 | NeurIPS 2026 | |
| 1 | Fact recall | ✓ | ✓ | ✓ | ✓ |
| 1 | Aggregation | ✓ | ✓ | ✗ | ✓ |
| 2 | Tracking changes | ✗ | ✓ | ✓ | ✓ |
| 2, 3 | Deletion | ✗ | ✗ | ✗ | ✓ |
| 1, 2 | Cascade | ✗ | ✗ | ✗ | ✓ |
| 1, 2 | Absence after change | ✗ | ✗ | ✗ | ✓ |
| 1, 2 | Learning from examples | ✗ | ✗ | ✓ | ✗ |
| 1 | Summarisation | ✓ | ✗ | ✓ | ✗ |
1. Representation and organisation. Recall and aggregation test answers from stored information. Correct answers can still conceal duplicate or conflicting records.
2. Memory maintenance. Tracking, deletion, cascade, and absence test answers after changes. They do not establish recovery from interrupted writes or prevent stale claims from returning.
3. Human control. Deletion tests compliance with a removal request. The table does not tell us whether users can inspect, understand, and repair memory.
4. Need for memory. Task coverage cannot establish whether memory helps over full context. LoCoMo, LongMemEval, and MemoryAgentBench include long-context comparisons; these test practical benefits, not the idealised unlimited-context question.
1. Representation and organisation
Existing benchmarks provide substantial coverage of the behaviour we want from a memory representation.
| Benchmark | What it tests |
|---|---|
| LoCoMo | Recall and reasoning across long conversations. |
| LongMemEval | Information extraction and reasoning across sessions. |
| MemoryAgentBench | FactConsolidation tests answers from conflicting facts, with later facts given priority. |
| MEME | Aggregation across entities; inference from dependencies after changes. |
In the invoice example: recognise which records refer to the same invoice, reconcile their claims, and derive the correct balance.
Measure: use the existing task scores for recall, aggregation, and reasoning. These evaluate the resulting answers; they do not prescribe an internal representation.
2. Memory maintenance
Existing benchmarks also provide substantial coverage of how answers should change as memory evolves.
| Benchmark | What it tests |
|---|---|
| LongMemEval | Knowledge updates and temporal reasoning across the history. |
| MemoryAgentBench | Selective forgetting tests direct and multi-hop answers after contradictory updates. |
| MEME | Tracking preserves revision history; Cascade and Absence test consequences of changes; Deletion tests the post-removal state. |
In the invoice example: payment changes the current balance and whether a reminder is appropriate. The history should still show that the invoice was previously unpaid.
Measure: use accuracy on update, temporal, dependency, and forgetting tasks. Report these separately so strong recall does not conceal poor handling of changes.
3. Human control
Can humans read, understand, and directly edit what the agent remembers?
Existing coverage: the reviewed benchmarks do not directly test human inspection and editing.
Proposed study: give a participant the incorrect overdue answer and access to the memory interface. Ask them to find, explain, and repair the error.
Measure: diagnosis and repair success, time and effort, and whether later answers respect the edit. Direct editing requires interpretable, editable records.
4. Need for memory
What does explicit memory add beyond a strong RAG baseline?
Use the existing benchmark tasks with the same source history and reader model. Also test full-history input where it fits in context.
Measure: task accuracy, total cost, and latency. Include memory construction and maintenance in the cost.
The comparison must show what the extra memory machinery contributes.
Logistics
LIMIT discussion - 28 October
Preparation due 27 October, 18:00 KST. Check your role and submit your preparation.
Next lecture - 2 November
Agentic memory: overview of approaches and handcrafted methods.
REFLECT discussion - 4 November
Preparation due 3 November, 18:00 KST. Use the reading guide, check your role, and submit your preparation.