Skip to main content

Module agent_create_types

Module agent_create_types 

Source
Expand description

The request types of Agents create and of the runtime choice Agents spawn shares with it. Re-exported by api_types, where the rest of the agent requests are.

Structs§

ContainerAsk
Where a new agent runs, for Agents spawn and Agents create: absent, a worker runs as its leader does and a created agent as its template says.
CreateAgentRequest
POST /api/v1/agent/create: a named agent made from a template, not a worker (Agents create).
ImportAgentRequest
POST /api/v1/agent/import: an agent archive file put in My Agents (Agents import).
RouteAsk
Which harness and model route a new agent runs on, for Agents spawn and Agents create: absent, a worker has its leader’s harness and route, and a created agent its template’s. The model is the request’s own model.
SpawnAgentRequest
SpawnManyRequest
POST /api/v1/agent/spawn_many: several workers at once, with one approval for all of them (SPEC_COUNTDOWN_BUTTONS_AND_BATCH_AGENT_ACTIONS_2026_10_28.md §5). All start or none do.
SpawnWorkerSpec
One worker of a POST /api/v1/agent/spawn_many: what SpawnAgentRequest asks of one.