AgentTrail
A vertical step list for a running agent task: done steps with durations, the current step with a live timer, then pending steps.
A run timeline of checkpoints: rewind to one and start a new attempt; the replaced attempt stays faded under it.
A run timeline where every finished step is a checkpoint you can rewind to. Not AgentTrail.
The run reads, pulls totals, then fails to draft the summary. Hover Pull invoice totals, choose Rewind here and confirm: a second attempt starts from there and the first stays faded under it. Use the pager to switch attempts.
No checkpoints yet
Keep every attempt in start order. Each attempt lists only its own steps; branchFrom names the step it started from. In onRewind, mark the steps that were cut short stopped and add the new attempt. A new attempt comes to the front by itself; the pager reaches the older ones.
import { AgentCheckpoints } from "agentic-ds-kit";From contracts/agentcheckpoints.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| title | string | Yes | — | The task, e.g. "Weekly invoice digest". The h3 that names the section. |
| attempts | array | Yes | — | { id, branchFrom?, steps: { id, label, status: "done" | "running" | "failed" | "stopped" | "pending", duration?, timer?, sublabel? }[] }[] in start order. Each attempt lists only its own steps; branchFrom is the id of the step in an earlier attempt it started from, and the rail shows that attempt's steps up to it first. duration for finished steps, timer for the running one, sublabel for the tool call in mono. Empty shows "No checkpoints yet". |
| icon | KitIcon | No | — | Lucide icon before the title. |
| tag | string | No | — | Small neutral mono tag after the title. |
| attempt | number | No | — | Controlled 0-based index of the attempt in front. |
| defaultAttempt | number | No | — | Uncontrolled first attempt in front. Default: the newest. A new attempt always comes to the front. |
| onAttemptChange | function | No | — | (index) => void when the pager switches attempts. |
| onRewind | function | No | — | (stepId) => void after the person confirms. Add an attempt with branchFrom = stepId and mark the cut-short steps stopped. Left out, no Rewind shows. Rewind shows on done and failed steps of the attempt in front: on hover or focus in place of the time, always on touch screens. It opens an inline confirm under the row (Rewind, the one solid primary, and Cancel). |
A vertical step list for a running agent task: done steps with durations, the current step with a live timer, then pending steps.
What an agent intends to do, before or during a run.
What people and agents did across the workspace, newest first and grouped by day.
One agent at work: a live clock and running cost lead; finished steps sit in a time strip you can open.