
Daemonless Agent Command Center in Codex CLI 0.167.0
Learn how Codex CLI 0.167.0 enables the agent command center in embedded terminal sessions using codex agents --no-daemon, alongside new unread result markers in the session picker. We also cover the underlying experimental read state protocol, inline patch reviews, and updated network approval prompts.
Chapter 1
Agent command center without a daemon
James Turner
Codex CLI 0.167.0 landed on November 6th, and the one change I'd actually stop and try is this: you can now open the agent command center from a plain terminal with `codex agents --no-daemon`. And before we get into it, thanks to Jellypod AI for sponsoring this episode.
James Turner
Quick bit of context. We've covered background process management before, the daemon auto start work around PR 59447 and the feature flag features.daemon_auto_start. We've also covered connection multiplexing. Those episodes were about keeping a long lived process around so agents can keep running. This release goes the other way. It brings agent supervision to embedded, daemonless CLI sessions.
James Turner
So what changed, exactly. In 0.167.0, pull requests 58238, 58239, 58263 and 58264 enable the agent command center for embedded sessions. You run `codex agents --no-daemon`, and you get the command center without a managed background daemon. The command center and the session picker also now mark unread results. That's the second half of this, and it's the part that changes how you work.
James Turner
Why does it matter? If you run several agents in parallel, the hard part is knowing which one finished while you were looking at another. Before, you'd guess, or tail logs. Now a session with a new completed result gets flagged as unread. And no daemon means you can use this in places where long lived background processes are unwanted, like a clean container, an ephemeral cloud shell, or a locked down box. That's my read on the impact, the release notes just describe the behavior.
James Turner
How to use it. Start with `codex agents --no-daemon`. Then in the session picker, which you reach through resume, look for the unread markers next to your sessions. Open a session and view its transcript, and that acknowledges it. Also, the picker can now switch between connected backends, and your unsent draft is kept when you switch. That's pull requests 58280 and 58457.
James Turner
Now the protocol underneath, because if you build clients, this is useful. The app server README documents an experimental read state. Local durable user threads expose a `readState` on `thread/read`, and `thread/list` returns a `readStates` map. A read state is an object with `firstUnread` and `revision`. `firstUnread` is null when the thread is read. It's `threadStart` for an explicit unread mark, or a turn ID for the earliest unread completed result.
James Turner
To change it, you call `thread/readState/update` with the thread ID, an expected revision, and an operation of type read or type unread. The expected revision has to match exactly. If it doesn't, you get JSON-RPC error negative 32600 with the reason `readStateConflict`, and the current state in the error data. The README says don't blindly retry, because the original action may precede a result you haven't seen, or a mark from another window. And revisions are equality tokens, not clocks. Never compare or merge them across threads or hosts.
James Turner
Caveats. This read state API is marked experimental, and clients need the experimentalApi capability to update it. Forked history doesn't publish inherited turns as new results. And one thing I'd verify yourself: I'd expect `--no-daemon` not to combine with `--remote`, but check that against your own build before relying on it.
Chapter 2
Smaller improvements in 0.167.0
James Turner
A few smaller things in 0.167.0 worth knowing. First, inline patch review. While an approval prompt is open, you can expand patch details right in the transcript, pull request 58281. No more dismissing the prompt just to read the diff.
James Turner
Second, network approvals. Prompts now close when their request ends, and concurrent requests to the same endpoint prompt one at a time. That's 58350 and 58351, and it should end the stack of duplicate prompts. Third, Ctrl+L clears the display but keeps earlier messages, reachable through Ctrl+T.
James Turner
Fourth, on supported terminals you get thumbnail previews of local image attachments in the composer. And for cloud users, API key and provider options now live under Sign in another way, with an opt in `gcp_setup_wizard` for Vertex AI using Application Default Credentials or a credential file. Last, a compaction fix: automatic context compaction now accounts for retained output from failed responses and responses missing token usage data, pull request 58404. That's the changelog for today.