--init flag initializes a new agents.yaml configuration file with intelligent tool discovery - automatically assigning the most appropriate tools based on your task description.
Quick Start
Usage
Options
| Option | Description |
|---|---|
--init | Initialize agents with optional topic |
--framework | Framework to use (crewai, autogen, praisonai) |
--merge | Merge with existing agents.yaml |
Intelligent Tool Discovery
The init command analyzes your task and automatically assigns tools from 9 categories:| Category | Example Tools | Keywords |
|---|---|---|
| Web Search | internet_search, tavily_search | search, find, look up |
| Web Scraping | scrape_page, crawl | scrape, crawl, extract |
| File Operations | read_file, write_file | read, save, load |
| Code Execution | execute_command | execute, run, script |
| Data Processing | read_csv, write_csv | csv, excel, json |
| Research | search_arxiv, wiki_search | research, paper, academic |
| Finance | get_stock_price | stock, price, financial |
| Math | evaluate, solve_equation | calculate, math |
| Database | query, find_documents | database, sql, mongodb |
Examples
Financial Research
Web Scraping Pipeline
With Framework
How It Works
- Task Analysis: Analyzes complexity (simple → 1 agent, complex → 3-4 agents)
- Keyword Matching: Identifies relevant tool categories
- Tool Assignment: Assigns appropriate tools from 50+ available
- YAML Generation: Creates ready-to-use agents.yaml
Next Steps
After initialization:- Review the generated
agents.yaml - Customize agents if needed
- Run with
praisonai agents.yaml

