claude-code - 💡(How to fix) Fix [BUG] Agent Teams sub-agents persist in UI after completion; sub-agent detail buttons unresponsive in Claude Desktop

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…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using Agent Teams in Claude Code, sub-agents that have finished their work do not disappear from the UI, and the controls for inspecting a sub-agent's work are often unresponsive. As a result, there is no visibility into what each sub-agent did or is currently doing.

Specifically:

  • Completed sub-agents continue to appear in the UI as if still active.
  • Clicking on a sub-agent's entry/button frequently does nothing — no panel opens, no transcript appears.
  • UI clutter accumulates over a session with multiple Agent Teams runs.

What Should Happen?

  • Completed sub-agents should be cleared from (or clearly marked as finished in) the UI once their work is done.
  • Buttons/entries for each sub-agent should reliably open a view showing that sub-agent's progress, tool calls, and output.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code inside the Claude Desktop app.
  2. Start a task that spawns multiple sub-agents via Agent Teams.
  3. Wait for the sub-agents to finish their tasks.
  4. Try to click the buttons/entries for individual sub-agents to view their work.

Observed: completed sub-agents remain in the UI; clicks on their entries are often unresponsive, so the sub-agent transcripts cannot be opened.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.146 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

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-agents persist in UI after completion; sub-agent detail buttons unresponsive in Claude Desktop