Codex Goal Mode Now Generally Available Across App, IDE & CLI

Codex

Codex Goal Mode β€” previously an experimental feature β€” has graduated to general availability as of May 21, 2026, and is now accessible across the Codex desktop app, IDE extension, and CLI. Goal Mode enables Codex to pursue a defined engineering objective autonomously for hours or even days, resuming work across sessions, token budget limits, and interruptions. Both Codex app 26.519 and CLI 0.133.0 ship the GA version, with the CLI additionally backing goals with dedicated persistent storage to track progress across active turns.


Goal Mode Graduates from Experiment to Standard Feature

OpenAI has promoted Goal Mode from an opt-in experiment to a generally available feature in Codex, rolling it out simultaneously across the desktop app (version 26.519), the IDE extension, and the CLI (version 0.133.0). The upgrade marks a significant shift in how Codex is positioned: from a prompt-response assistant to a persistent autonomous agent capable of multi-session, long-horizon engineering work.

What Goal Mode Does

Goal Mode allows users to define a specific engineering objective β€” a milestone, a deliverable, a fix β€” and have Codex pursue it independently until it reaches a stopping condition. Rather than requiring turn-by-turn guidance, Codex can inspect code, run commands, make changes, test results, and iterate on its own across hours or even days.

The /goal command is the primary interface in the CLI:

  • /goal <objective> β€” create or replace the current goal
  • /goal β€” check current goal status
  • /goal pause β€” pause active work
  • /goal resume β€” resume a paused goal
  • /goal clear β€” remove the goal entirely

CLI 0.133.0: Goals Enabled by Default with Dedicated Storage

In CLI 0.133.0, Goals are enabled by default for all users β€” no opt-in required. The release also introduces dedicated persistent storage for goals, so progress is tracked across active turns and survives session interruptions. Goal continuations now stop correctly when usage limits are reached, rather than looping indefinitely, which was a reported issue in earlier experimental builds.

App & IDE

In the Codex desktop app and IDE extension, Goal Mode surfaces the same long-horizon agent capability within a graphical interface. Users can define a goal in the app and leave Codex to work while they context-switch, take a break, or use other tools. The agent reports back with status updates and pauses for human approval when configured to do so.

Why It Matters

Goal Mode represents OpenAI's answer to the "coding agent fatigue" problem: users want to delegate non-trivial engineering work without micro-managing each step. By making this feature generally available β€” rather than gated as experimental β€” OpenAI is signaling that the infrastructure is stable enough for regular production use. The combination of Goal Mode and Remote Computer Use (also launching in this release) makes Codex a genuinely unattended agent for the first time.