Skip to Content
UI Kit
Components (172)

Memory Graph

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Memory Graph…

Usage

import { MemoryGraph } from "ui-kit/components/memory-graph";

Props

PropTypeDefaultDescription
agent*{ id: string; name: string; subtitle?: string; logo?: ReactNode }——
memories*Memory[]——
toolsMemoryTool[][]—
recallingstring[][]—
usingstring[][]—
titlestring——
onSelect(memory: Memory | null) => void——
onForget(memory: Memory) => void——
onToggle(kind: "memory" | "tool", id: string, enabled: boolean) => void——
catalogMemoryTool[][]—
onAddTool(tool: MemoryTool) => void——
onAddFiles(files: File[]) => void——
formatDate(ms: number) => stringday—
nownumber——
classNamestring——

On this page