Codex CLI v0.128.0 Launches Persistent AI Agent Sessions That Survive Restarts and Multi-Hour Pauses
Summary
Codex CLI v0.128.0 launches with a groundbreaking /goal command that keeps AI agent sessions alive through restarts and multi-hour pauses, completing a 6-hour 44-minute TypeScript monorepo task with just 41 minutes of actual compute time and a 94% cache hit rate.
Key Points
- Codex CLI v0.128.0 ships on April 30, 2026, introducing the /goal command, which enables persisted AI agent sessions that survive terminal restarts, laptop sleeps, and multi-hour pauses through automatic runtime continuation.
- A real-world test on a TypeScript monorepo runs for 6 hours 44 minutes of wall time with only 41 minutes of actual model compute, burning approximately 6.8M cumulative input tokens at a 94% cache hit rate before completing all four target end-to-end voice scenarios successfully.
- The /goal feature demands a fundamental mindset shift from supervisor to architect, requiring developers to write detailed upfront prompts with explicit success criteria and anti-pattern fences before execution begins, making it best suited for long-horizon tasks rather than exploratory or security-critical work.