Interface: MissionConfig
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:34
Top-level configuration object consumed by MissionCompiler.compile().
Produced internally by MissionBuilder.compile().
Properties
anchors
anchors:
object[]
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:106
Declarative anchor nodes that must be spliced into the execution order at specific phases.
Anchors allow callers to inject pre-built GraphNode objects (e.g. specialised tools or
human-in-the-loop checkpoints) without modifying the planner output.
constraints
constraints:
object
Placement constraints that control where in the phase sequence the anchor is inserted.
constraints.after?
optionalafter:any
Insert the anchor after this node id (sibling anchor id or plan step id). When the referenced id is not found the anchor is appended to the phase tail.
constraints.before?
optionalbefore:any
Insert the anchor before this node id. Currently reserved for future use; has no effect in this compiler version.
constraints.phase?
optionalphase:"gather"|"process"|"validate"|"deliver"
Execution phase the anchor belongs to. Phases are ordered:
gather → process → validate → deliver.
constraints.required
required:
boolean
When true the compiler will throw if the anchor cannot be placed.
id
id:
string
Node id assigned to the anchor inside the compiled graph.
node
node:
GraphNode
Pre-built GraphNode to splice in. The compiler overwrites node.id with anchor.id.
goalTemplate
goalTemplate:
string
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:43
Goal prompt template. Supports {{variable}} placeholders (e.g. {{topic}}).
The current stub compiler passes it through to generated reasoning nodes.
inputSchema
inputSchema:
any
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:38
Zod schema (or plain JSON-Schema object) describing the mission's input payload.
name
name:
string
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:36
Human-readable mission name; becomes the compiled graph's display name.
plannerConfig
plannerConfig:
object
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:47
Planner configuration controlling step generation and execution budgets.
maxIterationsPerNode?
optionalmaxIterationsPerNode:number
Maximum LLM iterations a single gmi node may consume per invocation.
Forwarded to gmiNode as maxInternalIterations.
maxSteps
maxSteps:
number
Hard cap on the total number of plan steps the planner may emit.
parallelTools?
optionalparallelTools:boolean
When true, gmi nodes are configured to issue multiple tool calls per turn.
Forwarded to gmiNode as parallelTools.
plan?
optionalplan:SimplePlan
Pre-generated plan that bypasses both style template selection and
the goal classifier. When set, the compiler validates the plan shape
(non-empty, unique step ids, known actions, valid phases) and uses
the steps directly to build the graph. Intended for callers that
generate plans externally — e.g. wunderland's opt-in
planner.style: 'llm' mode that asks an LLM to decompose the goal
into steps at YAML compile time.
Validation is intentionally strict: invalid plans throw at compile time rather than producing a partially-correct graph that fails mid-execution.
strategy
strategy:
string
Routing/planning strategy identifier (e.g. 'linear', 'react', 'tree-of-thought').
style?
optionalstyle:"research"|"creative"|"qa"
Optional plan-template selector. Picks which fixed stub template the
compiler emits. Defaults to 'research' (gather → process → deliver →
refine) which matches the prior behaviour. Other values:
'qa'— short Q&A plan (research-quick → answer)'creative'— brainstorm → develop-concept → produce-artifact → polish
The real PlanningEngine (Task 16+) will deprecate this in favour of
goal-driven plan generation; until then style lets users opt into a
less research-shaped graph for non-research goals.
policyConfig?
optionalpolicyConfig:object
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:94
Optional mission-level policy overrides. When set, they are applied to all compiled nodes unless a node already declares its own policy.
discovery?
optionaldiscovery:object
discovery.fallback?
optionalfallback:string
discovery.kind?
optionalkind:string
guardrails?
optionalguardrails:string[]
Guardrail identifiers applied as output guardrails on every node.
memory?
optionalmemory:object
memory.consistency?
optionalconsistency:MemoryConsistencyMode
memory.read?
optionalread:any
memory.write?
optionalwrite:any
personality?
optionalpersonality:object
personality.adaptStyle?
optionaladaptStyle:boolean
personality.mood?
optionalmood:string
personality.traitRouting?
optionaltraitRouting:boolean
returnsSchema
returnsSchema:
any
Defined in: packages/agentos/src/orchestration/compiler/MissionCompiler.ts:45
Zod schema (or plain JSON-Schema object) describing the mission's output artifacts.