Frozen mission configuration snapshot.
Checkpoint persistence backend.
Execute the mission while yielding GraphEvent values at each step.
Useful for streaming progress updates to a UI or logging pipeline.
Input payload conforming to the mission's inputSchema.
GraphEvent objects emitted by the runtime at each node lifecycle point.
Resume a previously interrupted run from its latest checkpoint.
Either the original run id or an exact checkpoint id.
Optional _patch: Partial<GraphState<unknown, unknown, unknown>>Optional partial GraphState to merge before resuming (reserved).
The final GraphState.artifacts value once execution completes.
Return a human-readable execution plan without actually running the mission.
Useful for debugging, testing, and displaying "what will happen" summaries in UIs.
Input payload (currently unused; reserved for future goal interpolation).
An object containing:
steps: flat array of { id, type, config } descriptors for each node.ir: the full CompiledExecutionGraph for deeper inspection.Export the compiled plan as a static CompiledExecutionGraph.
Allows callers to "graduate" a dynamically-planned mission to a fixed workflow or graph for performance-sensitive deployments where replanning is not desired.
The compiled IR, suitable for passing directly to GraphRuntime.
Alias of toWorkflow() — returns the compiled CompiledExecutionGraph IR.
The compiled IR.
Execution wrapper for a compiled mission.
Lazily re-compiles the IR on each call so that changes to the underlying config are reflected without needing to rebuild the mission object. In production callers typically compile once and reuse the
CompiledMissionfor many invocations.