Codex CLI: In-App Memory Management Controls

Codex

Codex CLI 0.121.0 gives users direct control over the agent's persistent memory system from within the TUI. The update introduces a memories menu for browsing stored memories, a reset memories button to wipe the slate clean, and an endpoint to delete individual memories.


Taking Control of What Codex Remembers

Codex has featured a persistent memory system since early 2026 — a two-phase pipeline that extracts and consolidates context from completed sessions into a SQLite-backed store. In practice, users had no way to see what had been remembered, correct inaccuracies, or remove sensitive or stale context.

Codex CLI 0.121.0 changes that with a full suite of memory management controls.

What's New

Memories Menu in the TUI. A dedicated memories menu is now accessible directly from the terminal UI, letting users browse the complete list of what Codex has stored about them, their projects, and their preferences.

Reset Memories Button. A one-click reset memories control lets users wipe all stored memories and start fresh.

Delete Individual Memories. Users can now target and delete specific memories via a new endpoint, providing surgical control over the memory store without requiring a full wipe.

Memory Mode Toggle. The memory pipeline itself can now be enabled or disabled on demand.

Memory Extension Cleanup. The release also adds automated cleanup for memory extension artifacts.