Launching 15 sub agents freezes TUI

Open 💬 4 comments Opened May 27, 2026 by runfence
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.133.0

What subscription do you have?

Pro

Which model were you using?

_No response_

What platform is your computer?

Windows

What terminal emulator and version are you using (if applicable)?

Windows Terminal (PowerShell)

Codex doctor report

What issue are you seeing?

Seconds to accept typing, impossible to switch between agents using /agent command, often completely blocked input and CLI rendering stops

What steps can reproduce the bug?

Send a prompt where you ask model to perform some work (e.g. remove low-value unit tests) and tell it to split work into 15 sub agents. After agents are started, try to use /agent command a few times to switch between several of them.

What is the expected behavior?

No lagging, no deadlocks, normal operation

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #23260
  • #23435
  • #24475

Powered by Codex Action

runfence · 3 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. CLI: subagents memory leak #23260 Performance issues #23435 * Codex App/CLI: subagent tasks trigger reconnect loop and stream disconnect #24475 _Powered by Codex Action_

Not a duplicate. This is about sub-agent performance, not performance in general, not a memory leak, not reconnects.

sigyulee · 2 months ago

Maybe memory leak leads to freezing?

leventov · 2 months ago

This is a hard blocker, codex team please fix this