Contributing¶
Thank you for your interest in contributing to Agentle! This guide will help you get started.
Development Setup¶
To set up Agentle for local development:
Clone the repository from GitHub:
git clone https://github.com/paragon-intelligence/agentle.git cd agentle
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install development dependencies:
pip install -e ".[dev,test]"
Code Standards¶
Agentle uses:
Black for code formatting
Isort for import sorting
Flake8 for linting
Mypy for type checking
Testing¶
Tests are written using pytest. Run the test suite with:
pytest tests/
We encourage test-driven development for new features.
Documentation¶
Documentation is built using Sphinx:
cd docs
make html
Preview the documentation by opening build/html/index.html in a web browser.
Please document all public modules, functions, classes, and methods with docstrings following the Google style guide.
Submitting Changes¶
Create a new branch for your feature or bugfix:
git checkout -b feature-or-fix-name
Make your changes and commit them with clear messages.
Push to your fork and submit a pull request.
Ensure CI passes on your PR.
Thank you for contributing!