Why you'd want it
agent-memory keeps each memory as one Markdown file in a single store, with a SQLite index beside it that can be deleted and rebuilt at any time. Recall runs locally and returns a ranked list of paths with one-line abstracts, so the agent opens only what it needs, and Claude Code, Codex CLI and Muse Code can share the same store. Hooks write memories at conversation boundaries, and a separate sleep-time pass consolidates them, with deletions only arriving as proposals you confirm. It needs no API key of its own and borrows judgement from the host agent's CLI.
Best for
- Memory shared between Claude Code and Codex
- Memory you can grep and keep in git
- Agents that forget between sessions
Use it when
You want an agent to remember decisions across sessions and prefer a store you can read, grep and commit over an opaque database.
Skip it if
You want a packaged install: there is no PyPI release yet, so it installs from a git checkout with uv, and the repo was created on 2026-09-01. Setup writes lifecycle hooks into your agent's settings and runs the host agent's CLI headlessly to distil and consolidate memories.
Editor's note
After installing, mem setup --host claude-code or mem setup --host codex installs the hooks and skill; add --mcp to also register the stdio MCP server.