Installation¶
Fast-CrewAI can be installed using pip or uv. The package includes pre-built wheels for common platforms, so you don't need a Rust toolchain for basic usage.
Quick Install¶
Verify Installation¶
After installation, verify that Fast-CrewAI is working correctly:
from fast_crewai import is_acceleration_available, get_acceleration_status
print(f"Rust acceleration available: {is_acceleration_available()}")
print(f"Status: {get_acceleration_status()}")
Expected output:
Development Installation¶
If you want to contribute or build from source:
Prerequisites¶
- Python 3.10+
-
Rust toolchain (for building the Rust extension)
-
uv (recommended package manager)
Build from Source¶
# Clone the repository
git clone https://github.com/neul-labs/fast-crewai.git
cd fast-crewai
# Install dependencies
uv sync --dev
# Build the Rust extension
uv run maturin develop
# For optimized release build
uv run maturin develop --release
Verify Development Build¶
Platform-Specific Notes¶
Windows¶
If you encounter build errors on Windows, you may need to install Visual C++ Build Tools:
- Download from Visual Studio Downloads
- Install "Desktop development with C++"
- Restart your terminal and try again
macOS¶
If you see build errors on macOS, install Xcode command line tools:
Linux¶
Install build dependencies:
# Debian/Ubuntu
sudo apt update
sudo apt install build-essential python3-dev
# Fedora
sudo dnf install gcc python3-devel
# Arch Linux
sudo pacman -S base-devel python
Troubleshooting¶
Rust Components Not Available¶
If is_acceleration_available() returns False:
-
Rebuild from source:
-
Check Rust installation:
-
Check for build errors in the maturin output
ImportError¶
If you see ImportError: No module named '_core':
- The Rust extension wasn't built or installed correctly
- Try rebuilding with
uv run maturin develop
See the Troubleshooting Guide for more solutions.
Next Steps¶
- Quick Start - Get your first accelerated workflow running
- How It Works - Understand the acceleration system