Give Codex a Memory
Persistent context for your OpenAI coding agent, across every session.
Every session starts from zero
Without memory, OpenAI Codex forgets everything between sessions.
- —Codex starts fresh every time — no memory of your codebase or past decisions.
- —You spend time re-establishing context instead of shipping code.
- —Project knowledge lives in your head, not somewhere Codex can access it.
- —Long-running projects lose continuity because there's no shared knowledge layer.
Basic Memory changes that
Give OpenAI Codex a persistent, searchable knowledge base it can read and write to.
Persistent context
Codex reads and writes to a knowledge base that carries over between sessions. Decisions, patterns, and project context are always available.
Searchable knowledge
Every conversation builds a searchable knowledge graph. Codex can find relevant context from past sessions in milliseconds.
Plain text you own
Everything is stored as Markdown files on your machine. Read them, edit them, version them with git. No lock-in, no cloud dependency.
Native MCP integration
Codex supports MCP servers natively. Basic Memory connects directly — no wrappers or middleware required.
One command to get started
codex mcp add basic-memory bash -c "uvx basic-memory mcp"That's it. Full setup guide →
What users are saying
“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.”
Start building with OpenAI Codex
Try Basic Memory free for 7 days. Your notes stay yours either way.
7-Day Free Trial
- Full access to every Basic Memory feature
- Unlimited notes and projects
- Mobile and web access anywhere
- Private, exportable Markdown files
- Cancel anytime, your data stays yours
Open source available for power users
View on GitHub