Group tasks into missions with orchestrated workflows
A mission groups related tasks into an orchestrated workflow. Missions handle dependency resolution, quality gates, checkpoints, and scheduling so you can express multi-step agent work as a single declarative object.
Missions can define their own short-lived team of agents. Set volatile: true on the team definition and the agents are created when the mission starts and automatically cleaned up when it completes.This is useful for one-off or recurring workflows that need purpose-built agents without polluting your project’s permanent agent roster.
Volatile agents inherit the project’s LLM configuration (gateway or provider keys) and sandbox configuration. They do not persist memory between mission runs.
A quality gate blocks downstream tasks until upstream tasks meet a minimum assessment score.
Field
Type
Description
afterTasks
string[]
Tasks that must be assessed before the gate
blocksTasks
string[]
Tasks held until the gate passes
minScore
number
Minimum average score (1-5) required
requireAllPassed
boolean
If true, every task in afterTasks must individually pass
notifyChannels
string[]
Channels to notify on gate failure
If a quality gate fails, blocked tasks will not execute. The mission will pause until the upstream tasks are fixed and reassessed, or the mission is cancelled.