claude-code - 💡(How to fix) Fix [Bug] Agent Teams: Sub-agent spawning failures and shutdown handling issues [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49666Fetched 2026-04-17 08:34:45
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4
RAW_BUFFERClick to expand / collapse

Bug Description I tried to use the experimental Agent Teams feature. a few months ago it was working great. Recently there are a lot of problems with it. I have to prompt Claude 4 or 5 times before an agent is not spawned as a background/sub-agent. Than sometimes the permissions requests don't make it back to the leader, the agents don't respond back to the team-lead. When the agents where send shutdown requests they didn't always shutdown, I had to manually shut them down or exit the session to ensure all the agents went down.

I am currently using ubuntu with Tmux. I also tried Ghostty + tmux, that didn't help either.

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.112
  • Feedback ID: 2bd52495-eb05-41f5-a115-c8d3516c552f

extent analysis

TL;DR

The Agent Teams feature may be experiencing compatibility issues or bugs, requiring a workaround or update to resolve the problems with agent spawning, permissions, and shutdown requests.

Guidance

  • Verify that the issue persists across different terminal configurations to isolate the problem to the Agent Teams feature or the environment.
  • Check for any updates or patches for the Agent Teams feature, as the problems started recently, suggesting a potential regression.
  • Test the Agent Teams feature in a different environment or platform to determine if the issue is specific to Ubuntu or Tmux.
  • Consider reaching out to the development team or support for further assistance, providing the Feedback ID for reference.
  • Review the documentation for the Agent Teams feature to ensure that the current usage and configuration are correct and up-to-date.

Notes

The issue may be related to changes in the Agent Teams feature or the environment, but without more information, it's difficult to determine the root cause.

Recommendation

Apply workaround: Given the experimental nature of the Agent Teams feature and the recent onset of problems, it's likely that a workaround or configuration change can mitigate the issues until an update or fix is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Agent Teams: Sub-agent spawning failures and shutdown handling issues [1 participants]