Memory Panel
What the assistant remembers. Pro · AI chat and agents › Agents and reasoning
What the assistant remembers about the user: searchable memories with their source and date, inline editing, delete with undo, a switch to pause memory and "forget all" behind a confirmation.
Installation
npx valyro-cli@latest login
npx valyro-cli@latest add memory-panel
npm install valyro-ui-pro
import 'valyro-ui-pro/styles.css';
import { MemoryPanel } from 'valyro-ui-pro';
Props
| Prop | Type | Default | |
|---|---|---|---|
memories | MemoryItem[] | Controlled memories; use with onMemoriesChange. | |
defaultMemories | MemoryItem[] | [] | Initial memories when uncontrolled. |
onMemoriesChange | (memories: MemoryItem[]) => void | Every edit, delete, undo and "forget all" reports the new list. | |
paused | boolean | Memory is switched off: nothing new is saved or used. | |
defaultPaused | boolean | false | Initial paused when uncontrolled. |
onPausedChange | (paused: boolean) => void | Called with the new paused when it changes. | |
title | ReactNode | Heading. Defaults to labels.title. | |
locale | string | BCP 47 locale for dates; defaults to the ThemeProvider's. | |
labels | Partial<MemoryPanelLabels> | Overrides for the built-in English text; keys left out keep their defaults. |
Related components
- Chain of Thought — Model reasoning steps
- Tool Call — Tool call with approval
- Agent Plan — Live agent task plan
- Agent Trace Timeline — Agent steps as a waterfall: time, tokens, cost, inputs and outputs with secrets redacted
- Agent Approval Gate — Agent action approval: risk, diff, explicit consent and a decision log
- AI Chat Window — AI chat window
- Chat Message — Messages with streaming output
- Message Branches — Message versions and a conversation branch tree
- Streaming Text — Smooth token streaming
- Markdown Preview — Rendered Markdown
- Response Feedback — Answer rating and a rubric for reviewers
- Prompt Composer — Prompt field with attachments
Previous: Agent Approval Gate · Next: Sources · All AI chat and agents