Skip to content
caliper ui pro docs

Agent run screen

An agent run you can supervise: steps with evidence and time, approval gates that state the consequence, a live log, pause and stop.

Pro
Agents

Draft and send the October release notes

Started by Maya Chen 4 min ago · 3 of 5 steps done

Steps

  1. Read 38 merged pull requestsDone. github · forma/app · 1–9 Oct
    12s
  2. Grouped into 6 user-facing changesDone. Dropped 32 internal changes
    20s
  3. Wrote the draft in DocsDone. “October release notes” · 412 words
    48s
  4. Send to 1,204 subscribersWaiting for you. Waiting for your approval
    Send “What's new in October” to 1,204 people on the Product updates list?From updates@forma.example · cannot be unsent · a preview goes to you firstOpen draft
  5. Post a summary in #announcementsNot started.

Live log

09:38:02 github.list_prs 38 results
09:38:14 classify 6 user-facing
09:38:34 docs.create “October release notes”
09:39:22 email.prepare list=product-updates
09:39:23 gate send needs approval
Cost so far
$0.18
Tokens
41,200
Can use
Docs, Email, Slack
State

When to use

  • Agents that act in other apps on someone's behalf.
  • Some steps cannot be undone.

When not to use

  • Chat answers with no actions; use the assistant transcript.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/agent-run-screen

Adds its 8 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

AgentRunScreen

12 props
PropTypeDefaultDescription
title *string—
descriptionstring—
steps *readonly AgentRunStep[]—
log *readonly { time: string; tool: string; text: string; }[]—
metersreadonly { label: string; value: string; }[]—e.g. [{ label: "Cost so far", value: "$0.18" }].
pausedbooleanfalse
onPause((paused: boolean) => void)—
onStop(() => void)—
embeddedbooleanfalseInside a split pane next to a list: the title is an h3, there is no page padding and steps and log stack in one column.
autoFocusGateboolean!embeddedMove focus to an approval gate when one opens. On by default; off when embedded, so choosing a run in a list keeps focus on the list.
statusReactNode—Shown before the title in the heading row, e.g. a status badge.
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes group, alert and log semantics, with aria-hidden, aria-label, aria-pressed and aria-live kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/agent-run-screen.md

The index of every part is at /llms.txt.

More in Assistant screens