Skip to main content
Auto mode generates agents from a topic and runs them immediately.

Basic Usage

python -m praisonai --auto "your topic here"
Example:
python -m praisonai --auto "write a haiku about AI"
Output:
╭─ Agent Info ─────────────────────────────────────────────────────────────────╮
│  👤 Agent: Poet                                                              │
│  Role: Poet                                                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────── Task ────────────────────────────────────╮
│ Compose a haiku that reflects themes about AI                                │
╰──────────────────────────────────────────────────────────────────────────────╯
╭────────────────────────────────── Response ──────────────────────────────────╮
│ Silent circuits bloom                                                        │
│ patterns grow from data streams                                              │
│ humans and machines                                                          │
╰──────────────────────────────────────────────────────────────────────────────╯

With Different Frameworks

# CrewAI
python -m praisonai --framework crewai --auto "research AI trends"

# AG2 (AutoGen)
python -m praisonai --framework autogen --auto "research AI trends"

How It Works

  1. Analyzes your topic complexity
  2. Creates 1-4 agents with appropriate roles
  3. Assigns relevant tools automatically
  4. Runs the agents immediately

Init Only (No Run)

To generate agents.yaml without running:
python -m praisonai --init "your topic"
Then edit agents.yaml and run later:
python -m praisonai

Merge with Existing

Add new agents to existing agents.yaml:
python -m praisonai --merge --init "add a reviewer agent"

Examples

# Simple task
python -m praisonai --auto "explain quantum computing"

# Research task
python -m praisonai --auto "research latest AI developments"

# Creative task
python -m praisonai --auto "write a short story about robots"

# Analysis task
python -m praisonai --auto "analyze pros and cons of remote work"