Skip to main content
The default framework changed from crewai to praisonai when running YAML files without specifying an explicit framework.

Quick Start

1

Before (v0.x)

Running praisonai agents.yaml would fail with error:
ValueError: Unknown praisonai.framework_adapters plugin: ''.
Available: ['ag2', 'autogen', 'autogen_v4', 'crewai', 'praisonai']
2

After (v1.0.0+)

Running praisonai agents.yaml works out of the box using the praisonai framework:
praisonai agents.yaml  # ✅ Uses praisonai framework by default

Agent-Centric Example

from praisonai import PraisonAI

# No framework= argument — uses 'praisonai' by default
praison = PraisonAI(agent_file="agents.yaml")
result = praison.run()
Equivalent CLI command:
praisonai agents.yaml
Both produce the same result with no --framework flag required.

Framework Precedence

PraisonAI resolves the framework in this order:
PrioritySourceExample
1CLI flag--framework crewai
2YAML keyframework: crewai
3Defaultpraisonai

How to Keep CrewAI as Default

If you want to continue using CrewAI as your default framework, you have two options:

Option 1: YAML Configuration

framework: crewai
topic: Your task description
roles:
  # Your agents here

Option 2: CLI Flag

praisonai --framework crewai agents.yaml

User Interaction Flow


CrewAI Framework

CrewAI framework integration guide

PraisonAI Agents

PraisonAI native agents framework