flow() API
Flow builder, workflow graph, execution plan, and mermaid APIs.
Most Used
axllm.NewFlow
Create an AxFlow program graph or compile the portable Mermaid shorthand.
| Field | Value |
|---|---|
| Kind | function |
| Ax concept | flow |
| API section | Flow |
| Form | axllm.NewFlow(optionsOrMermaid, bindings...) |
| Returns | *AxFlow |
Important Options
nodesexecute mappersconditionscachereturnsMermaid roundtrip
Examples
wf := axllm.NewFlow(nil)axllm.AxFlow
Workflow graph with Core-owned planning, cache keys, state merge, child aggregation, optimization, and returns projection.
| Field | Value |
|---|---|
| Kind | type |
| Ax concept | AxFlow |
| API section | Flow |
| Form | axllm.NewFlow(optionsOrMermaid, bindings...) |
| Returns | flow program |
Important Options
stepsstateparallel groupsreturns
Full Reference
Open the full Go reference. This page highlights the flow symbols most relevant to everyday use.