PraisonAI π¦ β Hire a 24/7 AI Workforce. Stop writing boilerplate and start shipping autonomous agents that research, plan, code, and execute tasks. Deployed in 5 lines of code with built-in memory, R
PraisonAI π¦ β Hire a 24/7 AI Workforce. Stop writing boilerplate and start shipping autonomous agents that research, plan, code, and execute tasks. Deployed in 5 lines of code with built-in memory, RAG, and support for 100+ LLMs.
README
PraisonAI π¦
PraisonAI π¦ β Hire a 24/7 AI Workforce. Stop writing boilerplate and start shipping autonomous agents that research, plan, and execute tasks across your apps. From one agent to an entire organization, deployed in 5 lines of code.
frompraisonaiagentsimportAgent# Give your agent a goal, and watch it work.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.")
π The PraisonAI Ecosystem
Start simple with the core SDK, or expand to full visual builders and dashboards when you're ready.
Core SDK (praisonaiagents): For pure Python development. pip install praisonaiagents
π» PraisonAI CLI (praisonai): For terminal-based developers. pip install praisonai
π¦ Claw Dashboard: Connect agents directly to Telegram, Slack, or Discord. pip install "praisonai[claw]"
π Full MCP docs β stdio, HTTP, WebSocket, SSE transports
4. Custom Tools
frompraisonaiagentsimportAgent, tool@tooldefsearch(query: str) ->str:
"""Search the web for information."""returnf"Results for: {query}"@tooldefcalculate(expression: str) ->float:
"""Evaluate a math expression."""returneval(expression)
agent=Agent(
instructions="You are a helpful assistant",
tools=[search, calculate]
)
agent.start("Search for AI news and calculate 15*4")
π Full persistence docs β PostgreSQL, MySQL, SQLite, MongoDB, Redis, and 20+ more
6. PraisonAI Claw π¦ (Dashboard UI)
Connect your AI agents to Telegram, Discord, Slack, WhatsApp and more β all from a single command.
pip install "praisonai[claw]"
praisonai claw
Open http://localhost:8082 β the dashboard comes with 13 built-in pages: Chat, Agents, Memory, Knowledge, Channels, Guardrails, Cron, and more. Add messaging channels directly from the UI.
π Full Claw docs β platform tokens, CLI options, Docker, and YAML agent mode
Build multi-agent workflows visually with drag-and-drop components in Langflow.
pip install "praisonai[flow]"
praisonai flow
Open http://localhost:7861 β use the Agent and Agent Team components to create sequential or parallel workflows. Connect Chat Input β Agent Team β Chat Output for instant multi-agent pipelines.
π Full Flow docs β visual agent building, component reference, and deployment
8. PraisonAI UI π€ (Clean Chat)
Lightweight chat interface for your AI agents.
pip install "praisonai[ui]"
praisonai ui
π Using YAML (No Code)
Example 1: Two Agents Working Together
Create agents.yaml:
framework: praisonaitopic: "Write a blog post about AI"agents:
researcher:
role: Research Analystgoal: Research AI trends and gather informationinstructions: "Find accurate information about AI trends"writer:
role: Content Writergoal: Write engaging blog postsinstructions: "Write clear, engaging content based on research"
Run with:
praisonai agents.yaml
The agents automatically work together sequentially
Example 2: Agent with Custom Tool
Create two files in the same folder:
agents.yaml:
framework: praisonaitopic: "Calculate the sum of 25 and 15"agents:
calculator_agent:
role: Calculatorgoal: Perform calculationsinstructions: "Use the add_numbers tool to help with calculations"tools:
- add_numbers
tools.py:
defadd_numbers(a: float, b: float) ->float:
""" Add two numbers together. Args: a: First number b: Second number Returns: The sum of a and b """returna+b
Run with:
praisonai agents.yaml
π‘ Tips:
Use the function name (e.g., add_numbers) in the tools list, not the file name
Tools in tools.py are automatically discovered
The function's docstring helps the AI understand how to use it
const{ Agent }=require('praisonai');constagent=newAgent({instructions: 'You are a helpful AI assistant'});agent.start('Write a movie script about a robot in Mars');
β‘ Performance
PraisonAI is built for speed, with agent instantiation in under 4ΞΌs. This reduces overhead, improves responsiveness, and helps multi-agent systems scale efficiently in real-world production workloads.
crewAIFramework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.1.14.2
AutoAgentsA multi-agent framework written in Rust that enables you to build, deploy, and coordinate multiple intelligent agentsv0.3.7