What is PraisonAI?
PraisonAI is an open-source framework for building AI agents that research, plan, and run tasks on their own. You can start with a single agent in a few lines of code, then scale up to a full team of agents that hand work off to each other. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in Python and licensed MIT.
Overview
PraisonAI is an open-source framework for building AI agents that research, plan, and run tasks on their own. You can start with a single agent in a few lines of code, then scale up to a full team of agents that hand work off to each other.
It runs on more than 100 LLMs, including OpenAI, Anthropic, Google Gemini, and local models through Ollama, so you are not locked into one provider. Built-in memory, RAG, guardrails, and Model Context Protocol (MCP) tool support come ready to use.
PraisonAI ships as a Python SDK and a JavaScript SDK, plus a CLI, a visual flow builder, and chat and dashboard interfaces. You add only the pieces you need as your project grows.
What it does
- Single-agent and multi-agent setups: give one agent a goal, or chain several agents that pass tasks between each other
- Works with 100+ LLMs out of the box, including OpenAI, Anthropic, Gemini, Groq, Mistral, and local Ollama models
- Built-in memory that works with zero extra dependencies, plus RAG for knowledge-backed answers
- Model Context Protocol (MCP) support over stdio, HTTP, WebSocket, and SSE to connect external tools
- Planning mode, self-reflection, agent handoffs, and guardrails for input and output validation
- Multiple ways to use it: Python SDK, JavaScript SDK, CLI, visual Flow builder, and chat UI
Getting started
PraisonAI has a lightweight core SDK you can install with pip. Set your LLM API key, then create your first agent in a couple of lines. There is also a JavaScript SDK and a one-line installer.
Install the core SDK
Install the lightweight agents package and set your model provider key.
pip install praisonaiagents
export OPENAI_API_KEY="your-api-key"Run your first agent
Give an agent instructions and a task, then let it work.
from praisonaiagents import Agent
agent = Agent(instructions="You are a senior data analyst.")
agent.start("Analyze the top 3 tech trends of 2026 and format as a markdown table.")Build a multi-agent team
Create several agents and run them together so one passes its findings to the next.
from praisonaiagents import Agent, Agents
research_agent = Agent(instructions="Research about AI")
summarise_agent = Agent(instructions="Summarise research agent's findings")
agents = Agents(agents=[research_agent, summarise_agent])
agents.start()Use the JavaScript SDK
Prefer Node? Install the JavaScript package instead.
npm install praisonaiCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Run deep research that gathers information from multiple sources and turns it into structured insights
- Automate multi-step business workflows where agents hand off tasks, verify results, and self-correct
- Generate and refactor code with agents that understand your requirements
- Deploy 24/7 customer support bots on Telegram, Discord, or Slack with memory and knowledge-backed answers
- Build data pipelines that extract, transform, and analyze data from APIs, databases, and web sources
How PraisonAI compares
PraisonAI alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| DeepSeek Harness | ★ 289k | DeepSeek AI's open-source agent harness (dsh), built on Cordis, where models, tools, skills, sessions, sandboxes, storage and the UI are all plugins composed through profiles. |
| AutoGPT | ★ 188k | One of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows. |
| DeerFlow | ★ 86k | ByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks. |
| nanobot | ★ 50.5k | Lightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations. |
| LangGraph | ★ 45.6k | A library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints. |
| Agno | ★ 43.3k | A fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production. |
| AgentGPT | ★ 36.3k | AgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser. |
| PraisonAI | ★ 9.8k | Build autonomous multi-agent AI teams in a few lines of Python or JavaScript |

