CrewAI is a framework for orchestrating role-playing AI agents. This guide provides resources and installation instructions for both macOS and Windows systems.
- deeplearning.ai - Multi-AI Agent Systems with CrewAI
- deeplearning.ai - Practical Multi-AI Agents and Advanced Use Cases with CrewAI
- Python 3.10-3.12
- OpenAI/Anthropic API key
-
Check Python Version
python3 --version
If needed, install Python using Homebrew:
brew install [email protected]
-
Project Setup
# Create and enter project directory mkdir my_crewai_project cd my_crewai_project # Create and activate virtual environment python3.12 -m venv venv source venv/bin/activate
-
Install CrewAI
pip install 'crewai[tools]' -
Create Project
crewai create crew <project_name>
-
Create Project
cd <project_name>
-
Run Project
crewai run
-
Check Python Version
python --version
If needed, download Python 3.12 from python.org
⚠️ Important: Check "Add Python to PATH" during installation -
Install Microsoft Buildtools
Microsoft Buildtools is required for certain packages in CrewAI to run. Follow this guide to install.
-
Project Setup
# Create and enter project directory mkdir my_crewai_project cd my_crewai_project # Create and activate virtual environment python -m venv venv venv\Scripts\activate
-
Install CrewAI
pip install crewai[tools]
-
Create Project
crewai create crew <project_name>
-
Run Project
cd <project_name>
-
Run Project
crewai run
Try setting up your first crew with Crewai's quickstart guide
HIGHLY recommended to do the two Deeplearning.ai courses mentioned earlier in this guide! Now have some fun!
- Always use a virtual environment to avoid package conflicts
- Keep your API keys secure and never commit them to version control
- Check the official documentation for troubleshooting and updates