Skip to main content

Interface: GraphCompilerInput

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:37

Everything the compiler needs to produce a CompiledExecutionGraph.

Properties​

checkpointPolicy​

checkpointPolicy: "none" | "every_node" | "explicit"

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:61

Graph-wide default checkpoint persistence strategy.


edges​

edges: GraphEdge[]

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:43

All directed edges (including START / END connections).


memoryConsistency​

memoryConsistency: MemoryConsistencyMode

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:59

Graph-wide memory isolation mode.


name​

name: string

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:39

Human-readable name embedded in the compiled graph.


nodes​

nodes: Map<string, GraphNode>

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:41

All user-declared nodes keyed by their declared id.


reducers​

reducers: StateReducers

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:57

Field-level merge strategies forwarded unchanged to the IR.


stateSchema​

stateSchema: object

Defined in: packages/agentos/src/orchestration/compiler/GraphCompiler.ts:48

Zod schema instances for the three GraphState generics.

artifacts​

artifacts: any

Schema for GraphState.artifacts — accumulated external outputs.

input​

input: any

Schema for GraphState.input — the frozen user-provided input.

scratch​

scratch: any

Schema for GraphState.scratch — the node-to-node communication bag.