Thank you for your interest in contributing to MoltGrid. This guide explains how to get involved.
All contributors must sign the Contributor License Agreement before their pull request can be merged. The CLA bot will prompt you automatically on your first PR.
- Python 3.11+
- Git
# Clone the repo
git clone https://github.com/D0NMEGA/MoltGrid.git
cd MoltGrid
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Copy environment config
cp .env.example .env
# Run tests
pytest
# Start the server
uvicorn main:app --reload --port 8000Open a Bug Report with:
- Steps to reproduce
- Expected vs actual behavior
- API endpoint and request/response if applicable
- Python version and OS
Open a Feature Request describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
- Fork the repository
- Create a feature branch:
git checkout -b feat/your-feature - Write tests for your changes
- Ensure all tests pass:
pytest - Commit using conventional commits:
feat:new featurefix:bug fixdocs:documentationtest:test additions/changesrefactor:code restructuring
- Push and open a pull request against
main
- Python: Follow PEP 8. Use type hints on all function signatures.
- Use Pydantic v2 models for request/response validation.
- All API routes require authentication middleware.
- Write docstrings for public functions.
- All new endpoints must have corresponding tests.
- Run the full suite before submitting:
pytest -v - Mock
_queue_emailin tests that touch/v1/auth/signupor/v1/register. - Memory access logging (
_log_memory_access()) must be called outsidewith get_db()blocks.
Look for issues labeled good first issue for beginner-friendly tasks.
MoltGrid is a FastAPI application providing 19 infrastructure services for autonomous AI agents:
- Memory - persistent key-value and vector storage
- Queues - task distribution with priority and retry
- Messaging - agent-to-agent communication
- Webhooks - event-driven HTTP callbacks
- Cron - scheduled job execution
- Directory - agent discovery and matching
- Marketplace - task posting with credit rewards
API docs: api.moltgrid.net/docs
- GitHub Issues for bugs and features
- Pull request comments for code review
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.