This directory contains examples demonstrating various usage patterns of the BatchedGridWorkflow for parallel multi-agent task execution.
Basic usage examples with minimal configuration:
- Simple two-agent setup
- Named workflows with custom descriptions
- Multi-loop execution
- Three-agent workflows
- Error handling demonstration
Comprehensive examples covering different use cases:
- Content creation workflows
- Research and analysis tasks
- Problem-solving scenarios
- Educational content generation
- Multi-domain assessments
Advanced configuration examples:
- Custom conversation settings
- Iterative refinement workflows
- Specialized domain expertise
- Parallel analysis scenarios
- Creative collaboration
- Quality assurance workflows
Each example can be run independently:
python batched_grid_simple_example.py
python batched_grid_workflow_example.py
python batched_grid_advanced_example.py- Parallel Execution: Multiple agents working on different tasks simultaneously
- Conversation Management: Maintaining state across execution loops
- Error Handling: Built-in error logging and exception handling
- Flexible Configuration: Custom names, descriptions, and loop counts
- Agent Specialization: Different agents with specific roles and expertise
- Iterative Refinement: Multiple loops for content improvement
For complete documentation, see: