Static compileCompile builder state into a CompiledExecutionGraph IR object.
This method is pure — it reads from input and returns a new object without
mutating any of its arguments.
The full set of builder state required for compilation.
A CompiledExecutionGraph ready for validation and execution.
Stateless compiler that transforms AgentGraph builder state into a
CompiledExecutionGraph.Compilation steps:
nodesMap into a plain array (preserving insertion order).edgesarray without transformation.lowerZodToJsonSchema.idbased onnameand the current timestamp.reducers,memoryConsistency, andcheckpointPolicyunchanged.Example