mnemo

Codex memory surfaces

Native model

Codex does not expose a separate local semantic memory store comparable to mnemo. Its durable, user-controlled memory-like surface is instruction aggregation from AGENTS.md / AGENTS.override.md files plus configured fallback filenames.

OpenAI’s agent-loop documentation describes Codex adding user instructions from $CODEX_HOME and then from folders between the Git/project root and the current working directory, subject to a default 32 KiB project-doc budget. The Codex source describes the same discovery path and concatenation model.

Locations

Global/user scope:

Project scope:

Shape and retrieval

Conversion notes for mnemo

Recommended import order:

  1. Repo root AGENTS.md and nested project AGENTS.md files.
  2. AGENTS.override.md only with explicit opt-in because it may be personal or temporary.
  3. $CODEX_HOME files only with explicit user-scope import.
  4. Configured fallback filenames only when the importer can read Codex configuration safely.

Suggested mapping:

Important importer behavior:

Sources