Skip to content
caliper ui pro docs

Background agents

Agents working in parallel, one row each: what it is doing now, on which branch or target, how far along and for how long. A run that needs input asks in its row and takes the answer there; a run ready for review says what changed.

Pro

Background agents

1 need you · 1 running · 1 ready for review · 1 failed

  • Fix flaky checkout test

    42% · for 4 min 12 s

    RunningAgent 1fix/checkout-flake

    Running the checkout suite 20 times to confirm the fix

  • Migrate settings page to new form fields

    for 11 min

    Needs inputAgent 2chore/settings-fields

    Paused before changing the email field

    The old email field allowed spaces at the end. Should the new one trim them, or keep them as typed?

  • Write release notes for 4.2

    took 7 min

    Ready for reviewAgent 3docs/release-4.2+142 −6 · 2 files

    Drafted notes from 31 merged changes

  • Upgrade the image pipeline

    took 8 min

    FailedAgent 4deps/image-pipeline

    Build failed: the new resize step needs a native library the build image does not have.

When to use

  • A coding or research tool that runs several agents while you keep working.
  • Any queue of long jobs where some stop to ask a person.

When not to use

  • One run in full detail; use `agent-run`.
  • A map of agents handing work to each other; use `agent-swarm`.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/background-agents

Adds its 7 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

BackgroundAgents

10 props
PropTypeDefaultDescription
runs *readonly BackgroundRun[]—
onOpen((id: string) => void)—
onStop((id: string) => void)—
onReply((id: string, text: string) => void)—
titlestring"Background agents"
loadingbooleanfalse
errorstring—Why the list could not load. Shows Retry when `onReload` is given.
onReload(() => void)—
emptyActionReactNode—Shown when nothing is running, such as a Start agent button.
classNamestring—

runClock

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

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

Accessibility

It exposes status and alert semantics, with aria-hidden, aria-label, aria-expanded and aria-controls 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/background-agents.md

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

More in Assistant screens