Agent Hangs when spawning new sub-agents after a long session

Open 💬 2 comments Opened Jul 7, 2026 by Sukhjeet-droid

What version of Codex CLI is running?

OpenAI Codex (v0.142.5)

What subscription do you have?

Max

Which model were you using?

gpt-5.5 xhigh

What platform is your computer?

MacOS

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

_No response_

Codex doctor report

What issue are you seeing?

Every time the agents spawns new agents after a longish session, it hangs. I have to stop it from spawning new agents. I have seen before that if I press CTRL-C and resume it, the agent is able to spawn new agents,

What steps can reproduce the bug?

Uploaded thread: 019f3abc-f234-7e80-8af6-44933a0668ee

What is the expected behavior?

It should be able to spawn new agents without hanging!

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗