Skip to main content
PraisonAI builds and deploys autonomous AI agents that understand, reason, and execute complex tasks — starting from a single line of code.
from praisonaiagents import Agent

agent = Agent(instructions="You are a helpful assistant")
agent.start("Write a haiku about AI")

What is PraisonAI?

PraisonAI is a powerful Multi-Agent Framework for building and deploying autonomous, self-improving AI agents that can understand, reason, and execute complex tasks.

Welcome to PraisonAI

Build powerful autonomous, self-improving agents that understand, decide, and execute with unprecedented capability.

Core Components

🤖 Agent

Single AI worker with tools and instructions

👥 AgentTeam

Multi-agent orchestration with sequential/hierarchical process

🔄 AgentFlow

Step-based pipelines with route, parallel, loop patterns

⚡ AgentOS

Production deployment with API, webhooks, scheduler

When to Use What

ScenarioUse This
Chat with one AIAgent
Research → Analyze → WriteAgentTeam or AgentFlow
Route to specialistsAgentFlow + route()
Parallel processingAgentFlow + parallel()
Production APIAgentOS

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.

Getting Started

1

Install

pip install praisonaiagents
2

Set API Key

export OPENAI_API_KEY="${OPENAI_API_KEY:?Set OPENAI_API_KEY in your shell}"
3

Create Agent

from praisonaiagents import Agent

agent = Agent(instructions="You are a helpful assistant")
agent.start("Write a haiku about AI")
from praisonaiagents import Agent, AgentTeam

researcher = Agent(instructions="Research topics")
writer = Agent(instructions="Write content")

team = AgentTeam(agents=[researcher, writer])
team.start()
from praisonaiagents import Agent, AgentFlow

researcher = Agent(instructions="Research topics")
writer = Agent(instructions="Write content")

flow = AgentFlow(steps=[researcher, writer])
flow.start("Research AI trends")

Key Features

Autonomous, Self-Improving Agents

  • Understand natural language
  • Make decisions
  • Execute tasks
  • Learn and persist new skills

Flexible Architecture

  • Modular components
  • Extensible tools
  • Custom workflows

Advanced Capabilities

  • Multi-agent collaboration
  • Memory management
  • Tool integration

Why PraisonAI?

Developer First

Modern SDK designed to be intuitive and powerful

Production Ready

Enterprise-grade with built-in security and scale

Open Source

Available on GitHub

Low Code Friendly

Easy for non-technical users

How It Works

An Agent receives your instructions, calls the LLM, and returns a result — teams and flows chain multiple agents on top of that.

Best Practices

Use Agent for one task, AgentTeam when agents collaborate, and AgentFlow for step-based pipelines with routing, parallel, or loop patterns.
Start with Agent(instructions="…").start("…"). Add name, role, tools, and Task only as your needs grow.
Export OPENAI_API_KEY (or another provider’s key) in your shell. PraisonAI auto-selects a matching default model.
Wrap agents in AgentOS when you need an API, webhooks, or a scheduler for production deployment.

Quick Start

Build your first AI agent in minutes.

Workflows

Learn workflow patterns for multi-step pipelines.
Join our community on Discord to connect with other developers and get help!