Feature request: Optional cross-session memory / project memory in Codex
Resolved 💬 2 comments Opened Feb 27, 2026 by abanoub-ashraf Closed Feb 27, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What happened
I’m using Codex across multiple sessions/folders. Each new session starts with no memory of prior context, decisions, or project status.
Thread ID with uploaded context:
019c9f67-efb0-76b1-8c30-713aa5da2572
## What I expected
An optional cross-session memory system so Codex can remember relevant project context between sessions (with user control).
## Why this matters
Without memory, I have to re-explain:
- project goals
- current architecture decisions
- tooling setup
- pending tasks / next steps
This slows down iteration and increases mistakes.
## Requested feature
Please add opt-in cross-session memory with clear controls:
- Per-project memory namespace (not global by default)
- User-approved memory writes
- View/edit/delete saved memory
- TTL/expiration options
- “Use memory for this session” toggle
- Ability to import from prior thread IDs
## Minimum viable version
Even a lightweight “Project Memory” file managed by Codex automatically (with explicit approval) would help a lot.
## Environment
- Codex CLI
- Multiple local project folders
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for the suggestion. We're tracking this in #8368. Please upvote that issue, and feel free to add more details if you think that it doesn't fully capture your idea.
We are actively exploring memory capabilities.