Visualize agent hierarchies — see which agents spawn subagents, track their status, and monitor the full execution tree.
!Subagent Tree View
When agents spawn subagents during execution, each spawn is registered with the SubagentManager:
SubagentManager
1. Parent agent spawns a child agent
2. The spawn is recorded with session ID, timestamp, and status
3. A tree structure is built from spawn records
4. The tree can be queried per-session via the REST API
| Endpoint | Method | Description |
|----------|--------|-------------|
| /api/subagents | GET | List all spawn events |
/api/subagents
| /api/subagents/{session_id} | GET | Get tree for a session |
/api/subagents/{session_id}