MemoryPanel

What an agent remembers, in plain sentences. Pin, edit in place or forget; pinned memories float to the top. AI.

Open playground
Memory3 memories
Prefers short replies with the answer firstChat, 9 Nov
Works in TypeScript and Next.jsChat, 2 Nov
Based in Lisbon, so uses euros and 24 hour timeSettings

About

MemoryPanel is a React component in the AI category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { MemoryPanel } from "@ashutoshswamy/smoui" and set value, onChange, title.

Install

Terminal
npm i @ashutoshswamy/smoui

Usage

TSX
import { MemoryPanel } from "@ashutoshswamy/smoui";

<MemoryPanel defaultValue={items} onChange={save} />

Props 3

value / defaultValue

id, text, optional source and pinned.

MemoryItem[]
onChange

Called after every pin, edit or removal.

(items) => void
title

Heading. Defaults to Memory.

string