Skip to main content
PraisonAI Logo
Total Downloads
GitHub Stars
GitHub Forks
MervinPraison/PraisonAI | Trendshift

Key Features

AI Agents Creation

Automated creation and management of AI agents with self-reflection capabilities

Workflow Patterns

Sequential, parallel, hierarchical, and custom workflow orchestration

LLM Support

Support for 100+ Language Learning Models

Code Integration

Chat with your entire codebase using advanced context understanding

Interactive UI

Rich, interactive user interfaces for better control and monitoring

Configuration

YAML-based configuration for easy setup and customization

Tool Integration

Custom tool integration for extended functionality

Search Capability

Internet search using Crawl4AI and Tavily

Install

1

Install Package

pip install praisonaiagents
2

Set API Key

export OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxxx
3

Create File

Create app.py file

Code Example

from praisonaiagents import Agent

agent = Agent(instructions="Your are a helpful AI assistant")
agent.start("Write a movie script about a robot in Mars")
4

Run Script

python app.py

How Execution Works

PraisonAI offers multiple ways to run AI agents. Choose the approach that fits your use case.

1. Agent Execution

The simplest way to run AI—create an agent and give it a task.
from praisonaiagents import Agent

agent = Agent(instructions="You are a helpful assistant")
agent.start("Summarize the latest AI news")

Learn more about Agents

Create single agents, configure instructions, add tools, and enable memory.

2. Workflow Execution

For complex tasks, use workflows to chain multiple agents together.
from praisonaiagents import Agent, Workflow

researcher = Agent(name="Researcher", instructions="Research topics")
writer = Agent(name="Writer", instructions="Write content")

workflow = Workflow(steps=[researcher, writer])
result = workflow.start("Write an article about AI trends")

Learn more about Workflows

Build multi-step workflows with routing, parallel execution, loops, and conditionals.

3. Agent Recipes

Recipes are pre-built, production-ready AI tools you can run instantly. 55+ recipes available.
# List available recipes
praisonai recipe list

# Run a recipe
praisonai recipe run ai-blog-generator --input '{"topic": "AI trends"}'

Browse Agent Recipes

55+ production-ready AI tools for video, documents, images, code, and more.

4. Custom Tools

Extend agent capabilities by creating custom tools.
from praisonaiagents import Agent

def search_web(query: str) -> str:
    """Search the web for information."""
    return f"Results for: {query}"

agent = Agent(
    instructions="You are a research assistant",
    tools=[search_web]
)
agent.start("Find the latest news about Python")

Learn more about Tools

Create custom tools, use built-in tools, and integrate with external APIs.

Feature Map

Python SDK (praisonaiagents)

Tools Ecosystem

MCP (Model Context Protocol)

Deploy

JavaScript/TypeScript SDK


CLI at a Glance

# Install CLI
pip install praisonai

# Run an agent with a prompt
praisonai "Summarize the latest AI news"

# Run agents from YAML config
praisonai agents.yaml

# Start interactive mode
praisonai --auto

# Deep research mode
praisonai --deep-research "What are the latest AI trends?"

# List available recipes
praisonai recipe list

# Start agent server
praisonai serve
CommandDescription
praisonai "prompt"Run agent with prompt
praisonai agents.yamlRun from YAML config
praisonai --autoInteractive auto mode
praisonai --deep-researchDeep research mode
praisonai recipe listList recipes
praisonai recipe runRun a recipe
praisonai serveStart HTTP server
praisonai mcp listList MCP servers

Full CLI Reference

Complete documentation for all CLI commands and options.

AI Agents Flow

AI Agents with Tools

Create AI agents that can use tools to interact with external systems and perform actions.

AI Agents with Memory

Create AI agents with memory capabilities for maintaining context and information across tasks.

AI Agents with Different Processes

Sequential Process

The simplest form of task execution where tasks are performed one after another.

Hierarchical Process

Uses a manager agent to coordinate task execution and agent assignments.

Workflow Process

Advanced process type supporting complex task relationships and conditional execution.

Agentic Routing Workflow

Create AI agents that can dynamically route tasks to specialized LLM instances.

Agentic Orchestrator Worker

Create AI agents that orchestrate and distribute tasks among specialized workers.

Agentic Autonomous Workflow

Create AI agents that can autonomously monitor, act, and adapt based on environment feedback.

Agentic Parallelization

Create AI agents that can execute tasks in parallel for improved performance.

Agentic Prompt Chaining

Create AI agents with sequential prompt chaining for complex workflows.

Agentic Evaluator Optimizer

Create AI agents that can generate and optimize solutions through iterative feedback.

Repetitive Agents

Create AI agents that can efficiently handle repetitive tasks through automated loops.

Integration Options

export OPENAI_BASE_URL=http://localhost:11434/v1
export OPENAI_API_KEY=xxxxxxxxxxx
export OPENAI_BASE_URL=https://api.groq.com/openai/v1
# Basic logging
export LOGLEVEL=info

# Advanced logging
export LOGLEVEL=debug

Use Cases

Customer Service

Build intelligent support agents that can handle customer inquiries and resolve issues autonomously.

Data Analysis

Create agents that can process, analyze, and derive insights from complex datasets.

Content Creation

Deploy agents that can generate, edit, and optimize content across various formats.

Process Automation

Automate complex workflows with intelligent agents that can coordinate and execute tasks.

Praison AI Package Overall Features

PraisonAI Features

PraisonAI Features Overview

Features

User Interfaces

Welcome to PraisonAI - Your comprehensive solution for building and managing multi-agent LLM systems with self-reflection capabilities.
Total Downloads
Latest Stable Version
License
GitHub Stars
GitHub Forks

Video Tutorials

TopicVideo
AI Agents with Self ReflectionSelf Reflection
Reasoning Data Generating AgentReasoning Data
AI Agents with ReasoningReasoning
Multimodal AI AgentsMultimodal
AI Agents WorkflowWorkflow
Async AI AgentsAsync
Mini AI AgentsMini
AI Agents with MemoryMemory
Repetitive AgentsRepetitive
IntroductionIntroduction
Tools OverviewTools Overview
Custom ToolsCustom Tools
Firecrawl IntegrationFirecrawl
User InterfaceUI
Crawl4AI IntegrationCrawl4AI
Chat InterfaceChat
Code InterfaceCode
Mem0 IntegrationMem0
TrainingTraining
Realtime Voice InterfaceRealtime
Call InterfaceCall
Reasoning Extract AgentsReasoning Extract