Flows
Multi-step orchestration over your cognition graph.
Flows are multi-step pipelines that combine the engine's capabilities —
querying the graph, calling an LLM, invoking tools, and running
Root Functions — into a repeatable definition.
The Flows tab lists your flow definitions and their runs, read from the
project's .thinkingroot/flows/ and .thinkingroot/flows-runs/ directories.
Node types
A flow is a graph of typed nodes. The engine ships several executor types, including a Root Function node that runs a deployed JavaScript function inside the V8 isolate as one step of a larger pipeline — so you can splice custom logic (call an API, transform data) into an otherwise declarative flow.
Definitions and runs
- Definitions describe the steps and how data maps between them.
- Runs are individual executions, with status and output captured so you can inspect what happened.
Root Functions in flows
The Root Function executor is gated behind the engine's root-functions build
feature (on in the cloud image). A flow that references a Root Function node on
a build without the feature returns a clear "feature not enabled" error rather
than failing silently — see Root Functions.