
$GWH × Bittensor Integration Roadmap
Set up your development environment
Before connecting to Bittensor you need Python 3.8+, the Bittensor SDK, and a working knowledge of command-line tools. This step installs everything you need.
Bittensor requires Python 3.8 or higher. Check your version and install if needed.
python3 --version
# If < 3.8, install via your package manager:
# macOS: brew install [email protected]
# Ubuntu: sudo apt install python3.11 python3.11-venvIsolate your GWH subnet dependencies from your system Python.
python3 -m venv gwh-subnet-env
source gwh-subnet-env/bin/activate # Linux/macOS
# or gwh-subnet-env\Scripts\activate # WindowsThe SDK provides btcli (wallet management) and the Python library for building neurons.
pip install bittensor>=8.0.0Clone the GWH subnet repo and install it in editable mode so you can customize agents.
git clone https://github.com/genesis-world-health/bittensor-subnet.git
cd bittensor-subnet
pip install -e .You now have Python, Bittensor, and the GWH subnet code installed and ready.
Generate your coldkey and hotkey
Claim your NetUID on Bittensor
Set API keys, wallet paths, and subnet parameters
Start earning $GWH by serving health recommendations
Score miners and secure the health AI network
Go live with real $GWH distribution
The GWH subnet maps the platform's existing 75+ AI health agent architecture to Bittensor's miner/validator paradigm.
| GWH Platform | Bittensor Subnet |
|---|---|
| UserHealthContext | HealthQuerySynapse (query fields) |
| AgentRecommendationOutput | HealthQuerySynapse (response fields) |
| FiveGatesValidation | five_gates_score() in reward.py |
| BaseAgent.processWithGateValidation() | Validator assess_response_gates() |
| AgentOrchestrator | Validator forward() + weight-setting |
| 14 Basic Health Agents | AGENT_MAP in miner.py |
| Subscription Tiers | Miner specialization categories |
Every miner response is scored across five ethical dimensions. The Do No Harm gate carries the highest weight — responses that fail it are hard-capped at 0.1 reward.