Thank you for your interest in contributing to ClawBox! This guide will help you get started.
- Node.js >= 20
- Python >= 3.10 (for benchmarks)
- Git
# Clone the repository
git clone https://github.com/Clawland-AI/OpenclawBox.git
cd OpenclawBox
# Install dependencies for all packages
cd packages/cheaprouter && npm install && cd ../..
cd packages/fleet-server && npm install && cd ../..
cd packages/fleet-agent && npm install && cd ../..
cd packages/fleet-console && npm install && cd ../..
# Start all services in demo mode
./scripts/clawboxctl startpackages/
cheaprouter/ # CheapRouter - ClawRouter integration wrapper
fleet-server/ # Fleet management server
fleet-agent/ # Device-side agent
fleet-console/ # Web dashboard (React + Vite)
benchmarks/ # Reproducible cost/latency benchmarks
docs/ # Documentation source (Docusaurus)
scripts/ # Install and management scripts
deploy/ # Docker Compose and env templates
Use the Bug Report issue template.
Use the Feature Request issue template.
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Run tests:
npm testin the relevant package - Commit with a descriptive message
- Push to your fork and open a Pull Request
We follow Conventional Commits:
feat: add new routing strategy
fix: correct fallback timeout handling
docs: update quickstart guide
chore: update dependencies
- JavaScript/Node.js: We use ESLint + Prettier. Run
npm run lintbefore committing. - Python: Follow PEP 8. Use
blackfor formatting. - Documentation: Markdown, 80-char line width preferred.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.