Skip to content

Launching 15 sub agents freezes TUI #24668

Open

Description

@runfence

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

Activity

  1. added
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    subagentIssues involving subagents or multi-agent features
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on May 27, 2026
  2. github-actions commented on May 27, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. runfence commented on May 27, 2026

    @runfence
    Author

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

    * [CLI: subagents memory leak #23260](https://github.com/openai/codex/issues/23260)
    
    * [Performance issues #23435](https://github.com/openai/codex/issues/23435)
    
    * [Codex App/CLI: subagent tasks trigger reconnect loop and stream disconnect #24475](https://github.com/openai/codex/issues/24475)
    

    Powered by Codex Action

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

  4. changed the title [-]Launching 15 sub agents makes CLI unresponsive[/-] [+]Launching 15 sub agents makes TUI unresponsive[/+] on May 27, 2026
  5. changed the title [-]Launching 15 sub agents makes TUI unresponsive[/-] [+]Launching 15 sub agents freezes TUI[/+] on May 27, 2026
  6. sigyulee commented on May 31, 2026

    @sigyulee

    Maybe memory leak leads to freezing?

  7. leventov commented on Jun 5, 2026

    @leventov

    This is a hard blocker, codex team please fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingperformancesubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions