Skip to main content

Install

pip install pmb-ai
Prefer npm? npx pmb-ai setup installs the Python package, then runs setup.

Connect your agent

One command wires PMB over MCP and appends the rules to CLAUDE.md / AGENTS.md so the agent knows how to use it.
pmb connect claude-code   # or cursor, codex, windsurf, zed…

Just talk to your agent

Memory is automatic. On Claude Code, lifecycle hooks inject the right memory before the model thinks - you never have to remember to call a tool. Trivial messages inject nothing.

Inspect (optional)

pmb dashboard   # your memory as a live graph, on 127.0.0.1
pmb stats       # what's stored
pmb doctor      # confirm everything's wired
Everything is local stdio - the server runs as a child process of your agent. No network, no port, no token. Apache-2.0, fully offline.

Point several agents at one memory

pmb connect claude-code --workspace personal
pmb connect cursor      --workspace personal
# both now read/write the same memory
Sharing one memory across machines or a team? That’s an optional HTTP mode with bearer-token auth - you don’t need it for local use.