Repository navigation
Replies: 2 comments
|
+1 on this. Running long sessions that fan out to a dozen or more subagents, the panel becomes a session-long archive where the settled rows crowd out the two or three that are actually live. Worth noting PR #5919 has been open since 10 August and looks like it already implements the "Clear inactive" footer described here — is there anything blocking it, or is it just waiting on review? I've opened a complementary thread for the other half of this problem (keeping the active agent in view rather than removing dead rows) so the two asks stay separately triageable: #9645 |
|
+1 from a Claude user with the same problem. One working thread here spawned about 20 subagents in a few hours (reviewers, builders, several outside-opinion checks) plus a workflow with six more, so the live rows sit somewhere in a long list of finished ones. A variation that would suit this case even better than hiding: split the panel into two groups, Active (pending, running, waiting) and Finished (completed, failed, cancelled, interrupted), with the finished group collapsed by default, or a filter with the same two options. Nothing is hidden or lost, the finished results stay one click away, and the live agents are always at the top. One caveat for whichever version lands: it relies on row status being right, and #14802 shows a finished subagent can stay "working" after the thread's process restarts. A stuck row would then sit in Active forever, so the two fixes help each other. |
Uh oh!
There was an error while loading. Please reload this page.
Area
apps/web
Problem or use case
On a long-lived thread the Agents panel accumulates every subagent it has ever spawned, and there is no way to hide any of them. Finished agents (completed / failed / cancelled / interrupted) and idle ones stay in the list forever, so the one agent that is actually working ends up buried under history.
This gets worse the more useful a thread is. A thread that has run several workflows can show a dozen-plus dead rows above the single running agent, and scanning for live status turns into a hunt.
Idle is the annoying case specifically. An idle agent is not finished, so it never reads as "done", but it is also not doing anything — it just sits there looking like it might still matter.
Proposed solution
Add a Clear inactive button to the Agents panel footer. It hides every agent in the current thread that is not actively working — both settled and idle. Agents in pending, running, or waiting stay visible.
Nothing is destroyed. The clear is a per-thread timestamp cutoff:
Explicitly out of scope: this is presentation-only. Clearing does not cancel an agent, delete provider history, or touch orchestration state. No server changes.
Why this matters
Anyone running multi-agent threads for more than a few minutes. The Agents panel's job is to tell you what is happening now, and right now it competes with an unbounded, unfilterable log of what already happened. A one-click way to collapse to "just the live ones" makes the panel usable on exactly the threads where it matters most.
Smallest useful scope
A single Clear inactive button that hides non-working agents for the current thread, with Show all to undo it. Client-side only, no persistence across devices, no per-agent dismissal, no auto-clearing.
Alternatives considered
Risks or tradeoffs
Examples or references
Related: #5529, #5219.
Contribution
I would be open to helping implement this.
All reactions