Design Philosophy
1. Flows are Graphs, Not Programs
nodes:
- start:
next: welcome
- welcome:
type: say
message: Welcome!
next: main_agent 2. Nodes are Ordered Arrays
nodes:
- node_name:
type: start | end | say | agent | menu | api | transfer | tools | branch | set
# ... type-specific properties
next: target_node # simple routing
# OR
exits: # named exits (API, Transfer)
exit_name:
next: target_node 3. Variable Syntax
Benefits:
4. Dual Naming: ID + Label
Why this matters:
ID Conventions:
Label is optional:
Last updated
Was this helpful?