Skip to Content
UI Kit
Screens (56)

Agent Handoffs

Agent Run / Handoffs — one agent run as a process diagram, in a single file.

Open preview
Loading Agent Handoffs…

Usage

import { AgentHandoffsScreen } from "ui-kit/screens/agent-handoffs";

Props

PropTypeDefaultDescription
workspacestring"Northwind"The workspace in the sidebar
titlestring"Ship the billing fix"The run's name and number
runIdstring"1284"—
lanesSwimLane[]LANES—
tasksArhTask[]TASKS—
stepsArhStep[]STEPSThe run step by step – left out, the sample plays
stepnumber—Pin the run to one step instead of playing it
onApprove(task: SwimTask) => void——
onReject(task: SwimTask) => void——
onStop() => void——
loadingbooleanfalseGray head, diagram and rows while the run loads
emptybooleanfalseThe run hasn't started yet