Skip to main content
Let an autonomous (ReAct) agent run toward a goal for a number of steps, optionally applying an Agent Loadout. The response is streamed as SSE.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer.

Path parameters

string
required
Workspace id.

Request body

string
required
The goal the agent should achieve.
integer
Maximum number of execution steps.
string
Agent loadout id to apply; default capabilities when omitted.

Response (stream)

Content-Type: text/event-stream. Each data: line is incremental text. If the goal references a loadout, the agent automatically assembles its bound KBs, memory cubes, skills, and other assets.

Example