Codex Memory

Codex project memory for AGENTS.md-based workflows.

Memory keeps Codex guidance short and operational while giving the agent task-focused access to durable project context stored in the repo.

What this solves.

AGENTS.md stays focused Use AGENTS.md for behavior, not every project fact.

`memory setup` updates the marked Memory section in `AGENTS.md`, then durable project knowledge lives in Memory where it can be loaded, inspected, and repaired.

Task-shaped context Give Codex the context needed for the current edit.

`memory load "<task>"` ranks relevant decisions, constraints, workflows, gotchas, and source-backed syntheses before Codex touches the code.

Reviewable saves Make useful discoveries survive the chat.

After meaningful work, `memory remember --stdin` saves durable context as local files so the next Codex session can start from current project memory.

Continue with adjacent project-memory workflows for AI coding agents, AI coding assistants, and MCP-capable tools.