Forget and expire

Controls for temporary context, session-only mode, and automatic expiry of stale memory.

Memory & retentionWorkspace settings
Temporary chat
New chats are saved and can create memories.
Milky remembers
  • Dana Ortiz's card ends in 4417
    Ticket #4821 Payment detail · auto-forgets in 29 days
  • Northfield Dental renews on 14 October
    Call with Leo Martin Auto-forgets after the renewal date
  • Sign refund replies “The Milky team”
    Maya Reyes Kept until you remove it
  • Kite & Co wants invoices in GBP
    Expired 2 days ago✓ Removed from index, cache and logs
Stored in 4 places, not just the list
“Dana Ortiz's card ends in 4417”
  1. Memory list
    1 entry
  2. Search index
    3 embeddings
  3. Answer cache
    2 cached answers
  4. Conversation logs
    5 lines
  5. Check nothing comes back
    Re-run retrieval after deleting

Try it: Forget the card number, and watch the deletion reach every copy, not just the list entry.

In the wild

How one product ships this pattern. Click a screenshot to enlarge it.

Brave AI side panel menu with a Temporary chat toggle switched on, followed by Delete, Manage memories, Manage subscription and Advanced settings.
Brave Leo
A Temporary chat toggle in the assistant's menu starts a conversation that stays out of history. Delete and Manage memories sit right below it.
Source: Brave Leo product page ↗

When to use

Sensitive work, one-off tasks, and regulated data-retention regimes.

Seen in

ChatGPT temporary chat, Claude incognito-style sessions, enterprise retention policies.

For engineers

Deletion must propagate to vector stores, caches and logs; prove it in your retention tests.

Build prompt

A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.

Download this prompt as Markdown, or every prompt as JSON for an agent.

Critique checklist for memory & context

0 of 4 checked

These questions apply to every pattern in this family. Ticks are saved in this browser.