# Agent OPS Trace Detail

Span waterfall of one LLM request with nested spans, inputs, outputs, tokens and cost.

- id: `agent-ops-trace-detail`
- Page: https://agentic-ui-kit.com/components/agent-ops-trace-detail
- Live preview: https://agentic-ui-kit.com/live/fixture/agent-ops-trace-detail?piece=agent-ops-trace-detail

## Install

```bash
agentic-ui add agent-ops-trace-detail
npx shadcn@4.17.0 add @agentic-ui/agent-ops-trace-detail
```

## Metadata

- **Level:** page
- **Category:** page
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** span-waterfall, flame-view, nested-spans, collapsible-spans, span-input-output-json, model-reasoning-panel, token-and-cost-breakdown, error-highlight, step-timeline, log-lines, add-to-dataset, not-found-state
- **Intents:** explore-detail, audit-trail, orchestrate-agents
- **Suits domains:** ai-agents, devtools, analytics, saas
- **Interaction:** tree, tabs, select, disclosure, dialog
- **Screen role:** detail
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** span waterfall of one LLM request with nested spans, inputs, outputs, tokens and cost, detail page for a failed LLM request showing the failing span and its error
- **Avoid when:** browsing many traces (use the traces table), system metrics dashboards
- **Preserve when adapting:** single-h1-per-page, deterministic-seed-data, link-integrity
- **Replace when adapting:** brand-copy, seed-data, model-price-list
- **Adaptation effort:** low
- **Coupling:** medium
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button, card, badge, input, label, dialog, tabs, select, table
- **npm dependencies:** next, lucide-react, next-themes, recharts, @tanstack/react-table
- **Motion:** profile none, library css, reduced-motion fallback yes
- **Used in:** Agent Ops Console (blueprint)
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** ai-agent-run-trace, ai-reasoning-panel, code-json-viewer, dev-log-tail, lib-primitives
