Before
poisoned6 of 8
answers right, with 4 planted cards still on the board.
Module 63 · Memory you can trust
An assistant that remembers customers needs to know where each memory came from. Here you pin, trust, forget and pull memory cards, and undo a poisoned source.
The whole idea in one example
6 of 8
answers right, with 4 planted cards still on the board.
8 of 8
answers right; every planted card fell, and every good one stayed.
A hand-written example month with hand-set rules; no model ran.
How it works
Lasting facts stay; small talk goes in the bin
Park et al.’s Generative Agents paper (2023): each memory is scored on how recent, important and relevant it is, and the model rates importance from 1 (everyday) to 10.
Source, checked 3 November 2026
Every card hangs by a thread from its source
OWASP’s agentic threats guide (February 2025): require source attribution for memory updates, tracking where the assistant’s knowledge came from.
Source, checked 3 November 2026
A planted page teaches a rule that outlives it
Dong et al.’s MINJA paper (2025): an attacker who only chatted with an agent planted bad memories 98.2% of the time on average, in their tests.
Source, checked 3 November 2026
Pull the thread and everything it taught falls
OWASP’s agentic threats guide (February 2025): keep memory snapshots so memory can be rolled back when something bad gets in.
Source, checked 3 November 2026
The story
Larkspur Supply Co.’s assistant remembers customers on a cork board of cards, each tied by red thread to its source, and learns to pull a poisoned thread. You decide what it keeps, and what to pull.
Your path




Chapter 4 · done
When should the assistant forget, and what does “forget me” remove?



Chapter 7 · done
Which rules keep every answer right and leave no poison behind?
Anyone adding memory to an assistant who needs to know what it keeps, why, and how to clean it up. The Agents and Context modules first help; no maths is needed.