Screens (56)
AI Chat Agents
AI Chat / Agent Run — a narrow chat on the left and the agents working on your prompt on the right, in a single file.
Loading AI Chat Agents…
Usage
import { AgentRunChatScreen } from "ui-kit/screens/ai-chat-agents";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Northwind" | The workspace in the sidebar |
prompt | string | SAMPLE_PROMPT | The prompt the screen opens with – the sample run plays it (leave empty to start with an idle team) |
onPrompt | (prompt: string) => void | — | Called when a prompt is sent – start your run here |
onResolve | (agent: string, block: string, action: string) => void | — | Called when a block is answered, in the chat or on the card |
chats | ShellChat[] | — | The chats in the sidebar |
loading | boolean | false | Gray lines and cards while it loads |
empty | boolean | false | No run yet – the team waits, idle |