Installation¶
Prerequisites¶
Install uv¶
uv is a fast Python package installer and resolver written in Rust. It's required for this project.
Python Version¶
This project requires Python 3.10 or higher. Check your version:
Installation Steps¶
1. Clone the Repository¶
git clone https://github.com/Strategic-Automation/dspy-compounding-engineering.git
cd dspy-compounding-engineering
2. Install Dependencies¶
Using uv, dependencies are automatically managed:
This will:
- Create a virtual environment in
.venv/ - Install all required dependencies from
pyproject.toml - Lock dependencies in
uv.lock
3. Install Development Dependencies (Optional)¶
For documentation and testing:
This adds:
- MkDocs and Material theme for documentation
- pytest and coverage tools
- Ruff for linting
Next Steps¶
Installation Complete!
You're ready to configure your environment and start using the tool.
Continue to:
- Configuration - Set up your LLM provider
- Quick Start - Run your first workflow
Troubleshooting¶
uv Command Not Found¶
After installation, you may need to restart your shell or source your profile:
Python Version Issues¶
If uv sync fails due to Python version, install Python 3.10+:
Dependency Conflicts¶
If you encounter dependency resolution issues:
Verifying Installation¶
Test that everything is installed correctly:
You should see the CLI help output with available commands.