We love contributions! Here's how to get started.
git clone https://github.com/NullStateGGH/nullstate.git
cd nullstate
pip install -e . --break-system-packages
python3 src/network/gateway.py &
python3 src/network/mcp_server.py &# Unit tests (fast, no deps)
pytest tests/ -m unit -v
# All tests
pytest tests/ -vruff check src/
ruff check src/ --fix # auto-fixWe follow PEP 8 with line-length 120 (configured in pyproject.toml).
- One PR = one feature/bug. Keep it focused.
- Tests included for new functionality.
- No secrets — never commit
.env, keys, or credentials. - Lint clean — run
ruff check src/before submitting. - Update docs if you change endpoints or config.
src/
├── core/ # Database, billing, payment gateways, config
├── network/ # HTTP gateway, MCP server, AP2 protocol
├── nullstate/ # HOD engine, model API, feedback loops
├── finance_bdm/ # Finance & business development subagent
├── integrations/ # RapidAPI, OpenRouter, marketplace handlers
├── wallet/ # RSA + Solana key management
├── worker/ # Processing, telemetry, content engine
├── agents/ # AI crawler and scoring
├── system/ # Daemon loop, self-healing
└── extensions/ # GitHub, VS Code, browser, MCP Hub
- Open a Discussion
- Check the docs
By contributing, you agree that your contributions will be licensed under the MIT License.