Stable, globally unique graph identifier (slug or UUIDv4).
Human-readable display name.
All vertices, including any START/END bridge nodes inserted by the compiler.
All directed edges, including static entry/exit edges from/to START/END.
JSON-Schema-compatible schema declarations for the three GraphState generics.
Used by the runtime for validation and by tooling for type generation.
Field-level reducer configuration applied after each node completes.
Graph-wide default checkpoint persistence policy.
Per-node GraphNode.checkpoint settings override this default.
every_node — persist after every node (safe, high storage cost).explicit — persist only for nodes that declare checkpoint !== 'none'.none — never persist (lowest overhead; no recovery on crash).Graph-wide memory consistency mode; may be overridden per-node via MemoryPolicy.consistency.
The fully compiled, execution-ready representation of an agent graph.
All three authoring APIs (AgentGraph builder, workflow DSL, mission planner) produce a
CompiledExecutionGraphas their final compilation artefact. The runtime never interprets authoring-API-specific constructs — it operates exclusively on this type.