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

Quick Setup
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.
Caleb
Caleb Picker Consulting
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.
@Nellins
Creator

Start building with OpenAI Codex

Try Basic Memory free for 7 days. Your notes stay yours either way.

7-Day Free Trial

$15/seat/month
Graduated team pricing
  • AI collaboration via MCP
  • Shared workspaces for teams and agents
  • Team member management and audit logs
  • Full-text search across notes and projects
  • Desktop, mobile, and web access
  • Private, exportable Markdown files
  • 50,000 notes per seat
  • 1,000 note updates per seat per day
  • Cancel anytime, your data stays yours

Open source available for power users

View on GitHub

Frequently asked questions

How do I give Codex persistent memory?
Connect Basic Memory as an MCP server in your Codex configuration. Codex can then search and update your knowledge base — architecture decisions, conventions, project context — in every session instead of starting cold.
How is Basic Memory different from AGENTS.md?
AGENTS.md is a static instruction file; Basic Memory is a living knowledge base. Codex retrieves relevant notes on demand via MCP search rather than loading one fixed file, and it can write new knowledge back. Use AGENTS.md for standing instructions and Basic Memory for everything you learn along the way.
Can Codex and Claude share the same memory?
Yes — that is the point of building on MCP. Codex, Claude Code, Cursor, and ChatGPT can all read and write the same Basic Memory knowledge base, so switching tools never means losing context.