beUI Pro for mobile presale is open — Lifetime $99

Agent Traces

2 variants

Observability blocks that show every step an AI agent took, with nested spans, live replay, and span details.

Trace waterfall

agent-trace-waterfall.tsx

A nested span waterfall for an agent run. A playhead replays the run as bars fill in real order, rows collapse by subtree, kinds can be dimmed, and each span opens its timing, tokens, inputs, outputs, and errors.

run_7f3a91c2Today, 14:02:18

support-agent · refund request

Completed with 1 retry

Duration
9.18s
Spans
15
Tokens
10,242
Cost
$0.030
Show span kinds
0ms / 9.18s
Span

Install

$ bunx --bun shadcn add @beui-pro/agent-traces-waterfall

Runs list

agent-runs-list.tsx

A list of agent runs with status, latency, recent-latency sparklines, tokens, and cost. Totals roll up, status tabs and search reflow the rows, and any run opens its waterfall trace in a dialog.

Agent runs

Every run from the last 24 hours. Open one to replay its trace.

Runs
8
Success rate
88%
p50 latency
7.53s
p95 latency
16.24s
Spend
$0.26
  • run_7f3a91c2 · Today, 14:02:18

    9.18s$0.030
  • run_2b8e04aa · Today, 13:41:05

    13.4s$0.066
  • run_88a1d4e7 · Today, 13:36:52

    7.53s$0.027
  • run_c90d17f3 · Today, 13:12:47

    7.84s$0.025
  • run_e4c2b1d9 · Today, 13:05:16

    16.2s$0.086
  • run_51fe6b20 · Today, 12:58:30

    5.26s$0.002
  • run_0f7a3c58 · Today, 12:44:09

    7.06s$0.020
  • run_6d2e9b41 · Today, 12:20:33

    7.10s$0.002

Install

$ bunx --bun shadcn add @beui-pro/agent-traces-runs