What’s New
Dynamic Agent Count
Analyzes task complexity and creates 1-4 agents as needed.
Workflow Patterns
6 patterns: sequential, parallel, routing, loop, orchestrator-workers, evaluator-optimizer.
Pattern Recommendation
Automatically recommends the best pattern based on task keywords.
Tool Preservation
LLM-suggested tools are now preserved in generated YAML.
Installation
Choose your preferred framework:Basic Usage
Auto-Generate Agents
Workflow Auto-Generation
Generate workflow YAML files with specific patterns:Sequential (Default)
Parallel
Routing
Orchestrator-Workers
Central orchestrator dynamically delegates to specialized workers:Evaluator-Optimizer
Iterative refinement with feedback loops:Pattern Selection Guide
| Pattern | Use When | Keywords |
|---|---|---|
| Sequential | Clear step-by-step dependencies | Default |
| Parallel | Independent subtasks | ”multiple”, “concurrent”, “compare” |
| Routing | Different input types need different handling | ”classify”, “categorize”, “route” |
| Orchestrator-Workers | Complex tasks needing dynamic decomposition | ”complex”, “comprehensive”, “break down” |
| Evaluator-Optimizer | Tasks requiring iterative refinement | ”refine”, “improve”, “quality”, “polish” |
CLI Options
Framework-specific Features
PraisonAI Agents
- Dynamic agent count (1-4 based on complexity)
- All 6 workflow patterns supported
- Tool preservation from LLM suggestions
- Merge support for incremental agent building
CrewAI
- Task delegation capabilities
- Sequential and parallel task execution
- Built-in tools integration
- Structured agent-task relationships
AG2 (Formerly AutoGen)
- Multi-agent conversation capabilities
- Code execution environment
- Built-in tools integration
- Flexible agent interactions
Examples
Simple Task (Creates 1-2 Agents)
Complex Task (Creates 3-4 Agents)
Workflow with Pattern
Available Tools
The auto-generator can assign these tools to agents:| Tool | Description |
|---|---|
CodeDocsSearchTool | Search code documentation |
CSVSearchTool | Search CSV files |
DirectorySearchTool | Search directories |
DOCXSearchTool | Search Word documents |
FileReadTool | Read files |
PDFSearchTool | Search PDF files |
ScrapeWebsiteTool | Scrape websites |
WebsiteSearchTool | Search websites |
YoutubeVideoSearchTool | Search YouTube videos |
Tools are automatically assigned based on task requirements. Use empty list
[] if no tools are needed.Python API
For programmatic control, use the Python API:New Features in Python API
| Feature | Description |
|---|---|
pattern parameter | Set workflow pattern for AutoGenerator |
single_agent mode | Generate single agent for simple tasks |
framework support | WorkflowAutoGenerator now supports framework selection |
recommend_pattern_llm() | LLM-based pattern recommendation with reasoning |
merge parameter | Merge with existing YAML instead of overwriting |

