Run
Execute PraisonAI agents from the command line
Run from agents.yaml
praisonaiRuns the agents defined in agents.yaml in the current directory.
Also works with python -m praisonai for users in venvs without an entry-point shim.
Run with Direct Prompt
praisonai "What is machine learning?"No agents.yaml needed — answers directly.
Alternatively: python -m praisonai "What is machine learning?"
Run with Auto Mode
python -m praisonai --auto "write a blog post about AI"Auto-generates agents and runs them in one step.
Run with Different Framework
# CrewAI
python -m praisonai --framework crewai
# AG2 (AutoGen)
python -m praisonai --framework autogen
# Google ADK
python -m praisonai --framework google_adkCommon Options
| Flag | Description |
|---|---|
--framework | Use crewai, autogen, langgraph, openai_agents, or google_adk instead of default |
--auto "topic" | Auto-generate and run agents |
--init "topic" | Generate agents.yaml only |
--verbose | Show detailed output |