Thanks for your interest in contributing! GlassBox AI is built by the community, for the community.
# 1. Fork and clone
git clone https://github.com/glassbox-ai-labs/glassbox-ai
cd glassbox-ai
# 2. Install dependencies
pip install -r requirements.txt
# 3. Set up your API key
cp .env.example .env
# Edit .env with your OpenAI API key
# 4. Run tests
pytest tests/test_glassbox.py -v # 20 unit tests (no API key needed)
pytest tests/ -v # all tests (needs API key)- Open an Issue using the Bug Report template
- Include: what you expected, what happened, steps to reproduce
- Open an Issue using the Feature Request template
- Or start a Discussion
- Check Issues — look for
good-first-issueandhelp-wantedlabels - Comment on the issue to claim it
- Fork → branch → code → test → PR
- Create a branch:
git checkout -b feature/your-feature - Make your changes
- Run tests:
pytest tests/test_glassbox.py -v - Commit with a clear message:
git commit -m "feat: add custom debate strategies" - Push and open a PR against
main
src/glassbox/
├── server.py # MCP server — 4 tools
├── orchestrator.py # Debate engine + parallel execution
└── trust_db.py # SQLite trust persistence
tests/
├── test_glassbox.py # 20 unit tests
└── test_integration.py# 5 integration tests (needs API key)
- Keep it simple — the entire core is ~200 lines
- No unnecessary abstractions
- Tests for every new feature
- Type hints where practical
- Debate strategies — devil's advocate, red team, Socratic
- Multi-model support — Anthropic Claude, Google Gemini, local models
- Trust visualization — dashboard for trust score evolution
- Documentation — tutorials, examples, use cases
- Domain adapters — medical, defence, legal compliance modes
Please read our Code of Conduct before contributing.
# TODO: agents.build(future together)