LogoDomain Rank App
icon of PMB

PMB

Local-first memory for AI coding agents: one SQLite file on your disk, offline, no API keys, no cloud.

Introduction

PMB (Persistent Memory Bank) is an open-source, local-first memory system for AI coding agents like Claude Code, Cursor, Codex, and Zed. It stores decisions, lessons, and project facts in a single SQLite file on your disk, automatically injecting relevant context before each agent prompt and journaling work afterward. Key features include:

  • Hybrid recall: BM25 + dense vectors + entity graph fused with Reciprocal-Rank-Fusion, achieving 94.5% recall@10.
  • Sub-millisecond writes: Async writes never block the agent turn.
  • Memory hygiene: Lessons are scored by follow-rate; unused memories decay and archive automatically.
  • MCP-native: Works with any MCP-aware agent via stdio, no network or API keys.
  • Dashboard: Local web app with interactive map, timeline, and entity graph.
  • 100% offline: No telemetry, no cloud, fully self-hosted under Apache 2.0 license.

Use cases: Eliminate re-explaining project context across sessions, switch agents without losing context, and maintain honest, self-pruning memory that tells you when it's not helping.

Analytics