Skip to content
Eskais UI

Agent tasks

Attempt Timeline

An agent task's attempts on the UI SDK Timeline: kind, status, times, configured and executed route with earlier routes in a popover, context, repairs, checks, commits, blockers, thread links agents can press, usage per attempt and older attempts behind a toggle.

Example

A1 · Implementation
Failed
Started Ended
pizai/glm-5.3thinking: high
Fresh context
  • testsFailed3 failing
Blocked: quotaProvider quota exhaustedRetry at
Open thread
MetricValue
Input tokens42K
Output tokens8K
Cache read25.2K
Cache writeunknown
Reasoning tokens3.2K
Duration14s
Active timeunknown
Cost$0.31 (estimated)
A2 · Implementation
Active
Started
pizai/glm-5.3thinking: highran ascodexopenai-codex/gpt-6.1-terra-preview-2026-11reasoningEffort: high
Forked context from Index docs, first tryRepairs A1Fallback after quota
Open thread
MetricValue
Input tokens18K
Output tokens2.5K
Cache read10.8K
Cache writeunknown
Reasoning tokens1K
Duration6s
Active timeunknown
Cost$0.12 (estimated)

Installation

npx shadcn@latest add @eskais/attempt-timeline

Usage

Import
import { AttemptTimeline, defaultFormatAttemptId } from "@/components/ui/attempt-timeline"import { AttemptEvent } from "@/components/ui/attempt-event"import {  AttemptBlocker,  AttemptChecks,  AttemptCommits,  AttemptRoute,  AttemptThread,  defaultRenderAgent,} from "@/components/ui/attempt-details"import { attemptTimelineLabels, attemptTimelineLabelsEs } from "@/components/ui/attempt-timeline-labels"

API reference

AttemptTimeline

Takes Omit<ComponentProps<typeof Timeline>, "children"> &.

AttemptEvent

PropTypeDefault
attemptrequiredAttemptView–

Also takes AttemptEventOptions.

AttemptThread

PropTypeDefault
threadrequiredThreadRef–
labelrequired(name: string) => string–
textrequiredVisible text of the button.string–
inlineInside a sentence: a text link with the thread's title instead of a button.booleanfalse

Also takes ThreadRendering.

AttemptRoute

Takes AttemptRouteProps.

AttemptChecks

PropTypeDefault
checksrequiredNonNullable<AttemptView["checks"]>–
labelsrequiredAttemptTimelineLabels–

AttemptCommits

PropTypeDefault
commitsrequiredstring[]–
labelsrequiredAttemptTimelineLabels–

AttemptBlocker

Takes AttemptBlockerProps.

Other exports

defaultFormatAttemptIddefaultRenderAgentattemptTimelineLabelsattemptTimelineLabelsEstype AttemptTimelinePropstype AttemptEventOptionstype AttemptRoutePropstype ThreadRenderingtype AttemptTimelineLabelstype CheckResult

Accessibility

  • A labelled UI SDK Timeline; times are <time> elements with the instant in their title.

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.