DrJonaC/Pensieve

Observe how memory shapes an answer. Pensieve is an interactive system for visualizing, interpreting, and managing how Large Language Models (LLMs) “remember” a user. It bridges the gap between model-level mechanisms and user-level understanding, making AI memory observable, explainable, and partially controllable.

What it solves

Pensieve addresses the "black box" nature of AI memory by providing a local-first workspace where users can inspect, edit, and govern the structured data an AI assistant uses to remember them. It solves the problem of hidden memory stores by offering observability, portability, and direct user control over what information is retained and surfaced.

How it works

Users import memory records as JSON or plain text into a shared local file repository. The system uses a local lexical vector index to retrieve relevant memories, which are then passed along with a filtered query to a model (via OpenAI API in Live mode or a Mock mode for testing). The application includes a dashboard for managing these records—allowing users to pin, hide, or edit content—and provides a simulated heatmap and explanations to help users understand why certain memories were surfaced.

Who it’s for

It is designed for users and researchers who want granular control over their AI's long-term memory, as well as those interested in studying how memory governance and retrieval affect AI behavior.

Highlights

  • Memory Governance: Ability to edit, pin, soften, hide, or restore memory records to directly influence retrieval.
  • Local-First Privacy: Data is stored locally, and the system includes a credential protection layer that redacts sensitive tokens and keys from model inputs.
  • Portability: Supports importing and exporting versioned JSON or plain text memory libraries.
  • Observability Tools: Features a surface model with request traces and simulated heatmaps to visualize memory retrieval.

Related

  • Project
  • Project
  • Project
  • Project
  • Project