pmb connect writes the agent’s MCP config and appends the usage rules to
CLAUDE.md / AGENTS.md. Restart the agent and memory is live.
Three tiers of integration
Full hooks
Claude Code - auto-recall before each message, ambient write, session
restore, follow-through. Memory works without calling a tool.
Ambient hooks
Codex - MCP plus ambient write on turn-complete; no per-turn read hook.
MCP only
Cursor · Windsurf · Gemini · VS Code · Zed · OpenCode · Continue - memory
via tools; ambient optional via
pmb ambient-watch.Useful flags
Remove it anytime
Delete thepmb entry from the agent’s MCP config to disconnect - your stored
memory stays on disk and is still readable via the CLI.