Function: mission()
mission(
name):MissionBuilder
Defined in: packages/agentos/src/orchestration/builders/MissionBuilder.ts:54
Create a new MissionBuilder for the named mission.
Parameters
name
string
Human-readable mission name; used as the compiled graph's display name and as a stable slug prefix for run ids and checkpoint keys.
Returns
A fresh MissionBuilder instance ready to be configured.
Example
const m = mission('summarise-article')
.input(inputSchema)
.goal('Summarise {{url}} in three bullet points')
.returns(outputSchema)
.planner({ strategy: 'linear', maxSteps: 4 })
.compile();