---
title: "Launch Subagents"
method: POST
path: "/v1/teams/{team_id}/agents/launch"
tags: ["agent runtime"]
---

# Launch Subagents

`POST /v1/teams/{team_id}/agents/launch`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/teams/{team_id}/agents/launch`
- Auth: none declared

Launch several subagents atomically and return their ordered handles.

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable
- `x-darwin-run-id` string, nullable

## Request body

- LaunchSubagentsRequest: Several independent child work orders admitted as one atomic launch.
  - `subagents` SpawnAgentRequest[], required
    - `task` string, required
    - `idempotency_key` string, required
    - `lane` string, nullable
    - `kind` 'work' | 'page'
    - `engine` 'pi' | 'claude_managed', nullable
    - `budget_usd` number, nullable
    - `inherit_context` boolean
    - `brief_deadline_seconds` integer, nullable
    - `parent_harness_context` ParentHarnessContext: The exact Pi workbench inherited by an instant nested page job.
      - `system_prompt` string, required
      - `system_prompt_source` string, nullable
      - `prompt` string, required
      - `preloaded_context` string[]
    - `page` string, nullable
  - `peer_messaging` boolean

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

> 68 revisions in range; 1 not diffed.

- **2026-10-06** `b04426754d2a`: 2 breaking, 2 info
  - removed the enum value `claude_managed` of the request property `subagents/items/engine`
  - removed the enum value `pi` of the request property `subagents/items/engine`
  - the `engine` request property default value `pi` was removed
  - request property `subagents/items/engine` list-of-types was widened by adding types `null` to media type `application/json`
- **2026-10-06** `8764aa9a19c7`: 2 info
  - added the new optional request property `subagents/items/budget_usd`
  - added the new optional request property `subagents/items/engine`
- **2026-09-28** `432537ba92f4`: 1 info
  - added the new optional request property `subagents/items/page`
- **2026-09-26** `faea4a09e09c`: 1 info
  - added the new optional request property `subagents/items/parent_harness_context/anyOf[subschema #1: ParentHarnessContext]/system_prompt_source`
- **2026-09-22** `714d3a9ea77a`: 1 info
  - added the new optional request property `peer_messaging`

[Operation history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/teams/:team_id/agents/launch/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
