A sandbox for testing agent chat by selecting an agent and interacting through a streaming chat interface.
/utilities/testing/agent
Optional query parameter ?agent=<agentId> pre-selects the agent on load (used when navigating from an agent's detail page).
"Agent Chat" for title and breadcrumb
[Agent Chat] (page title / breadcrumb)
┌─────────────────────────────────────────────────────────────┐
│ Agent │
│ [Selected agent button] [Select agent] │
└─────────────────────────────────────────────────────────────┘
(no selection) (agent selected)
┌──────────────┐ ┌──────────────────────────────────────┐
│ Select an │ → │ Chat panel │
│ agent above │ │ │
└──────────────┘ └──────────────────────────────────────┘
The selected agent is shown in the top selector button (icon + name). If no agent is selected, the page shows a placeholder prompt to select one.
Provides a chat thread for sending messages to the selected agent.
Behavior:
POST /api/workspaces/[workspaceId]/agents/[id]/testRuns a streaming chat completion request for the selected agent and returns assistant output as an event stream. Non-success responses return an error payload.