praisonai SDK
PraisonAI wrapper package – CLI, auto-generation, and deployment
praisonai SDK
The praisonai package provides a high-level wrapper with CLI, auto-generation, and deployment utilities.
Installation
pip install praisonai
# With all features
pip install "praisonai[all]"Quick Start
from praisonai import PraisonAI
# Create and run agents from YAML
praison = PraisonAI(agent_file="agents.yaml")
result = praison.run()Main Class
PraisonAI
Main wrapper class for running agents.
from praisonai import PraisonAI
praison = PraisonAI(
agent_file="agents.yaml",
framework="praisonaiagents" # or "crewai", "autogen"
)
result = praison.run()Constructor
| Parameter | Type | Description |
|---|---|---|
agent_file | str | Path to YAML agent definition |
framework | str | Framework to use |
auto | bool | Enable auto mode |
Modules
CLI Module
Command-line interface and PraisonAI class
Auto ModuleAutomated agent generation from prompts
Deploy ModuleDeployment utilities for APIs and services
Persistence ModuleDatabase adapters and session management
Framework Support
PraisonAI Agents (Default)
pip install praisonaiCrewAI Integration
pip install "praisonai-frameworks[crewai]"AutoGen Integration
pip install "praisonai-frameworks[autogen]"Related
- praisonaiagents – Core agent framework
- CLI – Command-line usage