Skip to Content
UI Kit
Screens (56)

Agent Step Inspector

Agent / Step Inspector — one step of a workflow run, opened up, in a single file.

Open preview
Loading Agent Step Inspector…

Usage

import { AgentStepInspectorScreen } from "ui-kit/screens/agent-step-inspector";

Props

PropTypeDefaultDescription
workspacestring"Northwind"The workspace in the sidebar
defaultStepstringAGENT_STEPThe step open when the screen starts
onRerun(step: string, item: string | null, note?: string) => void—Called when a step or one of its items runs again – note is what the agent should do differently
onAsk(step: string, item: string, question: string) => void—Called when a question is asked about an item
loadingbooleanfalseGray lines in the list and the detail
emptybooleanfalseThe run hasn't happened yet – Run step plays it