Thank you for your interest in contributing to OpenAgents! This document provides guidelines and instructions to help you contribute effectively.
- Code of Conduct
- Getting Started
- How to Contribute
- Development Workflow
- Coding Standards
- Testing
- Documentation
- Community
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/openagents.git cd openagents - Set up the development environment:
# Install dependencies pip install -e ".[dev]"
- Create a branch for your work:
git checkout -b feature/your-feature-name
If you find a bug, please report it by creating an issue on our GitHub repository. When filing a bug report, please include:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Any relevant logs or screenshots
- Your environment (OS, Python version, etc.)
We welcome feature suggestions! To suggest a feature:
- Check if the feature has already been suggested or implemented.
- Create a new issue describing the feature and its benefits.
- Use the "feature request" label if available.
- Update your fork to the latest code from the main repository.
- Create a new branch for your changes.
- Make your changes, following our coding standards.
- Add or update tests as necessary.
- Update documentation if needed.
- Submit a pull request with a clear description of the changes.
- Commit Messages: Write clear, concise commit messages that explain the changes made.
- Branch Naming: Use descriptive branch names (e.g.,
feature/add-new-agent,fix/memory-leak). - Keep PRs Focused: Each PR should address a single concern.
- Follow PEP 8 style guidelines for Python code.
- Use meaningful variable and function names.
- Write docstrings for all functions, classes, and modules.
- Keep functions small and focused on a single task.
- Comment complex code sections.
- Write tests for all new features and bug fixes.
- Ensure all tests pass before submitting a PR.
- Aim for good test coverage.
To run tests:
pytest- Update documentation for any changed functionality.
- Document new features thoroughly.
- Use clear, concise language in documentation.
- Join our community discussions to ask questions and share ideas.
- Help answer questions from other contributors.
- Be respectful and constructive in all interactions.
Thank you for contributing to OpenAgents!