Key Concepts
- Workflow Container: A wrapper that includes the workflow definition along with metadata like the URL and initial prompt.
- Workflow: The core structure that defines the entire process, including server configuration, available tools, event handlers, and the state machine.
- State Machine: The heart of the workflow, defining various states and transitions between them.
- Transitions: Rules for moving between states, which can be triggered by events or conditions.
- Guards: Conditional checks that control state transitions.
- Tools: External functions or services that can be invoked within the workflow.
- Events: Triggers that can cause state transitions or other actions within the workflow.