Skip to content

Documentation / @agentick/shared / SpawnStartEvent

Type Alias: SpawnStartEvent ​

SpawnStartEvent = object & StreamEventBase

Defined in: streaming.ts:745

Spawn lifecycle events

Spawn creates a child execution that runs independently. Unlike Fork, Spawn doesn't race - it's for delegation.

Type Declaration ​

childExecutionId ​

childExecutionId: string

Child execution ID

componentName? ​

optional componentName: string

Name of the spawned component/agent

input? ​

optional input: unknown

Input passed to the spawned execution

label? ​

optional label: string

Optional label for this spawn

originCallId? ​

optional originCallId: string

Tool call ID that triggered this spawn (when spawned from a tool handler)

parentExecutionId ​

parentExecutionId: string

Parent execution that initiated the spawn

spawnId ​

spawnId: string

Unique identifier for this spawn operation

type ​

type: "spawn_start"

Released under the ISC License.