Overview
Memory
View, edit, and delete user memory entries that the AI can reference
memoryprofilecontrol
Props
| Prop | Type | Default | Description |
|---|---|---|---|
memories | MemoryEntry[] | required | Array of memory entries with id, label, value, optional category, optional updatedAt, and optional locked |
onEditMemory | (memoryId: string, value: string) => void | required | Callback fired when a memory value is edited and saved |
onDeleteMemory | (memoryId: string) => void | required | Callback fired when a memory entry is deleted |
title | string | "Memory" | Optional heading for the memory management panel |
variant | "list" | "cards" | "list" | Display style for memory entries |
showTimestamps | boolean | true | Whether to show last-updated timestamps on memory entries |
Docs
Memory surfaces what the AI has stored about a user or workspace and lets people review, edit, or delete individual entries. By making memory explicit and editable, this pattern turns a hidden personalization layer into something users can inspect and control.
Variants
- Memory list — A straightforward list of memory entries with edit/delete actions per row.
- Memory cards — Card-style memory blocks with categories and metadata for denser dashboards.
- Policy-locked memory — Certain entries remain visible but non-deletable to communicate governance constraints.
Use Cases
- Letting users correct stale profile details used by the assistant
- Removing sensitive preferences from long-term memory
- Reviewing what organizational context the AI can reference
- Editing persistent communication preferences like tone and verbosity
- Enterprise workspaces where some memory entries are policy-managed
Best Practices
- Show memory entries in plain language so users can quickly judge accuracy.
- Make edit and delete controls explicit for each memory item.
- Visually distinguish locked memories and explain why they are restricted.
- Display last-updated times to help users identify stale context.
- Pair memory management with consent and retention controls.