Browse documentation

Docs / Memory and context /

MemoryViewer

Full memory panel listing all stored facts with source, confidence, and forget controls.

Preview

Release memory2 facts
  • persistent
    Use TypeScript for new product surfaces.
    from Project preferences92% conf· 2 hours ago
  • working
    The current release uses the complete Kanshō registry pack.
    from Release checklist86% conf· just now

Props

PropTypeDescription
items*MemoryItem[]Working and persistent memory items to display.
titlestringPanel title. Defaults to "Memory".
onEdit(id: string) => voidShows an edit action and receives the selected item id.
onDelete(id: string) => voidShows a two-step delete action and receives the item id.
classNamestringAdditional CSS classes for the outer wrapper.

* required.

Usage

import { MemoryViewer } from "@/components/agent/memory-viewer";

<MemoryViewer
  items={items}
  title="Release memory"
  onEdit={handleEdit}
  onDelete={handleDelete}
/>