Skip to content

๐Ÿ”ง Installation Guide

Welcome to SuperOptiX! This guide will help you install the Full Stack Agentic AI Optimization Framework on your system.

๐Ÿš€ Quick Start

New to SuperOptiX? Start with our Quick Start Guide after installation!

Stable Release Available!

SuperOptiX is now available as a stable release. We recommend using uv for the best experience.

uv tool install superoptix

๐Ÿ“‹ Prerequisites

Required

  • Python 3.11+ (required)
  • Git (required for DSPy installation)
  • Package Manager (uv recommended, pip also supported)

Verify Requirements

# Check Python version
python --version  # Should be 3.11 or higher

# Check Git
git --version  # Should show git version

Install Git (if needed)

xcode-select --install
# Ubuntu/Debian
sudo apt-get install git

# CentOS/RHEL
sudo yum install git

Download from git-scm.com

Python Version Requirement

SuperOptiX requires Python 3.11 or higher. Check your version with:

python --version

๐ŸŽฏ Installation Methods

Framework-Free Core

SuperOptiX core is now framework-independent! ๐ŸŽ‰

Install only what you need. Choose from 6 AI frameworks, or use core without any.

We highly recommend using uv for faster, more reliable installations.

# Install UV (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install SuperOptiX CLI globally (isolated tool env)
uv tool install superoptix

# Verify
super --version

Add Framework Dependencies with uv Tool

Use --with to install framework dependencies in the same tool environment:

# OpenAI SDK support
uv tool install superoptix --with "superoptix[frameworks-openai]"

# Claude SDK support
uv tool install superoptix --with "superoptix[frameworks-claude-sdk]"

# Google ADK support
uv tool install superoptix --with "superoptix[frameworks-google]"

# Pydantic AI support
uv tool install superoptix --with "superoptix[frameworks-pydantic-ai]"

Upgrade later:

uv tool upgrade superoptix

Alternative: Using pip

# Create virtual environment
python -m venv .venv
source .venv/bin/activate

# Install SuperOptiX
pip install superoptix

๐Ÿ“ฆ Optional Frameworks & Extras

Customize your installation by adding only what you need:

๐ŸŒ AI Frameworks

Framework Install Command Includes
DSPy โญ uv tool install superoptix --with "superoptix[frameworks-dspy]" DSPy + GEPA
OpenAI SDK uv tool install superoptix --with "superoptix[frameworks-openai]" openai-agents, openai SDK
Claude SDK uv tool install superoptix --with "superoptix[frameworks-claude-sdk]" claude-agent-sdk
Google ADK uv tool install superoptix --with "superoptix[frameworks-google]" google-adk, google-generativeai
Microsoft (Legacy) uv tool install superoptix --with "superoptix[frameworks-microsoft]" agent-framework>=1.0.0b260212, azure-identity
DeepAgents uv tool install superoptix --with "superoptix[frameworks-deepagents]" deepagents
Pydantic AI uv tool install superoptix --with "superoptix[frameworks-pydantic-ai]" Pydantic AI
CrewAI โš ๏ธ uv tool install superoptix --with crewai==1.2.0 crewai (conflicts with DSPy)

โญ Recommended: DSPy for GEPA optimization
โš ๏ธ Note: CrewAI and DSPy cannot be installed together in the same environment.

๐Ÿ”Œ Tool Optimization & MCP

uv tool install superoptix --with "superoptix[mcp]"

๐Ÿง  Vector Databases (RAG)

# All vector databases
uv tool install superoptix --with "superoptix[vectordb]"

# Or specific ones
uv tool install superoptix --with "superoptix[chromadb]"    # ChromaDB (recommended)
uv tool install superoptix --with "superoptix[qdrant]"      # Qdrant

๐Ÿ” Observability

uv tool install superoptix --with "superoptix[observability]"
Includes MLflow, Pandas, Plotly.

๐Ÿ’ป Local Model Management

# Apple Silicon (MLX)
uv tool install superoptix --with "superoptix[mlx]"

# HuggingFace
uv tool install superoptix --with "superoptix[huggingface]"

๐Ÿ” Verification

After installation, verify SuperOptiX is working correctly:

# Check CLI
super --version

# Check available commands
super --help

๐Ÿš€ Next Steps

  1. Set up your LLM: Follow our LLM Setup Guide
  2. Create your first agent: Try our Quick Start Guide
  3. Explore the framework: Check out our Agent Patterns

๐Ÿ†˜ Troubleshooting

Common Issues

Import Error: Make sure you're using Python 3.11+

python --version

Package Not Found: Update pip/uv

uv tool upgrade superoptix

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
uv tool install superoptix --with "superoptix[frameworks-dspy]"  # Install DSPy support first
uv tool install superoptix --with crewai==0.157.0  # Add CrewAI manually
uv tool install superoptix --with "json-repair>=0.30.0"  # Ensure compatible version

Still Having Issues?