Skip to content

[FEATURE]: Agent Activity Panel -- sidebar view for monitoring running background agents #27995

Description

@zh-zimoer

Summary

When orchestrating multiple background agents in parallel (e.g., explore, librarian, oracle), there's currently no way to monitor their status without calling background_output() manually. A dedicated sidebar/panel showing live agent activity would greatly improve visibility into multi-agent workflows.

Problem

Right now, when agents are spawned with run_in_background=true, the user has zero visibility into:

  • How many agents are currently running
  • What each agent is doing (task description / current step)
  • Their status (running / completed / failed)
  • Their partial output (live progress)

The only way to check is to wait for a system notification and then call background_output(task_id="...") -- which is a pull-based, reactive model with no live visibility.

Proposed Solution

Add an Agent Activity Panel in the sidebar (similar to a CI/CD pipeline view) that shows all background agents with their real-time status.

Mockup

+- Agents ──────────────────────────────+
|                                       |
|  🟡 explore     "Find auth patterns…" |  <- click to expand
|  🟡 librarian   "JWT security docs…"  |  <- click to expand
|  ✅ oracle      "Architecture review" |  <- click to see output
|  ❌ explore     "Find error handlers" |  <- click to see error
|                                       |
+───────────────────────────────────────+

Clicking an agent entry expands to show:

  • Full task description / prompt
  • Live streaming output (if still running)
  • Final result (if completed)
  • Error details (if failed)
  • Start time + elapsed duration

User Story

As a power user running complex multi-agent workflows, I want to see all active background agents in the sidebar at a glance, so I can monitor their progress and click into any agent to view real-time output -- without having to wait for completion notifications.

Acceptance Criteria

  • Sidebar panel lists all background agents spawned in the current session
  • Each entry shows: agent type, task description snippet, status icon (running / done / failed)
  • Clicking an entry opens a detail view with full output
  • Running agents show live/streaming output as it arrives
  • Panel updates in real-time (no manual refresh needed)
  • Completed/failed agents remain visible (dismissible)

Context

This is especially valuable for workflows where 3-5 agents run in parallel (e.g., parallel codebase exploration + external docs research + architecture consultation). Currently the UX feels like "fire and forget" with no control panel.

Related to the overall goal of making multi-agent orchestration more transparent and manageable from the UI.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions