AgentMonitor
One agent at work: a live clock and running cost lead; finished steps sit in a time strip you can open.
An orchestrator and its sub-agents as a tree, with status, time and cost on every node.
An orchestrator and its sub-agents. Not TreeView. Not AgentFleet.
Fold a branch with its chevron. Branch costs roll up (Σ); waiting and failed leaves act in place.
AgentTree shows how one orchestrator split its work. Status is always text in its own column. Several independent agents belong in AgentFleet; a file tree is TreeView.
An orchestrator and its sub-agents as a tree. Every node shows status, time and cost; branch costs roll up (Σ). Fold branches; approve or retry in place.
import { AgentTree } from "agentic-ds-kit";From contracts/agenttree.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| root | object | No | — | { id, name, status: "queued" | "running" | "waiting" | "done" | "failed", elapsed?, cost?: number, note?, children? }. Missing root shows Empty. |
| label | string | No | Orchestrator | — |
| folded | string[] | No | — | Folded branch ids; a folded branch shows "N agents". |
| onFoldedChange | function | No | — | (folded) => void. Adds the chevron disclosure on branches. |
| selectedId | string | No | — | Selected node id; its row shows the selected ring and its name button aria-pressed. |
| onSelect | function | No | — | (id) => void. Makes each node name a button, e.g. to open that agent's step elsewhere. |
| onApprove | function | No | — | (id) => void. Waiting leaf: Approve. |
| onRetry | function | No | — | (id) => void. Failed leaf: Retry. |
| currency | string | No | $ | — |
| loading | boolean | No | false | — |
One agent at work: a live clock and running cost lead; finished steps sit in a time strip you can open.
A vertical step list for a running agent task: done steps with durations, the current step with a live timer, then pending steps.
Nested hierarchy people open and close level by level to browse, pick, or check items.
Placeholder when a list, page, or region has nothing to show.