Skip to main content
PraisonAI Logo
Total Downloads
Latest Stable Version
License
GitHub Stars
GitHub Forks
Build production-ready AI agents that reason, remember, and act autonomously — with just a few lines of code.

Why PraisonAI?

Runs Anywhere

Your machine, cloud, or edge. Self-hosted with full control over your data.

100+ LLM Models

OpenAI, Anthropic, Google, Ollama, Groq — seamlessly switch between any provider.

Memory & Knowledge

Persistent memory, RAG knowledge bases, and context-aware conversations.

Self-Reflection

Agents that evaluate and improve their own responses for higher accuracy.

140+ Built-in Tools

Web search, file operations, databases, APIs — all ready to use out of the box.

Multi-Agent Workflows

Sequential, parallel, hierarchical orchestration with autonomous coordination.

Differentiators

Unlike simple chatbots, PraisonAI agents can reflect on their outputs and iteratively improve them. Built-in reasoning capabilities enable multi-step problem solving without manual prompting.
agent = Agent(
    name="analyst",
    self_reflect=True,      # Enable self-correction
    reasoning=True,         # Enable chain-of-thought
    max_reflect=3           # Up to 3 reflection cycles
)
Agents remember past interactions across sessions. Short-term, long-term, and episodic memory systems keep context without re-prompting.
agent = Agent(
    name="assistant",
    memory=True,             # Enable persistent memory
    user_id="user_123"       # Scoped to specific user
)
Connect agents to your documents, databases, and APIs. Built-in RAG with auto-chunking, embeddings, and semantic search.
agent = Agent(
    name="researcher",
    knowledge="./docs/",       # Local documents
    knowledge_sources=[        # Or multiple sources
        "https://example.com/api",
        "./pdfs/"
    ]
)
Agents can navigate websites, fill forms, click buttons, and extract data — fully automated browser automation.
agent = Agent(
    name="web_agent",
    tools=["browser_tool"],   # Built-in browser
    llm="gpt-4o"
)
agent.run("Book a flight from NYC to LA for next Tuesday")
Deploy agents to Slack, Discord, Telegram, WhatsApp, Signal, LINE, iMessage, and more — with a single command.
praisonai bot slack --token $SLACK_BOT_TOKEN --app-token $SLACK_APP_TOKEN
Write custom tools in Python or use any of the 140+ pre-built integrations. MCP protocol support for external tool servers.
from praisonaiagents import Agent

def custom_tool(query: str) -> str:
    """My custom tool description."""
    return f"Result for {query}"

agent = Agent(tools=[custom_tool])

Quick Start

1

Install

pip install praisonai
2

Set API Key

export OPENAI_API_KEY=sk-xxx
3

Run

praisonai --auto "Research the top 5 AI trends in 2025 and create a report"
That’s it! Agents are automatically created and orchestrated.

Platform Integrations


CLI Commands

Full-featured CLI for deploying and managing AI agents:
# Start a Telegram bot
praisonai bot telegram --token $TELEGRAM_BOT_TOKEN

# Slack with full capabilities
praisonai bot slack --token $SLACK_BOT_TOKEN --app-token $SLACK_APP_TOKEN \
  --agent agents.yaml --browser --web --memory

# Discord with custom tools
praisonai bot discord --token $DISCORD_BOT_TOKEN \
  --tools DuckDuckGoTool WikipediaTool

Architecture


Use Cases


Explore