Thanks for your interest in contributing! Here's how to get started.
- Fork the repo
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/agent-hub.git - Install dependencies:
npm install - Create a branch:
git checkout -b my-feature - Make your changes
- Test locally:
npm start - Commit and push:
git push origin my-feature - Open a Pull Request
npm run dev # Run with dev tools enabled
npm start # Run normally- Create a new file in
providers/(e.g.,providers/my-provider.js) - Export
chat()orstream()andping()methods - Register IPC handlers in
main.js - Add UI support in
index.html
Look at existing providers for reference — openai-compat.js is a good starting point.
- Keep PRs focused — one feature or fix per PR
- Test your changes locally before submitting
- Follow the existing code style
- Update the README if you're adding a new provider or feature
Open an issue at https://github.com/Potarix/agent-hub/issues with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Your OS and Node.js version
If you find a security vulnerability, please email omar.dadabhoy@gmail.com instead of opening a public issue.
By contributing, you agree that your contributions will be licensed under the MIT License.