π§ Installation Guide
Welcome to SuperOptiX! This guide will help you install the King of Agent Frameworks on your system. We support multiple installation methods and platforms to fit your development workflow.
π Quick Start
New to SuperOptiX? Start with our Quick Start Guide after installation!
π Prerequisites
Before installing SuperOptiX, ensure you have:
- Python 3.11+ (required)
- Git (for development installations)
- Package Manager (pip, conda, or uv)
Python Version Requirement
SuperOptiX requires Python 3.11 or higher. Check your version with:
π― Installation Methods
Choose your preferred installation method:
UV is the fastest Python package manager, offering lightning-fast installations and dependency resolution.
Install UV First
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Install SuperOptiX with UV
Pip is the standard Python package manager, available on all platforms.
Install SuperOptiX with Pip
π₯οΈ Platform-Specific Instructions
Using Homebrew (Recommended)
# Install Python 3.11+
brew install python@3.11
# Install UV (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install SuperOptiX
uv pip install superoptix
Using Conda
Ubuntu/Debian
# Update system
sudo apt update && sudo apt upgrade -y
# Install Python 3.11+
sudo apt install python3.11 python3.11-venv python3-pip -y
# Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install SuperOptiX
uv pip install superoptix
CentOS/RHEL/Fedora
Windows Users - Important!
On Windows, set PYTHONUTF8=1 to ensure proper UTF-8 encoding support:
Or add it to your system environment variables for permanent setting.
Using PowerShell
# Install UV (recommended)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# Install SuperOptiX
uv pip install superoptix --prerelease=allow
Using Conda
π§ Optional Dependencies
SuperOptiX is modular - install only what you need! Here are the available extras:
For running models locally on your machine
MLX (Apple Silicon)
Includes: - mlx-lm==0.26.0 (Apple MLX framework for local inference)HuggingFace
Includes: - transformers==4.53.2 (HuggingFace transformers library) - torch==2.7.1 (PyTorch for model inference) - fastapi==0.116.1 (Web framework for model serving) - huggingface-hub==0.33.4 (HuggingFace Hub integration) - uvicorn==0.35.0 (ASGI server for FastAPI)For SuperOptiX Agent Studio and observability dashboards
Includes: - Streamlit (Agent Studio) - Plotly (Interactive charts) - Pandas (Data manipulation)
For Retrieval-Augmented Generation and memory systems
# Individual databases
pip install "superoptix[chromadb]" # ChromaDB (recommended)
pip install "superoptix[lancedb]" # LanceDB (fast local)
pip install "superoptix[faiss]" # FAISS (high performance)
pip install "superoptix[weaviate]" # Weaviate (semantic search)
pip install "superoptix[qdrant]" # Qdrant (production)
pip install "superoptix[milvus]" # Milvus (enterprise)
# All vector databases
pip install "superoptix[vectordb]"
For tracing, monitoring, and MLflow integration
Includes: - MLflow (Experiment tracking) - Pandas (Data analysis) - Plotly (Visualization)
For building web APIs and services
Includes: - FastAPI (Modern web framework) - Uvicorn (ASGI server) - Pydantic (Data validation)
For data analysis and machine learning
Includes: - Pandas (Data manipulation) - Scikit-learn (Machine learning) - Matplotlib (Plotting) - Seaborn (Statistical visualization)
For advanced AI orchestration and multi-agent systems
Includes: - DSPy (Prompt optimization framework) - OpenAI (LLM integration) - AutoGen (Multi-agent conversations) - Optimas AI (Advanced orchestration)
CrewAI Dependency Conflict
CrewAI has a known dependency conflict with DSPy due to incompatible json-repair
version requirements:
- DSPy 3.0.0 requires
json-repair>=0.30.0
- CrewAI 0.157.0 requires
json-repair==0.25.2
To use CrewAI with SuperOptiX, install it manually:
# 1. Install SuperOptiX with DSPy support
pip install "superoptix[optimas]"
# 2. Install CrewAI without dependencies
pip install crewai==0.157.0 --no-deps
# 3. Ensure compatible json-repair version
pip install "json-repair>=0.30.0"
This approach bypasses the dependency conflict while maintaining compatibility.
π Verification
After installation, verify SuperOptiX is working correctly:
# Check installation
python -c "import superoptix; print('SuperOptiX installed successfully!')"
# Check CLI
super --version
# Check available commands
super --help
π Next Steps
- Set up your LLM: Follow our LLM Setup Guide
- Create your first agent: Try our Quick Start Guide
- Explore the framework: Check out our Agent Patterns
π Troubleshooting
Common Issues
Import Error: Make sure you're using Python 3.11+
Permission Error: Use virtual environments
# Create virtual environment
python -m venv superoptix-env
source superoptix-env/bin/activate # Linux/macOS
# or
superoptix-env\Scripts\activate # Windows
Package Not Found: Update pip
CrewAI Installation Conflicts: If you encounter dependency conflicts when installing CrewAI with SuperOptiX:
# The issue: CrewAI requires json-repair==0.25.2, but DSPy needs json-repair>=0.30.0
# Solution: Install manually with --no-deps flag
pip install "superoptix[optimas]" # Install DSPy support first
pip install crewai==0.157.0 --no-deps # Install CrewAI without dependencies
pip install "json-repair>=0.30.0" # Ensure compatible version
Still Having Issues?
- π Check our Troubleshooting Guide
- π Report issues on GitHub