Loading component…
Loading component…
One agent's dashboard from the six agent chart cards – what it did, what it costs, how fast it is, what it's doing now and when it runs next.
To reuse this local React demo, copy all files from the Code tab into the same folder, then import AgentOverview from ./agent-overview.
import { AgentOverview } from "@/components/blocks/agent-overview";
<AgentOverview
title="Research agent"
subtitle="This week"
activity={{ title: "Tool calls", tools, days }}
timeSplit={{ title: "Time this week", slices }}
budget={{ title: "Tokens per run", runs, limit: 250_000, models }}
latency={{ title: "Response time", points, target: 2500 }}
transit={{ title: "Customer migration", from, to, progress, eta }}
window={{ title: "Next run", range, start, end, now, onChange }}
/>| Name | Type | Default | Description |
|---|---|---|---|
| title | string | Heading above the cards, e.g. the agent's name – no heading when left out | |
| subtitle | string | A quiet line under the heading, e.g. "This week" | |
| activity | ToolActivityProps | Tool Activity – the tools it used, day by day | |
| timeSplit | AgentTimeSplitProps | Agent Time Split – where its time went | |
| budget | TokenBudgetProps | Token Budget – tokens per run against a limit | |
| latency | LatencyRangeProps | Latency Range – how fast it answers, hour by hour | |
| transit | RunTransitProps | Run Transit – the job it carries right now | |
| window | RunWindowProps | Run Window – when it may run | |
| className | string | Extra class on the root |
Two cards side by side; under 720px of container width one column – it follows its container, not the window
Every card has the same height, so the rows line up
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"