# Run waterfall — Detent

> An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it.

Canonical: https://detentui.com/components/trace
Last updated: 2026-11-10

## About

An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it.

## Details

- The headline says what the run came to: “9.18 seconds, half of it waiting on you.” One bar splits the time into waiting on a person, the model thinking, tools and retries, printed in grain ink, with the cost and tokens beside the run’s name.
- Story tells each step as a plain sentence for the people the agent works for. Steps shows the step names, tokens and cost for the people who built it. The same rows, the same tracks.
- Every step has a small track on a shared time scale, so the list is also a waterfall; a failed try and its retry share one track, and a wait on a person stays on it as amber hatching.
- It plays live: bars grow, the split fills in and a line marks now on every track. When the run ends, the tracks settle so the run fills them.
- A step waiting on a person lifts out of the list, lit, with Approve and Deny in it.
- With the AI SDK, each tool’s sentence comes from the same lines the chat uses. Rows keep one height and the list scrolls in a fixed frame, so nothing around it moves.

## Install

```bash
npx shadcn add https://detentui.com/r/trace
```

## Related
- [All components](https://detentui.com/components)
- [Pro](https://detentui.com/pro)
