Codex CLI: Thread History Gets Search, Resume & Persisted Names
Codex CLI 0.145.0 introduced experimental paginated thread history, letting users efficiently resume old sessions, search across past conversations by content ("occurrence search"), and give threads persisted, human-readable names. The feature also extends to sub-agent threads and integrates with Codex's memories system, and ships alongside new secure, clickable inline visualization links in the terminal UI. Together these changes make long-running or resumed Codex sessions much easier to navigate.
Key Takeaways
- Paginated thread history replaces flat JSONL rollouts, making resume fast even for very long-running Codex sessions.
- Occurrence search lets developers find specific past exchanges by keyword instead of scrolling through a session picker.
- Persisted thread names make it easier to identify old sessions weeks later without relying on timestamps.
- The history overhaul also extends to sub-agent threads, keeping multi-agent context intact across resumes.
- Inline visualization links in the terminal UI let Codex render charts and diagrams directly in a session.
- The community has already built third-party tools like Contextify to make Codex CLI history more searchable, signaling real developer demand for this feature.
Sources & Mentions
4 external resources covering this update
Searchable, Resumable Thread History
Codex CLI has historically stored session history as flat JSONL rollout files, which became slow and unwieldy to navigate as conversations grew longer. With version 0.145.0, OpenAI introduced an experimental paginated thread history system that restructures how conversations are stored and retrieved, enabling efficient resume even for very long sessions.
Alongside faster resume, Codex now supports occurrence search across thread history, so developers can find a specific past exchange by searching for keywords rather than scrolling through a session picker. Threads can also be given persisted names, making it easier to identify a specific piece of past work weeks later instead of relying on timestamps alone.
Sub-Agents and Memories
The new history system extends to Codex's multi-agent sub-agent threads, preserving their context alongside the root conversation, and integrates with Codex's memories feature so that relevant context can be carried forward automatically across paginated sessions.
Inline Visualization Links
The same release added secure, clickable inline visualization links directly in the terminal UI, allowing Codex to surface rendered charts or diagrams inline during a session rather than requiring a separate viewer.
Bug Fixes
The release also improved terminal responsiveness for long conversations through incremental Markdown rendering, fewer redraws, and caching, and fixed an issue where editing an earlier prompt now creates a contextual branch that preserves the original conversation instead of overwriting it.