Shows the steps of an agent run and the status of each step.
Searched the component pages, Done
Found 3 matches
Reading the disclosure guide, In progress
Write the answer, Not started
The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.
AgentStepsOwns the open state. Its label is the summary that stays visible when the steps are closed.
AgentStepRepeats
Use autoCollapse to close the steps when the run ends and open them when a new run starts. Also install Button.
Read the invoice, In progress
Match the purchase order, Not started
Check totals, Not started
Children of AgentStep show below its title, for example sources or a ToolCall. Also install Badge and Tool call.
Searched the web, Done
react-spectrum.adobe.comdeveloper.mozilla.orgRan a query, Done
Read the invoice, Done
Match the purchase order, Stopped
Stopped by you
Read the invoice, Done
Match the purchase order, Failed
PO-4471 was not found
AgentSteps
- status: "running" | "complete" | "stopped" | "error"Required
- The status of the run.
- label: stringRequired
- The summary of the run. Screen readers announce changes with the status.
- detail: string
- Text after the label, for example the step count.
- autoCollapse: boolean = false
- Closes the steps when the run ends and opens them when it starts again.
AgentStep
- title: stringRequired
- What the agent did or does in this step.
- status: "pending" | "running" | "complete" | "stopped" | "error" = "complete"
- The status of the step.
- description: ReactNode
- Text below the title.