Builder

0sum · component 5 of 6

Compose an orchestration or a workflow by hand. Drag a piece from the palette onto the canvas, drag its bottom port onto another piece to connect them, then write the condition that routes each branch in plain language.

Builder
{{ docName }}
{{ docMeta }}
{{ validLabel }}
{{ p.group }}
{{ it.label }}
{{ it.kind }}
Drag a piece onto the canvas. Everything here already exists in the Registry — the builder wires them, it does not create them.
{{ el.text }}
{{ n.kind }} {{ n.badge }}
{{ n.label }}
{{ ghostKind }}
{{ ghostLabel }}
Nothing on the canvas
Drag an orchestrator or an agent in from the left. The first piece you drop becomes the entry point.
always conditional needs a condition
{{ inspTitle }}
Select a piece or a connection on the canvas.
How routing works
A piece with one outgoing connection always continues. A piece with two or more branches, and each branch needs a condition written in plain language. The first condition that matches wins; the rest are skipped.
{{ nodeLabel }}
{{ nodeKind }}
Step name
Outgoing branches · {{ outCount }}
{{ o.state }} → {{ o.toLabel }}
{{ o.text }}
No branches yet. Drag the port at the bottom of this piece onto another one.
{{ edgeFrom }} {{ edgeTo }}
Connection
Route when · {{ condState }}
{{ condHint }}
Or pick a common one
If it does not match
{{ elseLabel }}▾
{{ counts }} {{ toast }}
Rules
One branch is unconditional; two or more each need a condition. A second branch with no condition is drawn in danger and blocks Save — ambiguous routing is a defect, not a warning.
Conditions are written in plain language. The agent reads the same string the operator wrote, so there is no expression syntax to learn and nothing to translate.
Edge colour carries state. Neutral is always, amber is conditional, red is missing a condition. The label sits on the line, not in a side panel.
The builder wires; it does not create. Everything in the palette already exists in the Registry, so a graph can never reference something unauthored.
Don't
Don't hide connections behind a mode. Dragging a port is the only way to connect; there is no separate “connect tool” to switch into and forget about.
Don't let a graph save while invalid. The toolbar names the problem before you press the button.
Don't put the condition only in the inspector. A graph has to be readable without clicking anything.
Don't auto-connect on drop. Guessing the wire is worse than making the operator draw it.