Agent run preview
Follow an agent's steps, inspect details and handle cancellation or retry.
pro · Blocks · composite
When to use
- Use it when a page needs follow an agent's steps, inspect details and handle cancellation or retry.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than agent run.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/agent-runImport components/ui/tidal.css, components/ui/agent-run.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/agent-run.css";
import{TidalAgentRun}from"./components/ui/agent-run";
export default()=><div className="tidal-scope"><TidalAgentRun status={"queued"} steps={[{id:"example",label:"Demo",status:"pending"}]} title={"Demo"}/></div>;API and props
TidalAgentRun.status (required)TidalRunStatusRequired status value accepted by this exported component.
TidalAgentRun.steps (required)ReadonlyArray<TidalRunStep>Required steps value accepted by this exported component.
TidalAgentRun.title (required)ReactNodeRequired title value accepted by this exported component.
TidalAgentRun.announceUpdatesboolean | undefinedOptional announce updates value accepted by this exported component.
TidalAgentRun.cancelButtonPropsOmit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "type" | "children"> | undefinedOptional cancel button props value accepted by this exported component.
TidalAgentRun.childrenReactNodeOptional children value accepted by this exported component.
TidalAgentRun.descriptionReactNodeOptional description value accepted by this exported component.
TidalAgentRun.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalAgentRun.elapsedTextReactNodeOptional elapsed text value accepted by this exported component.
TidalAgentRun.emptyMessageReactNodeOptional empty message value accepted by this exported component.
TidalAgentRun.headingLevel"h2" | "h3" | "h4" | "h5" | "h6" | undefinedOptional heading level value accepted by this exported component.
TidalAgentRun.onCancel((event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the cancel interaction is proposed.
TidalAgentRun.onRetry((event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the retry interaction is proposed.
TidalAgentRun.retryButtonPropsOmit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "type" | "children"> | undefinedOptional retry button props value accepted by this exported component.
TidalAgentRun.statusNoteReactNodeOptional status note value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.