Agents
Multi-agent orchestration with sequential, hierarchical, and workflow patterns (parallel fan-out viaasync_execution=True tasks).
Quick Start
Parameters Table
Core Parameters
Process Types
Validprocess values are "sequential", "workflow", and "hierarchical". Any other value (including "parallel") raises ValueError. For parallel fan-out, set async_execution=True on individual Task objects within a "workflow" or "sequential" process.
Consolidated Feature Params
Precedence Ladder
Resolution Order: Instance > Config > Array > Dict > String > Bool > DefaultSame precedence as Agent. Consolidated params propagate to underlying agents.
Usage Forms Table
Presets & Options
Output Presets (Multi-Agent)
Multi-Agent Output
Comprehensive guide to multi-agent output configuration and streaming
Execution Presets (Multi-Agent)
Methods
Common Recipes
Sequential (Default)
Tasks execute one after another in order:Parallel
Independent tasks execute concurrently. Setasync_execution=True on each task inside a workflow (or sequential) process — process="parallel" is not a valid value and raises ValueError:
process accepts only "sequential", "workflow", or "hierarchical". Passing process="parallel" raises a ValueError; parallel fan-out is achieved via async_execution=True on individual Task objects.Hierarchical
Manager agent delegates to worker agents:Workflow
Tasks follow explicit dependencies viacontext:
Async Support
Full async/await support for non-blocking execution:Shared State
Agents can share state during execution:Advanced Examples
With Memory
With Custom Completion Checker
With Verbose Logging
See Also
- Agent Module - Individual agents
- Task Module - Task definition
- Process Module - Execution flows
- AutoAgents - Auto-generated agents

