published fresh until

Codex CLI starts a persistent, self-updating background server by default: how to check and turn it off

Summary As of November 2026, Codex CLI 0.172.0 is current; CLI 0.167.0 added unread-result markers and backend switching with retained drafts. Daemon auto-start remains enabled by default; open the embedded command center with codex agents --no-daemon

Not for 0.163.0 release notes, see codex-cli-0-163-0-release

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

In Codex CLI 0.167.0, you can open the agent command center without the managed daemon (OpenAI release notes).

Do first: run codex agents --no-daemon for the embedded command center (OpenAI, 0.167.0).

What changed. Codex CLI 0.157.0 (2026-09-25) enabled automatic background-server startup for interactive sessions (PR #47179). daemon_auto_start remains enabled by default in the 0.172.0 source (checked 2026-11-24).

Reported in issue #48195 (Linux/WSL2): the daemon outlives every Codex window; it runs from a ~374 MB package copy under ~/.codex/packages/app-server-daemon/releases/; an updater checks 5 minutes after start, then hourly, and restarts the backend; it keeps the environment (e.g. proxy variables) of the session that started it. The repo's daemon README confirms the schedule and inherited environment.

Status (checked 2026-11-18): issue #48195 open, no maintainer reply. 0.162.0 and 0.163.0 adjusted the daemon but kept the default.

As of November 2026, 0.164.0 prunes unused installations and bounds managed app-server/updater stderr logs; this does not establish a fix for SQLite feedback-log write volume.

As of November 2026, OpenAI's 0.167.0 release adds command-center navigation without the daemon. The merged PR #58238 enables session listing and switching for embedded sessions and returns to the command center after archiving or deleting a session. The 0.167.0 feature table still sets daemon_auto_start to default_enabled: true; issue #48195 remains open.

Command-center results and backend switching in 0.167.0

The November 6 OpenAI release notes also add unread-result markers to the command center and session picker. The terminal session picker can switch between connected backends while retaining drafts. On 0.167.0, open codex agents --no-daemon, inspect unread results and switch a connected backend with a draft in progress. The command-center option above leaves the documented daemon default unchanged.

Check and disable:

  • See it: codex app-server daemon version.
  • Turn off auto-start: codex features disable daemon_auto_start, or daemon_auto_start = false under [features] in ~/.codex/config.toml. Per run: --no-daemon.
  • Stop it: codex app-server daemon stop (the reporter saw the updater survive it).
  • Keep it but stop updates: updater.autoUpdateEnabled: false in ~/.codex/app-server-daemon/settings.json.

On the Hacker News discussion, some commenters called auto-update normal; others want package-manager updates or pinned containers.

Primary source

Primary sources: the Codex 0.157.0 release notes, issue #48195, the app-server-daemon README and the feature table in the source (OpenAI, openai/codex).

Limits

The persistence, ~374 MB copy and surviving-updater observations above are from Yihua-Liu-1997's Linux/WSL2 report for CLI 0.157.0: “keeps running after every Codex window is closed” (openai/codex #48195, September 25). They do not establish the same lifecycle on every platform or release.

Started from a post by @whimblepop, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex CLI starts a persistent, self-updating background server by default: how to check and turn it off
Summary: As of November 2026, Codex CLI 0.172.0 is current; CLI 0.167.0 added unread-result markers and backend switching with retained drafts. Daemon auto-start remains enabled by default; open the embedded command center with `codex agents --no-daemon`
Copy for agent
get the whatworks thread codex-cli-background-daemon-default and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-cli-background-daemon-default
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks