claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Subagent UI spam: Agent output printed repeatedly in terminal

Open ty13r opened this issue 1 year ago • 7 comments

Description

I'm experiencing a UI issue where subagent output gets printed 10s to hundreds of times in the terminal while the agent is working. The repeated output makes it appear as if the agent might be caught in a loop, though I can't confirm this is actually happening.

Image

Expected Behavior

Subagent output should be displayed once or with reasonable frequency updates.

Actual Behavior

The same subagent output gets printed repeatedly (10s to 100s of times) in the terminal, creating spam-like behavior.

Impact

  • Makes it difficult to follow actual progress
  • Terminal becomes cluttered with repeated messages
  • Unclear if agent is actually looping or just UI display issue

Environment

  • Platform: macOS (Darwin 23.5.0)
  • Using Claude Code CLI

Steps to Reproduce

Occurs intermittently when using subagents for various tasks - no specific reproduction steps identified yet. But seems to be potentially occuring when implementing code against test cases, but can't cofirm this is what is causing it. It could also be caused by a long running session against a masterfully well crafted implementation plan 😉

ty13r avatar Aug 28 '25 09:08 ty13r

other times I will see massive blank space appear between the previous agents work and the agent currently working.

Image

ty13r avatar Aug 28 '25 09:08 ty13r

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/1704
  2. https://github.com/anthropics/claude-code/issues/3649
  3. https://github.com/anthropics/claude-code/issues/5557

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

github-actions[bot] avatar Aug 28 '25 09:08 github-actions[bot]

This is happening to me also

JJsilvera1 avatar Aug 28 '25 18:08 JJsilvera1

This is happening to me now. Please fix this, thanks!

benny-yamagata avatar Sep 17 '25 22:09 benny-yamagata

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 06 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 09 '26 10:01 github-actions[bot]

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.

github-actions[bot] avatar Jan 16 '26 14:01 github-actions[bot]