The Codex CLI, starting with version 0.157.0, now automatically initiates a persistent background daemon upon opening an interactive session. This daemon, identified as `codex app-server --managed-daemon`, operates in its own session without a TTY and continues to run even after all Codex windows are closed, becoming reparented to PID 1.
The daemon copies the entire platform package, approximately 374 MB, into `~/.codex/packages/app-server-daemon/releases/<version>/`. It then runs from this copied location, effectively decoupling the backend's version from the CLI version installed via a package manager like npm. This self-updating behavior is considered unusual for a CLI tool, where the expectation is that the backend's lifecycle is tied to the CLI window and uses the installed binary.
Users have expressed concern that a persistent, self-updating background daemon should not be enabled by default without explicit user consent or a clear prompt. A workaround involves disabling `daemon_auto_start` via `codex features disable daemon_auto_start`, stopping the daemon with `codex app-server daemon stop`, and manually killing any remaining `pid-update-loop` processes, followed by removing the copied daemon files.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
The Codex CLI version 0.157.0 now automatically starts a persistent, self-updating background daemon, which runs independently of the CLI session and copies its own binaries. This change is unexpected for a CLI tool, as it creates a decoupled backend version and leaves background processes running even after the CLI is closed.