FitWhen to use it — and when not
Use it when
- Assistants and agents that carry facts between sessions
- Products where memory changes answers (tone, preferences, project facts)
- Shared agents where one person's memories must not leak to another
Skip it when
- Stateless tools where each request stands alone
- Data that belongs in an explicit setting or profile field the user already edits
AnatomyThe parts of the pattern
- Saved noticeA small inline note when a memory is created, with Undo.
- Memory listEach memory as one plain sentence, with date and source chat.
- Edit and forgetCorrect a memory or delete it; forget all at once.
- ScopePersonal, project or workspace memory, shown as a label.
- PauseTurn memory off temporarily, e.g. a chat that should not be remembered.
GuidelinesDo & don’t
Do
- Show the memory at the moment it is saved, not only in settings.
- Link each memory to the conversation it came from.
- When an answer used a memory, let people see which one.
Don’t
- Store sensitive details (health, finances) without asking first.
- Keep a "deleted" memory in the prompt or the index.
- Use memory from one workspace in another.
In the wildReal-world examples
ChatGPT (memory)Claude (memory)Gemini (saved info)Windsurf (memories)
Products named for reference only — no affiliation, and the demo above is an original illustration, not a copy of their UI.
For engineersImplementation notes
- Store memories as rows (id, text, scope, source_message_id, created_at) and build the prompt from them; avoid memory that exists only inside embeddings.
- Delete means removed from storage, the vector index and caches; log the deletion, not the content.
- Run a classifier before saving to skip sensitive categories or ask the user first.