Skip to content

Built-in nodes ​

All nodes support id, evaluated input, optional input/output schemas, timeoutMs, and retry policy. The table summarizes the node-specific contract; use the generated TypeScript API for exact types.

AI-oriented nodes (llm-prompt, ai-router, agent-request) reference semantic model roles only. They do not embed provider model IDs; deployment configuration maps each role to a concrete provider/model.

TypePurposeRequired node configuration or input
scriptRun an exported main function from inline or external JS/TS sourcescript.source; permissions are parsed but not enforced in v1
llm-promptInvoke the model selected by a semantic roleoptional model.role, prompt, output format, and toolset names
ai-routerAsk the router model to select a declared routenon-empty routes; optional fixed model.role: router
conditionSelect the first truthy expression routenon-empty conditions; optional defaultRoute
mapBuild or merge a JSON-like template containing $expr entriesmapping.template; mode replace or merge
http-requestMake a policy-controlled HTTP requesthttp.method; evaluated url, query, headers, and body inputs
joinForward combined inputs after active branches meetat least two incoming connections
store-saveSave a value for the current runevaluated key and value
store-readRead current-run stateevaluated key; optional default
memory-file-writeReplace a configured UTF-8 file memorymemory, content; optional scope
memory-file-readRead a configured UTF-8 file memorymemory; optional scope and missingMessage
memory-value-saveSave JSON state through a configured key/value memorymemory, key, value; optional scope
memory-value-readRead JSON state through a configured key/value memorymemory, key; optional scope, default, missingMessage
agent-requestPerform one agent model turn and route to tool, interaction, or finalmaxSteps; optional model.role
tool-callInvoke an allowed tool, optionally after approvalevaluated tool, arguments, optional callId
interaction-inputAsk one or more questions and suspend if unansweredevaluated question fields; checkpoint store for deferral
workflowInvoke a composable child workflowworkflow tool name

Script contract ​

External script modules export main, which receives resolved fields as arguments. File access is bounded during workflow loading, but execution itself is trusted. Declare an output schema when downstream nodes depend on a stable shape.

HTTP safety ​

The host supplies allowed schemes, hosts, and ports plus a secret resolver. Authentication refers to secret names rather than embedding values in YAML. Redirect targets are rechecked against policy. Non-idempotent retries require explicit opt-in.

Branching ​

condition, ai-router, and agent-request emit routes consumed by matching connections. Unknown AI routes fail rather than silently choosing a branch. Provide a condition default when “no match” is valid behavior.

Documentation for the current repository state.