ProUnlock everything for $49.99 a year, or $79.99 once. See plans ›

Nexus UI

Agent Run, animated React component

A live view of an AI agent working through a task, where each step shows what it is doing and folds into a ticked line when it moves on. A clock runs in the corner, Stop is always there, and the run ends on a short report with the change to review.

  • Pro
  • AI Components
  • Spring

Ticks quietly after every other step, chimes softly when the run finishes and switches off with a click when you press Stop; autoplay makes the tick and finish sounds once the visitor has used the page. Sound is off on this site until you switch it on.

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Task
Fix the failing checkout test
0.0s
  1. checkout.ts
Running: Reading the checkout code

Props

PropTypeDefaultWhat it does
task"Fix the failing checkout test"The task the agent was given, shown at the top.
stepsAGENT_RUN_STEPSThe steps of the run: { label, ms, body(t) }. body gets the ms elapsed inside the step so it can reveal lines or files as it goes.
reportAGENT_RUN_REPORTThe report card shown at the end: { title, body, files, added, removed }.
onReviewundefinedCalled when Review change is pressed.
width520Width of the card in px. It never grows past its container.
autoplayfalseRuns the whole task again 4.5 seconds after it finishes until someone touches the card. Only runs while the card is on screen and never under reduced motion.
className""Extra classes for the card.
enableSoundtruePlays interface sounds on interaction. They follow the sound switch (setSoundsEnabled, on by default) and stay silent on hover. Autoplay makes the same sounds once the visitor has used the page. Pass false to silence this component.

Agent Run questions

Does it make sound, and how do I turn it off?

Ticks quietly after every other step, chimes softly when the run finishes and switches off with a click when you press Stop; autoplay makes the tick and finish sounds once the visitor has used the page. Sounds are synthesised with the Web Audio API, so there are no audio files, and they only play after a click or key press. Pass `enableSound={false}` to silence this component, or call `setSoundsEnabled(false)` from `@/lib/ui-sounds` to switch every sound off at once. The CLI installs `@/lib/ui-sounds` with the component.