Skip to Content
View as .md

squadron mission

Execute a mission.

Usage

squadron mission <mission-name> -c <config-path> [--input key=value...]

Flags

FlagDescription
-c, --configPath to config directory (default: .)
-d, --debugEnable debug mode (captures LLM messages)
-i, --inputMission input as key=value (repeatable)
--thread-idJoin a mission thread (chain of related runs); omitted generates a UUID
--resumeResume a previously failed mission by its ID

Example

squadron mission data_pipeline -c ./my-config squadron mission weather_report -c ./config --input city=Chicago

Mission threads

Each run has its own mission ID and belongs to a mission thread: a chain of related runs that can share a gateway conversation. A new run generates a UUID for its thread unless you supply --thread-id. The command prints that ID.

To start a follow-up in an existing mission thread:

squadron mission follow_up -c ./config --thread-id <existing-thread-id>

Automatic cross-mission routing in squadron engage passes the thread ID to the next mission. Resuming restores the stored thread ID; supplying a different ID with --resume is rejected. Mission IDs continue to identify individual runs, including their questions and run URLs.

Resume

If a mission fails or is interrupted, you can resume it using the mission ID displayed when it started:

squadron mission data_pipeline -c ./config --resume abc123def456

Resume rebuilds the exact state from stored sessions — completed tasks are skipped, and interrupted tasks pick up where they left off. Mission state is persisted to .squadron/store.db.

Debug Mode

squadron mission -d -c ./config data_pipeline

Creates a debug/ folder with:

  • events.log - Task and tool events
  • commander_*.md - Full commander conversations
  • agent_*.md - Full agent conversations

See Also

Last updated on