Set API Key
Generate agents.yaml
Generated File
The command createsagents.yaml in the current directory:
Create agents.yaml configuration file
export OPENAI_API_KEY="your-key"
python -m praisonai --init "your topic here"
python -m praisonai --init "research AI trends and write a summary"
File /path/to/agents.yaml created successfully
agents.yaml in the current directory:
framework: praisonai
topic: research AI trends and write a summary
roles:
researcher:
backstory: An experienced research analyst...
goal: Gather relevant information on the topic
role: Research Analyst
tasks:
research_task:
description: Conduct research on the topic
expected_output: Key insights and references
tools:
- internet_search
python -m praisonai