PraisonAI provides optional dependency groups (extras) for specific features like bot integrations, gateway servers, and storage backends.Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Available Extras
Bot Integration ([bot])
Enables chat platform integrations:
python-telegram-bot- Telegram bot APIdiscord.py- Discord bot integrationslack-sdk- Slack app developmenttwilio- WhatsApp Business APIrequests- HTTP client for webhooks
- Telegram bot deployment
- Discord server integration
- Slack workspace apps
- WhatsApp Business messaging
- Multi-platform chat bots
API Server ([api])
Enables gateway and web server functionality:
uvicorn- ASGI serverfastapi- Web frameworkstarlette- WebSocket supportpython-multipart- File upload handlingwebsockets- WebSocket protocol
- PraisonAI Gateway deployment
- REST API endpoints
- WebSocket real-time communication
- Agent-as-a-Service hosting
- Dashboard and UI backends
Tools Collection ([tools])
Specialized tools and integrations:
tavily-python- Web search APIrequests- HTTP requestsbeautifulsoup4- HTML parsingPyPDF2- PDF processingpython-docx- Word document handling
- Web search capabilities
- Document processing
- File format conversion
- Data extraction and parsing
- Research and analysis
Storage Backends ([storage])
Database and vector store integrations:
chromadb- Vector databaseqdrant-client- Qdrant vector storepinecone-client- Pinecone vector databaseredis- Redis cachingpymongo- MongoDB integration
- Knowledge base storage
- Vector similarity search
- Session state persistence
- Caching and performance
- Multi-agent coordination
Complete Installation ([all])
All optional dependencies included:
- Development environments
- Full-featured deployments
- Experimenting with all features
- Production systems using multiple capabilities
Common Use Cases
Gateway Deployment
Requirement: Multi-channel bot gateway with WebSocket support[bot]provides Telegram, Discord, Slack integration[api]provides gateway WebSocket server and REST endpoints
Agent Development
Requirement: Basic agent creation and testingProduction Bot
Requirement: Robust bot with search, storage, and monitoring- Bot platform integration
- Web search and document processing
- Vector knowledge storage
- REST API for monitoring
- All available tools and integrations
Installation Troubleshooting
Common Import Errors
Gateway requires starlette and uvicorn
Gateway requires starlette and uvicorn
Error:Solution:
No module named 'python-telegram-bot'
No module named 'python-telegram-bot'
Error:Solution:This happens when trying to use Telegram integration without the bot extra.
No module named 'chromadb'
No module named 'chromadb'
Error:Solution:Vector storage requires the storage extra.
Cannot install on Windows
Cannot install on Windows
Symptoms: Package installation fails on WindowsSolutions:For encoding issues:For build errors:
Dependency Conflicts
Handle version conflicts between extras:Minimal Installation
For resource-constrained environments:Extra Dependency Reference
Complete dependency listing by extra:| Extra | Key Dependencies | Size | Use Case |
|---|---|---|---|
[bot] | python-telegram-bot, discord.py, slack-sdk | ~50MB | Chat platform integration |
[api] | uvicorn, fastapi, starlette | ~30MB | Web server and WebSocket |
[tools] | tavily-python, beautifulsoup4, PyPDF2 | ~25MB | Document and web processing |
[storage] | chromadb, qdrant-client, pymongo | ~100MB | Databases and vector stores |
[all] | All of the above + additional | ~200MB | Complete functionality |
Platform-Specific Notes
Windows:- Some packages may require Visual Studio Build Tools
- UTF-8 encoding setup recommended:
$env:PYTHONUTF8 = "1" - Consider using conda for complex dependencies
- May require Xcode Command Line Tools
- Install via Homebrew Python for best compatibility
- Usually installs without issues
- May need system packages for some features (e.g.,
libssl-dev)
Best Practices
Use virtual environments
Use virtual environments
Always isolate PraisonAI installations:
Pin versions in production
Pin versions in production
Use specific versions for reproducible builds:
Install only needed extras
Install only needed extras
Minimize dependency footprint:
Monitor dependency security
Monitor dependency security
Keep dependencies updated:
Related
Gateway Overview
Gateway requires [api] extra
Bot Integrations
Bot platforms require [bot] extra

