Thank you for your interest in contributing to the AIVory Monitor Python Agent. Contributions of all kinds are welcome -- bug reports, feature requests, documentation improvements, and code changes.
- Bug reports: Open an issue at GitHub Issues with a clear description, steps to reproduce, and your environment details (Python version, OS, framework).
- Feature requests: Open an issue describing the use case and proposed behavior.
- Pull requests: See the Pull Request Process below.
- Python 3.8 or later
- pip
cd monitor-agents/agent-python
pip install -e ".[dev]"
pytestAIVORY_API_KEY=your-key python -c "import aivory_monitor; aivory_monitor.init()" app.py- Follow the existing code style in the repository.
- Write tests for all new features and bug fixes.
- Use type hints throughout.
- Keep
sys.settraceandsys.excepthookusage minimal and well-documented. - Ensure compatibility across Python 3.8+.
- Fork the repository and create a feature branch from
main. - Make your changes and write tests.
- Ensure all tests pass (
pytest). - Submit a pull request on GitHub or GitLab.
- All pull requests require at least one review before merge.
Use GitHub Issues. Include:
- Python version and OS
- Agent version
- Framework (Django, Flask, FastAPI, etc.) if applicable
- Error output or stack traces
- Minimal reproduction steps
Do not open public issues for security vulnerabilities. Report them to security@aivory.net. See SECURITY.md for details.
By contributing, you agree that your contributions will be licensed under the MIT License.