Skip to main content
A flow is a directory of YAML contracts plus agent prompts. The engine reads the package and executes it, no product-specific code.

Build your first flow

A complete support-ticket flow, file by file.
The files are not independent; they describe one running system from different angles. Events are the messages, the nodes and agents say who reacts to them, and the entity and schema say what data and states result:

Directory layout

What each file does

Terms used below: an entity is the record moving through the flow; a pin is an event or field the flow exposes at its edge; stages are the steps of the entity’s lifecycle.

Minimum package

Only package.yaml and schema.yaml are strictly required. The rest follow the work: no agents means no agents.yaml or prompts/, no handlers means no nodes.yaml, no events means no events.yaml. A flow with only system nodes and no agents is valid.