EveryDev.ai
Subscribe
Home
Tools

2,973+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2063
  • Coding1441
  • Infrastructure665
  • Marketing524
  • Projects470
  • Research437
  • Design408
  • Analytics371
  • MCP268
  • Security265
  • Testing255
  • Data249
  • Integration183
  • Prompts183
  • Communication172
  • Learning166
  • Extensions163
  • Voice146
  • Commerce132
  • DevOps115
  • Web84
  • Finance24
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. PMB
    PMB icon

    PMB

    Agent Memory
    Featured

    Local-first persistent memory for AI coding agents (Claude Code, Cursor, Codex) over MCP, storing decisions, lessons, and facts in a single SQLite file on your disk with no cloud or API keys required.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under Apache 2.0. No paid tier, no seats, no telemetry. You own the file and the code.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent MemoryMCP ServersAI Coding Assistants

    Alternatives

    EngramAgentMemoryLetta
    Developer
    oleksiijkoTampa, FLEst. 2026

    Listed Jun 2026

    About PMB

    PMB is an open-source, local-first memory layer for AI coding agents, published under the Apache 2.0 license and installable via pip install pmb-ai. It solves the session-amnesia problem: every time you start a new chat with Claude Code, Cursor, Codex, or another MCP-aware agent, the agent forgets everything from the previous session. PMB captures decisions, lessons, personal facts, project structure, and commit intent in a single SQLite file on your disk, then feeds the right context back to the agent through the Model Context Protocol before each response.

    What It Is

    PMB is a CLI tool and MCP server that gives AI coding agents persistent, queryable memory without any cloud dependency. It sits between your agent and a local SQLite + LanceDB store, exposing 29 MCP tools (including the core prepare(message) call) over stdio. The agent never needs to remember to call a tool — lifecycle hooks inject the right memory before the model thinks and journal the agent's work after, automatically. The entire workspace is a directory under ~/.pmb/<name>/ that you own, can copy, export, or back up with a single cp.

    How Recall Works

    PMB uses a four-layer hybrid retrieval pipeline fused with Reciprocal-Rank-Fusion:

    • BM25 — lexical ranking, self-compiles a lexicon from your own traffic
    • Dense vectors — paraphrase-multilingual-MiniLM-L12-v2 covers 50+ languages; a query in one language finds facts stored in another
    • Entity graph — multi-hop Personalized PageRank diffusion, gated by intent
    • Optional cross-encoder rerank — off by default (the project notes it regresses LoCoMo benchmark scores)

    Writes are async: the MCP tool returns in under a millisecond; the embed and LanceDB vector insert happen on a background thread. The project publishes benchmark numbers measured on its own engine: recall@10 of 94.5% on the LoCoMo-10 dataset (997 questions, no LLM grader), p50 warm recall latency of ~35 ms, and prepare(message) returning in 4–16 ms.

    Hooks and Ambient Memory

    The hooks system is what separates PMB from a plain RAG pipeline. Four lifecycle hooks wire at the protocol level via pmb hooks install claude-code:

    • UserPromptSubmit → auto-recall: every message is classified in sub-millisecond; matching lessons, decisions, and project overview are injected before the model reasons
    • PostToolUse → ambient observe: every tool the agent runs is appended to a lightweight action journal (a single SQLite INSERT, no model call)
    • SessionStart → session-restore: after a context compaction the agent rebuilds "where you left off" from what the session recorded
    • Stop → follow-through + ambient auto-write: checks which surfaced lessons appeared in what the agent did, marks them followed deterministically, and synthesizes one activity entry if the agent didn't call a record_* tool

    The ambient write side is template-based by default (instant, no model) and can be pointed at a local Ollama instance for richer summaries.

    Self-Improvement and Memory Hygiene

    Every surfaced lesson carries a surface_id. PMB tracks whether the agent actually followed it — confirmed by the agent or auto-detected from the Stop hook — and surfaces per-rule stats in the Lessons dashboard tab: ★ USEFUL (followed ≥ 2×), ? UNVERIFIED, and 💀 DEAD (repeatedly ignored ≥ 2×). Memory also decays, archives, and deduplicates on its own across four layers (exact match, cosine ≥ 0.92 auto-merge, cosine 0.80–0.92 borderline, manual review). Old values are archived, never deleted; full history is available via keyed_fact_as_of(t).

    Update: v1.2.2

    The latest release is v1.2.2, published on 2026-06-30, according to the GitHub repository. The project was created in May 2026 and has seen active development, with the last push on the same date as the release. The roadmap (per docs/ROADMAP.md) lists litestream backup, optional cloud-sync (BYO bucket), tree-sitter project indexing, and image OCR as upcoming directions. The project is maintained by one full-time maintainer and accepts community contributions via GitHub issues and PRs.

    PMB - 1

    Community Discussions

    Be the first to start a conversation about PMB

    Share your experience with PMB, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under Apache 2.0. No paid tier, no seats, no telemetry. You own the file and the code.

    • Local-first SQLite + LanceDB memory
    • MCP-native integration with Claude Code, Cursor, Codex, Zed, and more
    • Hybrid recall (BM25 + vector + graph)
    • Local web dashboard
    • Multilingual embeddings

    Capabilities

    Key Features

    • Local-first SQLite + LanceDB storage, no cloud or API keys
    • MCP-native: 29 tools over stdio, wires to Claude Code, Cursor, Codex, Zed, Windsurf, VS Code, and more
    • Hybrid recall: BM25 + dense vectors + entity graph + optional rerank, fused with RRF
    • Auto-recall hooks inject memory before the model thinks on every prompt
    • Ambient auto-write journals agent work even when the agent forgets to call record_*
    • Lesson follow-through scoring: marks rules USEFUL, UNVERIFIED, or DEAD
    • Local web dashboard with Map (entity graph), Timeline, Lessons, Duplicates, and Performance tabs
    • Multilingual embeddings (50+ languages) via paraphrase-multilingual-MiniLM-L12-v2
    • PDF, codebase, Markdown, and ChatGPT export ingestion
    • Memory decay, dedup, and archival — nothing deleted behind your back
    • Optional local Ollama integration for graph extraction and summaries
    • Team/shared workspace via optional HTTP mode with bearer-token auth
    • Export to Markdown/JSON with pmb export
    • Secret auto-redaction at write time (API keys, tokens)
    • 105 tunables via pmb config, 25 default-tier and 80 advanced

    Integrations

    Claude Code
    Cursor
    Codex
    Zed
    Windsurf
    Gemini
    GitHub Copilot
    VS Code
    OpenCode
    Continue
    Ollama
    LanceDB
    SQLite
    MCP (Model Context Protocol)
    PyPI
    npm (npx pmb-ai setup)
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate PMB and help others make informed decisions.

    Developer

    oleksiijko

    PMB is built and maintained by oleksiijko, a solo open-source developer focused on local-first AI tooling. The project delivers persistent memory for AI coding agents via the Model Context Protocol, with SQLite as the durable source of truth and no cloud dependency. Development is active, with one full-time maintainer and community contributions welcome via GitHub.

    Founded 2026
    Tampa, FL
    1 employees
    Read more about oleksiijko
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Engram icon

    Engram

    Persistent memory system for AI coding agents — an agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

    AgentMemory icon

    AgentMemory

    Persistent memory engine for AI coding agents that captures every session, recalls context in milliseconds, and runs locally with zero external databases.

    Letta icon

    Letta

    Letta is an open-source platform for building stateful AI agents with persistent memory that can continuously learn and self-improve over time.

    Browse all tools

    Related Topics

    Agent Memory

    Memory layers, frameworks, and services that enable AI agents to store, recall, and manage information across sessions. These tools provide persistent, semantic, and contextual memory for agents, supporting personalization, long-term context retention, graph-based relationships, and hybrid RAG + memory workflows.

    88 tools

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    124 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    581 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions