- Workflow
- support.triage
Set the workflow ID, accepted input, and execution entry.
Put Agent tasks, tool calls, human approval, and child workflows on one graph. Every decision and result enters event history. After a process exits, a worker changes, or a run waits for days, execution continues from the last committed position.
Set the workflow ID, accepted input, and execution entry.
Run one registered task, retry when needed, and save its result.
Evaluate a condition and choose the true or false path.
Flow 1.1 exposes 18 public nodes. Each manifest declares fields, ports, defaults, and runtime binding. React and Vue render from that contract, while the CLI and Skill create and validate documents against it. Only a valid graph reaches the durable engine.
Workflow code reads committed history and returns the next durable decision. Step results, timers, hooks, signals, and child-run state all enter one event stream.
External calls stay inside host tasks. Flow may deliver the same task again, so the host can derive idempotency from the run, node, and attempt identity. If a process exits after the call succeeds, redelivery can recover the original result.
Read the execution modelRead committed facts in event order.
history.read(run_id)Model calls, MCP tools, business APIs, and human approval enter through host tasks or wait nodes. The host still owns credentials and permissions. Flow stores each decision and confirmed result.
The host runs inference or a multi-step Agent and commits the result under stable step identity.
StepCompletedA task invokes a local tool, MCP, or business service and retries with the original input.
StepAttemptedA hook suspends the run behind a one-time receipt boundary without holding a worker.
HookReceivedThe parent records the request and coordinates independent history, outcome, and cancellation.
ChildWorkflowResolvedWeb editors use the node card and configuration panel directly. Scripts and coding agents query the same manifests through the CLI or Skill. Once nodes are created, one validation and compilation path checks the graph and produces its digest.
One hook holds node configuration and presentation state shared by the card and panel.
Read the React guideimport { A3SFlowDagNodePreview,
A3SFlowDagNodeConfigurationPanel,
useA3SFlowNode } from '@a3s-lab/flow-ui/react';
const { node, setNode } = useA3SFlowNode({
id: 'agent-task', type: 'flow.step'
});The authoring graph is checked for fields, ports, scopes, and cycles before compilation into a stable plan. Runtime commands append event history, while schedulers and workers advance only work whose conditions are ready.
The quick start runs a task, appends events, and reads the terminal snapshot. Once the result matches expectations, add durable storage, node components, and production workers.