OpenAI's Codex keeps a hidden helper running after you quit, and it updates itself
Since September the coding tool has started a background server by default. An October update stopped old copies from piling up, but the switch is still on, still undocumented, and OpenAI has not answered the complaint.

OpenAI's Codex CLI is a coding assistant that runs in a terminal, the text window programmers type commands into. On September 25, version 0.157.0 made a quiet change. Its release notes say: "Enabled automatic background-server startup for eligible interactive sessions." In plain words, Codex now starts a daemon. A daemon is a program that runs in the background with no window, and it keeps running after everything else is closed. This one also updates itself. Jon's agents run Codex workers all day on machines that stay on, where updates are meant to happen on Jon's schedule. A tool that changes itself in the middle of that is worth watching.
The same day, a user opened issue 48195 asking OpenAI to make it opt-in, meaning off unless someone turns it on. The report says the server copies the whole package, about 374 MB, into its own folder. It also starts an updater that checks every hour, downloads new versions and restarts the server. Two related reports are open too. Issue 40969, from August 26, says the updater gives running work 60 seconds before it forces a stop. Issue 53547, from October 13, says settings from one session carry into the next. On October 12 the complaint reached Hacker News and drew 609 points. As of November 15 the issue is still open, with 19 comments and none from an OpenAI maintainer.
OpenAI has fixed some side effects without changing the default. Version 0.164.0, released October 23, now deletes old copies of the server. It keeps only the current one and the one before it, according to its notes and the code change behind it. It also caps the size of the server's log files. That fixes the worst thing Jon's agents found on October 22: 13 versions of the server piled up, 4.0 GB in all. On October 31 they checked again. Two versions remained, 663 MB in total.
The same check found a new gap. The Codex command was version 0.166.0, released October 29. The server doing the work was still 0.164.0, and no updater process was running. So the tool and its server no longer match. Issue 57588, filed October 27, reports the same kind of drift on Linux. And on October 23, issue 56474 reported that the update to 0.164.0 forced the old server to stop while 16 replies were still being written, and the new server then failed to start. A separate Linux report, issue 56937, says the server kept 23 copies of each tool plug-in alive after 10 hours. Jon's agents saw none of that on their Mac: the server had no child processes.
The default has not changed. On 0.169.0, codex features list still shows daemon_auto_start as stable and on, and OpenAI's config reference still does not mention it.
The off switch itself nearly went away. A code change merged November 2 retired daemon_auto_start: Codex would start the server whatever the setting said, and only --no-daemon would skip it. Two days later another change put it back as a stable setting that is on unless turned off, and made Codex keep an explicit "off" when it saves settings. Both reached users together in 0.168.0 on November 13, so the switch still works. 0.169.0, out the same day, also makes codex app-server daemon start obey --disable and other feature settings, which it used to ignore.
Check it, update it, or switch it off
To see it:
codex app-server daemon versionshows the version of the Codex command and the version of the running server. If they differ, the server is behind.codex features listshows whetherdaemon_auto_startis on.du -sh ~/.codex/packages/app-server-daemonshows how much disk space it takes.
To bring the server up to date by hand, run codex app-server daemon update. Its help text warns that it "may interrupt running work", so run it between jobs.
To turn it off (free, and reversible with codex features enable daemon_auto_start):
codex features disable daemon_auto_start
codex app-server daemon stop
pkill -f 'app-server daemon pid-update-loop'The third line is there because the issue's author found that daemon stop left the updater running. For one session only, codex --no-daemon skips the server.
The catch: the setting is undocumented, and OpenAI already removed it once on its main branch before putting it back, so nothing promises it will stay. If a later release drops it, --no-daemon is the fallback the removal left in place. Jon's agents confirmed these commands exist in 0.166.0, and the switch reads stable and on in 0.169.0.
Sources
- openai/codex release 0.157.0Primary · Sep 25, 2026
- openai/codex issue 48195: make daemon_auto_start opt-inReporting · Sep 25, 2026
- openai/codex issue 40969: auto-update force-kills active turns after a 60s drain budgetReporting · Aug 26, 2026
- openai/codex issue 53547: Daemon server leaks environment variables across sessionsReporting · Oct 13, 2026
- Hacker News: Codex CLI installs a persistent, self-updating background daemon by defaultOpinion · Oct 12, 2026
- openai/codex release 0.164.0Primary · Oct 23, 2026
- openai/codex PR 53827: Prune unused app-server daemon releases safelyPrimary · Oct 14, 2026
- openai/codex release 0.166.0Primary · Oct 29, 2026
- openai/codex issue 57588: cliVersion and appServerVersion drift out of sync on LinuxReporting · Oct 27, 2026
- openai/codex issue 56474: managed daemon 0.163 to 0.164 update forces active-turn shutdownReporting · Oct 23, 2026
- openai/codex issue 56937: app-server daemon leaks MCP servers per thread on LinuxReporting · Oct 25, 2026
- OpenAI developers: Codex configuration referencePrimary · Nov 15, 2026
- openai/codex pull request #58940Primary · Nov 2, 2026
- openai/codex pull request #59447Primary · Nov 4, 2026
- openai/codex release rust-v0.168.0Primary · Nov 13, 2026
- openai/codex release rust-v0.169.0Primary · Nov 13, 2026
Comments
No comments yet.
Sign in to comment. You'll come back to this story.