[BUG] Multiple sub-agents of the same type created
Collide code when calling agents creates a bunch of the same ones and then eventually will kill them all except for one but it fills up the entire screen and you can see here that in the image a ton of them have been created. I'm not exactly sure when this started happening but it was after one of the updates and I'm on the most recent version since this is a fairly new chat window.
Environment
- Platform (select one):
- [x ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: Latest
- Operating System: Windows 11
- Terminal: Powershell
Bug Description
Steps to Reproduce
- Just asking claude to call sub-agents. This never happened after previous updates.
Expected Behavior
Not to spam calling agents.Actual Behavior
Additional Context
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/6730
- https://github.com/anthropics/claude-code/issues/6594
- https://github.com/anthropics/claude-code/issues/5122
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.