Kanshō/Agent memory drawer

Agent memory drawer

Right-anchored sheet that lists what the agent currently remembers about you and the work — split into working, persistent, scratch, and skill kinds. Search and filter included, with pin/delete affordances.

Included in the single kansho full pack. Components are not offered as separate installs.

Open the drawer

Live demo — counts and action note update when entries are pinned or deleted
6 entries — 2 pinned · 2 working · 1 skill · 1 scratchDemo action: none

Component documentation

Agent Memory Drawer

components/control-plane/agent-memory-drawer.tsx

Purpose

Provides a searchable and filterable sheet of one agent's working, persistent, scratch, and skill memories.

Appropriate use

Use for inspecting and managing an agent's current memory when the host can pin and delete entries.

Example

components/control-plane/agent-memory-drawer.tsx has a representative live example in the "Open the drawer" section on /components/agent-memory-drawer.

States

Memory kinds are working, persistent, scratch, and skill; entries may be pinned and include source, tags, confidence, and updated time; filtered-empty results are announced.

API and props

AgentMemoryDrawer accepts open, onClose, agent, entries, searchable, onPin, onDelete, and className; MemoryEntry carries id, kind, body, source, tags, confidence, updatedAt, and pinned.

Dependencies

Direct imports are React, Lucide icons, Modal sheet primitives, Tag, and cn.

Accessibility

The sheet provides dialog focus behaviour; search is labelled, kind filters use a named radio group, filtered counts are polite status output, and pin/delete buttons are named.

Limitations

It does not persist memory operations, confirm deletion, validate confidence or timestamps, or report asynchronous failures.

Source

Source: components/control-plane/agent-memory-drawer.tsx.

Full pack

components/control-plane/agent-memory-drawer.tsx is documented at /components/agent-memory-drawer and installs only through the single Kansho full pack; no individual component install is offered.