[BUG] Agent Teams sub-agents persist in UI after completion; sub-agent detail buttons unresponsive in Claude Desktop

Resolved 💬 2 comments Opened May 21, 2026 by steve-ham Closed May 25, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] 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_

View original on GitHub ↗

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