pro136 lines · framer-motion
Memory Inspector
See what it remembers. Make it forget. A list of the agent's long-term memories (facts, preferences, episodes) with source, age and confidence, plus search, filters, pin and forget with undo.
- Use it for
- Personal assistants, CRM agents, anything with persistent memory and privacy needs.
- Themes
- Light + dark
- License
- Commercial use (draft)
Live
Memory
5 itemstsx
"use client";
import * as React from "react";
import { AnimatePresence, motion, useReducedMotion } from "framer-motion";
import { cn } from "@/lib/utils";
export type MemoryKind = "fact" | "preference" | "episode";
export interface Memory {
id: string;
kind: MemoryKind;
text: string;
source: string;
confidence: number; // 0..1
pinned?: boolean;
age: string;
}
export interface MemoryInspectorProps {
memories?: Memory[];
onForget?: (m: Memory) => void;
onPin?: (m: Memory, pinned: boolean) => void;The rest is in Pro.
Full source, the rebuild prompt and registry install unlock with Pro or Lifetime.
Get ProHow it behaves
- →Search and kind filters; pinned items stay on top.
- →Each row: kind tag, text, source, age and a confidence bar (green / amber / red).
- →Pin and Forget appear on hover or focus; Forget slides the row out and shows an Undo bar.
Accessibility
- ✓Search has a label; filters use aria-pressed.
- ✓Confidence has a text label.
- ✓Undo bar is role=status.
- ✓Honours prefers-reduced-motion.