Thank you for your interest in contributing to the Allos Agent SDK! This guide will help you set up a local development environment.
- Git
- Python 3.9+
uv(our recommended package manager). If you don't have it, install it here.
First, fork the repository on GitHub. Then, clone your fork locally:
git clone https://github.com/YourUsername/allos-agent-sdk.git
cd allos-agent-sdkWe provide a convenient script that automates the entire setup process.
# Make the script executable (if needed)
chmod +x scripts/setup_dev.sh
# Run the setup script
./scripts/setup_dev.shThis script will:
- Check for
uv. - Create a virtual environment in
.venv/, preferring Python 3.9 if available. - Install all required and development dependencies using
uv. - Install pre-commit hooks for automated code formatting and linting.
- Create a
.envfile from the example for you to add your API keys.
Activate the virtual environment created by the script:
source .venv/bin/activateOpen the newly created .env file and add your API keys for the providers you wish to test. This is required for running the integration tests.
# .env
OPENAI_API_KEY="your_openai_key"
ANTHROPIC_API_KEY="your_anthropic_key"To verify your setup is working correctly, run the test suite.
# Run all unit tests
./scripts/run_tests.sh
# Run unit and integration tests (requires API keys)
./scripts/run_tests.sh --run-integrationFor more details, see the Testing Guide.
You are now ready to start developing!