orca icon indicating copy to clipboard operation
orca copied to clipboard

Agent-centric view: unified agents panel across all worktrees, with click-to-switch file tree & diff context

Open matheuspimentaa opened this issue 5 months ago • 4 comments

Problem or use case

Orca is organized around projects → workspaces, where each workspace maps to a worktree. To manage my work I navigate this worktree/workspace tree.

When I run several Claude Code agents in parallel — each one in its own worktree — I have to keep switching workspaces to check on each agent. There's no single place to see, at a glance, every agent I have running and its current state.

What I want is to operate as an agent manager rather than thinking in worktrees. I want one view that lists every agent I'm running, regardless of which worktree/project/directory it lives in, and shows each agent's state — idle, working, blocked waiting for user input, done, or errored — so I can decide where to put my attention instead of constantly re-prompting and hopping between workspaces.

herdr (a terminal agentic tool) already does this part well: it has an "agents" panel that lists all active agents with their live state.

Image

Proposed solution

Two parts:

  1. Global Agents panel — a single flat list that aggregates every running agent across all worktrees, projects, and directories, decoupled from the project → workspace → worktree hierarchy. Each agent is its own entry with a live status indicator (idle / working / waiting for input / done / error) and a hint of what it's working on. This should hold whether the agent runs in a single window, multiple windows, or a split pane — each agent appears as a separate list item, never collapsed into a window/pane.

  2. Click-to-context — clicking an agent in this list focuses that agent's terminal and re-points Orca's contextual panels (the file tree / directory explorer and the diff/review view) to the worktree directory where that agent is running. So if agent A is in worktree feature-x, agent B in fix-y, and agent C in feature-z, clicking B shows B's terminal, B's file tree, and B's diffs — without me manually switching Orca spaces. When I reference a file (@) or review a diff, it resolves against the selected agent's worktree.

Net effect: I stay agent-first. I switch agents, not workspaces, and the file/diff context follows the selected agent automatically.

Alternatives or additional context

  • Today I work around this by manually switching workspaces in Orca to inspect each worktree, which breaks the flow once I'm juggling 3+ parallel agents.
  • herdr (referenced above) solves the "see all agents + state" half, but it's terminal-only and doesn't give me Orca's file tree + diff/review scoped per agent. The value of building this into Orca is combining the agent overview with Orca's existing directory and diff tooling, scoped to each agent's worktree.
  • It would help if the list surfaced the "waiting for input" state prominently, since in a multi-agent setup that's the state that most needs immediate attention.

matheuspimentaa avatar Jun 08 '26 23:06 matheuspimentaa

Additionally: It would also be helpful to be able to rename the agent titles for better control and visibility.

matheuspimentaa avatar Jun 09 '26 00:06 matheuspimentaa

makes sense. thx for explaining. will add it soon

AmethystLiang avatar Jun 09 '26 03:06 AmethystLiang

Closing as consolidated into #8377 (canonical multi-agent / multi-worktree visibility epic).

This issue is not the same surface as worktree tiling — it’s an agent-first navigation panel. To avoid losing that distinction while deduplicating the cluster, every requirement here is preserved on #8377 under Track B — Agent-centric overview:

  1. Global flat Agents panel across all worktrees/projects
  2. One list row per agent (never collapsed into window/pane)
  3. Live statuses: idle / working / waiting for input / done / error + work hint
  4. Waiting-for-input highlighted as highest-attention state
  5. Click-to-context: focus terminal and re-point file tree + diff/review to that agent’s worktree
  6. Renameable agent titles (comment)
  7. herdr-style list + Orca-scoped tree/diff value-add

Track B can ship independently of Track A (side-by-side workbench). Please continue discussion on #8377.

AmethystLiang avatar Jul 31 '26 01:07 AmethystLiang

Consolidated into #8377 Track B (agent-centric panel) so the multi-worktree visibility cluster has a single home without losing requirements.

AmethystLiang avatar Jul 31 '26 01:07 AmethystLiang