REFERENCE
SDK Demos
How to use @asgard-js/core and @asgard-js/react, with demos you can try on the page.
Subagent List
When the main agent spawns subagents via the Agent tool, the SDK accumulates each
into a docked panel showing its status (running / completed / failed / cancelled)
and the child tools it ran.
How It Works
- A subagent's status is driven by the
asgard.subagent.start/.completeevents, not by theAgenttool's own completion — async subagents often complete theAgenttool early while they are still running. - The correlation key is
parentToolUseId(thetoolUseIdof the spawningAgenttool call). - The
Agenttool and every child tool (carryingparentToolUseId) are routed out of the main tool-call group into the docked<SubagentList>panel; panel labels follow thelocaleprop.
- A subagent's status is driven by the
See Also
- Task Check List — another docked panel
- Tool Call — regular tool-call grouping
- Docking Panels — place them yourself with
hideRunChrome