First, thank you for considering contributing to AgentHub! We welcome contributions from everyone.
Be respectful, inclusive, and constructive. We're all here to build something amazing together.
Before creating bug reports, please check existing issues.
Useful bug reports:
- Title describes the problem
- Steps to reproduce included
- Expected vs actual behavior
- Environment details (OS, Python version, terminal type)
- Screenshots/logs if applicable
Enhancement suggestions are welcome! Please:
- Use a clear title
- Describe the current behavior
- Explain why the enhancement would be useful
- Provide examples if possible
We accept PRs for:
- Bug fixes
- New features
- Documentation improvements
- Test additions
- Performance improvements
# Fork the repository on GitHub
git clone https://github.com/YOUR_USERNAME/AgentHub.git
cd AgentHubpython3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txt # If requirements.txt exists
# Or install needed packages manually
pip install fastapi uvicorn pydonicgit checkout -b feature/your-feature-name
# or
git checkout -b fix/your-bug-fix- Write clean, readable code
- Follow existing code style
- Add tests for new features
- Update documentation
# Run the team system
./scripts/start_team.sh
# Run tests (if available)
python3 -m pytest
# Test manually with your changesgit add .
git commit -m "Brief description of changes"Commit message format:
Type(scope): description
Examples:
feat(router): add message retry logic
fix(cli): handle empty inbox gracefully
docs(readme): update installation instructions
git push origin feature/your-feature-nameThen create a Pull Request on GitHub.
## Description
Brief description of changes
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Testing
How did you test these changes?
## Screenshots (if applicable)
## Checklist
- [ ] Code follows project style
- [ ] Self-review completed
- [ ] Comments added to complex code
- [ ] Documentation updated
- [ ] No new warnings generated- Follow PEP 8
- Use type hints where appropriate
- Add docstrings to functions/classes
- Keep functions focused and small
def send_message(from_agent: str, to_agent: str, text: str) -> bool:
"""
Send a message between agents.
Args:
from_agent: Sender agent ID
to_agent: Receiver agent ID
text: Message content
Returns:
True if message sent successfully
"""
# Implementation...- Use
set -efor error handling - Quote variables:
"$VAR" - Add comments for non-obvious logic
Understanding the codebase:
src/
├── router/ # Message routing core
├── api/ # HTTP server endpoints
├── cli/ # Command-line interface
├── protocol/ # Message type definitions
├── state/ # State management
├── storage/ # Persistent storage (JSONL)
└── launcher/ # Terminal window launcher
- Linux support
- Windows support
- Web dashboard
- More AI model integrations
- Test coverage
- Documentation improvements
- Performance optimizations
- Docker support
- Open a Discussion
- Tag maintainers in issues
- Check existing documentation
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to AgentHub!