We are committed to providing a friendly, safe, and welcoming environment for all contributors. Please read and follow our Code of Conduct.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/agentgateway.git cd agentgateway - Add the upstream repository as a remote:
git remote add upstream https://github.com/agentgateway/agentgateway.git
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
See the DEVELOPMENT.md file for more information.
-
Rust Code:
- Run
make lintbefore submitting your changes - Ensure all tests pass with
make test - Add tests for new functionality
- Run
-
UI Code:
- Follow the project's ESLint configuration
- Run
npm run lintbefore submitting changes - Ensure all tests pass with
npm test - Add tests for new functionality
We follow the Conventional Commits specification:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools
-
Update your fork with the latest changes from upstream:
git fetch upstream git rebase upstream/main
-
Push your changes to your fork:
git push origin feature/your-feature-name
-
Create a Pull Request from your fork to the main repository.
-
Fill out the PR template with all required information.
-
Address review comments if requested by maintainers.
-
Update your PR if needed:
git add . git commit -m "address review comments" git push origin feature/your-feature-name
-
Once approved, a maintainer will merge your PR.
- Update documentation for any changes to APIs, CLIs, or user-facing features
- Add examples for new features
- Update the README if necessary
- Add comments to your code explaining complex logic
Only project maintainers can create releases. The process is:
- Update version numbers in relevant files
- Create a release branch
- Create a tag for the release
- Build and publish artifacts
- Create a GitHub release with release notes
- Join our Discord server for discussions
- Participate in our All Things AI Agents community calls
- Help answer questions in GitHub issues
- Review pull requests from other contributors
By contributing to this project, you agree that your contributions will be licensed under the project's license.
If you have any questions about contributing, please open an issue or reach out to the maintainers.