pedrowillen/claude-agent-tree
10 stars · Last commit 2026-11-12
Claude Code mod that shows a live Agents pane with the orchestrator and subagent tree: model, effort, tokens, tools, duration and reply preview.
README preview
# agent-tree
A Claude Code mod that opens an **Agents** pane beside the chat with a live tree of the main session (the orchestrator) and every subagent it spawns: model, effort, tokens (input, cache, output), tool calls, duration and the first line of each answer.
It costs no model tokens: the hooks run inside the app and the pane is drawn by the interface, so nothing is added to the prompt.

The same tree as a web page (sample data). Each card shows the agent's estimated cost, its rating once it ends and how full its context is; the dots on a wire run from parent to child while that agent is working.
```
Main session · opus-5-5 · high
48.2k in (41.0k cache) / 1.3k out
├─ [ok] Explore · haiku-5-5 · low
│ Find the auth middleware · 12.4k in (9.8k cache) / 0.6k out · 7 tools · 14.2s
│ The middleware lives in app/middleware/auth.ts and ...
└─ [running] general-purpose · sonnet-5-5 · medium
Review the migration · 3 tools
Subagents: 12.4k in / 0.6k out
```