Codex can remember inside Codex. Native Memories live under ~/.codex, start off, and were blocked in the UK/EEA at launch. AGENTS.md is a static briefing. ReadmeDB is the markdown Codex writes and your other agents open tomorrow.
/init scaffolds it. Cross-tool if you keep it as rules, not a diary./memories. One machine, one Codex home. Not a team wiki.If you are in the UK or EU, assume native Memories may simply not be there. Plan the shared layer anyway.
Add to ~/.codex/config.toml (or project .codex/config.toml on a trusted repo). Streamable HTTP uses url, not command:
[mcp_servers.readmedb]
url = "https://app.readmedb.com/api/mcp"
http_headers = { "Authorization" = "Bearer rdb_your_key" }Prefer an env var? Use bearer_token_env_var = "READMEDB_API_KEY" instead of a static header. Then /mcp in the TUI. Ask Codex to create decisions.md and open-tasks.md.
| Codex Memories | ReadmeDB | |
|---|---|---|
| Where | ~/.codex/memories | Cloud namespace, versioned files |
| Who reads it | Codex on that machine | Codex, Cursor, Claude, Windsurf, CLI |
| UK / EEA | Often unavailable | Works — it is just MCP + markdown |
| You can open it | Local extracts, not a PR-able doc | Plain .md in the dashboard |
Native Memories for Codex-only leftovers. ReadmeDB for anything another tool or person must see. If Codex is extracting MCP tool output back into Memories, turn that off so you do not duplicate the brain.