ValyroUI Русская версия

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

PropTypeDefault
memoriesMemoryItem[]Controlled memories; use with onMemoriesChange.
defaultMemoriesMemoryItem[][]Initial memories when uncontrolled.
onMemoriesChange(memories: MemoryItem[]) => voidEvery edit, delete, undo and "forget all" reports the new list.
pausedbooleanMemory is switched off: nothing new is saved or used.
defaultPausedbooleanfalseInitial paused when uncontrolled.
onPausedChange(paused: boolean) => voidCalled with the new paused when it changes.
titleReactNodeHeading. Defaults to labels.title.
localestringBCP 47 locale for dates; defaults to the ThemeProvider's.
labelsPartial<MemoryPanelLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

Previous: Agent Approval Gate · Next: Sources · All AI chat and agents