OpenAI is currently developing a new operational setting called Persistent mode for its Codex developer tool. This feature is designed to allow autonomous AI agents to execute tasks indefinitely until they are manually paused or put to sleep, marking a shift toward always-on background agents.
OpenAI is developing a new operational setting for its Codex developer tool called Persistent mode, designed to allow autonomous AI agents to execute tasks indefinitely until manually paused or put to sleep.
The feature was identified in recent code commits to the command-line interface (CLI) repository for Codex, as reported by Wired. In the codebase, Persistent mode appears alongside standard reasoning effort settings such as medium, high, and extra-high, but introduces an entirely different execution loop.
Autonomous Task Generation and State Persistence
Current AI coding tools typically operate on a request-response cadence. A developer enters an instruction or sets a bounded goal, the model reasons through the task, runs terminal commands or file edits, and returns control to the user once the immediate prompt finishes or an error occurs.
Under Persistent mode, the execution loop is designed to continue autonomously. The internal codebase directives describe the agent as operating under instructions to continue working until put to sleep. Instead of halting after completing a single task or encountering an intermediate blocker, the agent can:
- Autonomously generate and queue follow-up sub-tasks based on project requirements.
- Maintain execution state and context across disconnected terminal sessions.
- Reference historical interactions and user preferences to guide subsequent technical decisions.
- Proactively notify the developer when critical decisions, test failures, or completed milestones occur.

Shift Toward Always-On Background Agents
The development of Persistent mode highlights an architectural shift from interactive chat-based coding assistants to durable background worker runtimes. Rather than requiring continuous human prompting, background agents are granted long-horizon autonomy to iteratively run test suites, analyze logs, adjust implementations, and verify codebases.
OpenAI frequently tests new architectural features and command-line primitives in its open Codex CLI before rolling them into GUI products such as the Codex desktop application and ChatGPT Work. OpenAI confirmed that the Persistent mode feature is under active internal testing, though no public release timeline has been finalized.
Sources
Frequently asked questions
What is OpenAI Codex Persistent mode?
Persistent mode is a new operational setting for the Codex developer tool that allows autonomous AI agents to execute tasks indefinitely until manually paused or put to sleep.
How does Persistent mode differ from standard AI coding tools?
Unlike standard tools that operate on a request-response cadence, Persistent mode continues autonomously by generating follow-up sub-tasks, maintaining state across sessions, and proactively notifying users of milestones or failures.
Is OpenAI Codex Persistent mode publicly available?
No, OpenAI confirmed that the Persistent mode feature is under active internal testing, and no public release timeline has been finalized yet.
What architectural shift does Persistent mode represent?
It represents a shift from interactive chat-based coding assistants to durable background worker runtimes that grant long-horizon autonomy for iterative testing and codebase verification.
