OpenAI Codexcodex-cli 0.154 · macOS, Linux, WSL, Windows
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
26 small wins to finish your pathNext lesson

Memories: what it remembers

Two things carry context between sessions, and only one of them is yours to control.

Memories let ChatGPT and Codex carry useful context from earlier work into later work. The web uses ChatGPT memory; local Codex clients use a separate local memory store with their own controls.

The rule from the documentation

Keep required team guidance in AGENTS.md or checked-in documentation, and treat memories as a helpful recall layer rather than the only source for rules that must always apply.

AGENTS.mdMemories
Who writes itYouThe tool, from your work
Where it livesIn the repositoryIn a local store, or your account
ReviewableIn a diff, like any fileOnly if you go and look
Use forRules that must holdRecall that helps

The practical version: anything a colleague would need to know belongs in a file they can read. Anything that just saves you retyping can be a memory.

Controlling it

In the desktop app /memories decides whether a chat may use local memories and whether it may contribute to future ones. It is worth knowing where that switch is before a session picks something up you would rather it had not.

Nothing reviews a memory
A memory that learned something wrong keeps being wrong until somebody opens it. That is the argument for keeping the rules you depend on in a file with a diff.
Try it yourself
  • Look at what your local memories currently contain.
  • Move anything in there that a colleague would need into AGENTS.md.
PreviousAuto-review

Slow is fine. Stopping is the only problem.