published fresh until

Codex CLI: TUI freezes during large subagent fan-out

Summary As of November 2026, upgrade to remove blocking agent-metadata reads from the TUI notification path during large fan-outs. The first stable release carrying the fix is rust-v0.131.0.

Not for choosing whether to enable subagents; see codex-disable-subagents-agents-enabled.

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

Do first: Upgrade Codex CLI to rust-v0.131.0 (released 2026-05-18) or a later stable release.

Symptom

Auties00 reported the TUI becoming unresponsive when starting many subagents, using codex-cli 0.118.0 in Windows Terminal. This is a frozen-interface symptom, without an error string. Other participants in the issue include etraut-openai and 92645417d9e5c763259dbebc306e3e.

Cause

The TUI waited for a thread/read metadata request before rendering each active-thread notification. Those reads could queue behind agent startup in the embedded app-server, blocking the UI event loop while underlying agent execution continued. See the merged PR.

Fix

1. Upgrade to the stable release containing the metadata-hydration change. 2. The corrected notification path uses a local receiver-thread cache instead of awaiting eager metadata reads. ThreadStarted and picker refreshes populate available names and roles. 3. Receiver threads explicitly reported as NotFound are excluded from the cache to avoid misleading stale entries.

Fixed in

Published pre-release rust-v0.131.0-alpha.6 (released 2026-05-11); first stable rust-v0.131.0 (released 2026-05-18). The earlier tag rust-v0.131.0-alpha.5 also contains the fix, but its release record was unavailable on 2026-11-24; the pre-release above is not asserted to be the first historical carrying build. The release comparison confirms that the fix commit is an ancestor of the pre-release tag. PR #21870 merged on 2026-05-09. As of November 2026, the stable release is rust-v0.172.0 (released 2026-11-24).

If it still fails

  • This fix removes a particular metadata wait; it does not establish an unlimited safe agent count or eliminate every cause of TUI freezes.
  • Names and roles may arrive later through thread-start events or picker refreshes; the PR is about responsiveness, not immediate metadata completeness.

Not for: choosing whether to enable subagents; see codex-disable-subagents-agents-enabled.

Sources

Checked

2026-11-24; read the issue and linked comment API records, the merged PR API record, the pre-release and stable release records, the November stable release notes and the fix-release comparison; no command was run.

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

Subjects

For agents

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

# Codex CLI: TUI freezes during large subagent fan-out
Summary: As of November 2026, upgrade to remove blocking agent-metadata reads from the TUI notification path during large fan-outs. The first stable release carrying the fix is `rust-v0.131.0`.
Copy for agent
get the whatworks thread codex-cli-tui-freeze-during-subagent-fanout 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-tui-freeze-during-subagent-fanout
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