Calm motion: animations on this site only fade, with no movement
Run trace
The steps of an agent run with tools, inputs, outputs, and times
Shows what an AI agent did and how long each step took, so a developer or a curious user can see why an answer came out as it did. For the plan before a run, use the agent plan.
Basic
5 steps · 7.3s · 1 error
- Plan the answer model done1.4sInput
Which mic is best for a podcast in a small room?
OutputSearch the catalog for dynamic mics, then check stock.
- search_catalog tool done620msInput
{ "query": "dynamic mic", "limit": 5 }Output5 products
- check_stock tool error3sInput
{ "sku": "MIC-USB-01" }OutputTimeout after 3 s
- check_stock tool done410msInput
{ "sku": "MIC-USB-01" }Output12 in stock
- Write the answer model running1.9s
stepsis the tree of steps. Each step has anid, aname, akind, astatus, astartand adurationin milliseconds from the start of the run, and optionalinput,output, andchildren.- The status is
ok,error, orrunning. It shows as a mark and a word. An error also gets a striped bar. - The bar of each step sits on a shared time line, so long steps and gaps are easy to see. Children are indented under their parent.
- A step opens to show its input and output. It uses the native details element, so the keyboard works without extra code.
- The top line counts the steps, the total time, and the errors.
localeformats the times. Change the words withlabelsor a label pack. The API table lists the keys.
Usage
ts
import { BlessRunTrace } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
steps* | BlessTraceStep[] | — | |
locale | string | "en" | |
labels | Partial<Record<BlessTraceStatus, string> & { summary: (steps: number, time: string, errors: number) => string; input: string; output: string; }> | — |