AgentFlow replaces Workflow and Pipeline as the recommended class name. The old names still work as silent aliases.Quick Start
1
Simple Usage
2
With Configuration
How It Works
Configuration Options
Step Configuration
Common Patterns
- Agent Steps
- Custom Steps
- With Context
- Conditional Steps
Workflow Helpers
Parallel Execution
Conditional Routing
Loop Pattern
Best Practices
Use context for data sharing
Use context for data sharing
Store intermediate results in context rather than return values.
Handle errors gracefully
Handle errors gracefully
Use onError and maxRetries for resilient flows.
Use conditions for branching
Use conditions for branching
Skip steps conditionally based on context state.
Backward Compatibility
All old names work as silent aliases with no deprecation warnings.
Related
AgentTeam
Multi-agent orchestration
AgentOS
Deploy as web service
Workflow Hooks
Lifecycle hooks for workflows

