Skip to content

Add OpenRouter to Praison AI

export OPENROUTER_API_KEY=xxxxxxxxxx

agents.yaml file

framework: crewai
topic: create movie script about cat in mars
roles:
  researcher:
    backstory: Skilled in finding and organizing information, with a focus on research
      efficiency.
    goal: Gather information about Mars and cats
    role: Researcher
    llm:  
      model: "openrouter/anthropic/claude-3.5-sonnet"
    tasks:
      gather_research:
        description: Research and gather information about Mars, its environment,
          and cats, including their behavior and characteristics.
        expected_output: Document with research findings, including interesting facts
          and information.
    tools:
    - ''
PraisonAI Chat PraisonAI Code PraisonAI (Multi-Agents)
Litellm Litellm Models