Skip to Content
UI Kit
Components (172)

Agent Workbench

Agent Workbench — one agent at work: who asked, what it reads, which tools it calls, in a single self-contained file.

Open preview
Loading Agent Workbench…

Usage

import { AgentWorkbench } from "ui-kit/components/agent-workbench";

Props

PropTypeDefaultDescription
user*{ name: string; message: string; photo?: string; avatar?: ReactNode; }—Who asked – photo is a URL shown round beside the name (avatar takes your own node instead); without one, or if it doesn't load, the person's full mark
agent*{ id: string; name: string; subtitle?: string; details?: WorkbenchDetail[]; }—details go in its info card – { label: "Model", value: "…" }
tools*WorkbenchTool[]——
filesWorkbenchFile[][]—
steps*WorkbenchStep[]—What the agent did and does, oldest first – the last three show in its work area
readingstring—The file it reads right now
donebooleanfalseFinished – the agent says Done and nothing runs
titlestring"Agent workbench"—
classNamestring——

On this page