Requirements
GEPA requires Python 3.10 or later (up to Python 3.14).GEPA uses LiteLLM under the hood for LLM calls, which supports 100+ LLM providers including OpenAI, Anthropic, Google, Azure, AWS, and more.
Install via pip
Install GEPA from PyPI:Install with Full Dependencies
For complete functionality including experiment tracking with W&B and MLflow:full extra includes:
litellm— LLM API calls to 100+ providersdatasets— Dataset loading utilitiesmlflow— Experiment trackingwandb— Weights & Biases integrationtqdm— Progress bars
Install from Source
To install the latest development version from GitHub:Development Installation
If you want to contribute to GEPA or modify the source code:Install uv (recommended)
GEPA uses uv for dependency management:
Install dependencies
pytest— Testing frameworkruff— Linter and formatterpyright— Type checkerpre-commit— Git hooks
Optional Extras
GEPA provides several optional dependency groups:Test Dependencies
For running the test suite:Build Dependencies
For building and publishing packages:Development Dependencies
Includes everything needed for development:gskill Dependencies
For the gskill coding agent optimization features:Environment Variables
Set your LLM provider API keys as environment variables:Verify Installation
Verify that GEPA is installed correctly:Next Steps
Quick Start
Run your first optimization
Examples
Explore example notebooks
Troubleshooting
ImportError: No module named ‘litellm’
If you see this error, install the full dependencies:Python Version Compatibility
GEPA requires Python 3.10 or later but less than 3.15. Check your Python version:Windows Installation
On Windows, you may need to install Visual C++ build tools for some dependencies. Download from Microsoft’s website.Getting Help
If you encounter issues:- Check the GitHub Issues
- Join the Discord community
- Join the Slack workspace