## for OpenAI Codex
Long-term memory for Codex
AGENTS.md handles standing instructions. Basic Memory handles everything that compounds.
## for OpenAI Codex
AGENTS.md handles standing instructions. Basic Memory handles everything that compounds.
Static instructions cover what every session needs to know. The reasoning behind every decision, the gotchas, and the project history need somewhere durable to live.
Give OpenAI Codex a persistent, searchable knowledge base it can read and write to.
Codex searches Basic Memory for the few notes relevant to the current task instead of loading one giant file. AGENTS.md stays small; Basic Memory holds the rest.
Decisions, patterns, and project context accumulate as plain Markdown notes. Searchable by full-text, semantic, and graph navigation. Codex reads them when relevant and writes new ones as work progresses.
Every note is a file on your disk. Read, edit, and version with Git. The same vault works in Claude Code, Cursor, ChatGPT, and any MCP client.
Codex supports MCP servers natively. Basic Memory connects directly. No wrappers, no middleware.
codex mcp add basic-memory bash -c "uvx basic-memory mcp"One command. `uvx` runs Basic Memory in an isolated environment with no install step — handy for trying it out. For a permanent install, run `pip install basic-memory` or `brew install basic-memory` and use `bm mcp` instead of `uvx basic-memory mcp`. For cloud, swap in the remote MCP URL. Verify with `codex mcp list`. Full setup guide →
“Basic memory is the missing 'wow' factor in AI chatbots—now I can't imagine Claude or Claude Code without it.”
“Basic Memory turned my scattered notes and half-finished ideas into something coherent. It remembers what matters and builds on it — so I don't have to start from scratch every time I sit down to work.”
Try Basic Memory free for 7 days. Your notes stay yours either way.
7-Day Free Trial
Open source available for power users
View on GitHub