FoundationHazelJS
Workflow
An explicit sequence or graph of steps defined ahead of time, optionally including LLM nodes.
- Authors
- editorial-team
- Published
- Last reviewed
Direct answer
An explicit sequence or graph of steps defined ahead of time, optionally including LLM nodes.
Plain language
A workflow is a recipe you wrote in advance: do A, then B, then maybe C if a condition holds.
Technical explanation
Deterministic or branching orchestration with typed payloads, retries, and terminal states; control flow lives in the graph/engine (e.g. @hazeljs/flow / saga), not open model choice inside AgentRuntime.
Example
Ingest email → extract fields → validate → create ticket → notify channel—implemented as a HazelJS flow rather than an open tool loop.