How to run your own EVO-AI node.
---
git clone https://github.com/evo-ai/evo-ai.git # (TBD) # or download from HuggingFace Space hf download evo-ai/evo-ai-public --local-dir ./evo-ai
cd evo-ai pip install -r requirements.txt
python distributed/public_api.py # Server runs at http://0.0.0.0:8765
python distributed/aliyun_network.py # Connects to evo-ai-public-network-2026 # You become a node!
---
---
Best for: demos, public mirror, low-traffic inference
hf login # need HF token hf repo create evo-ai-myname --type space --space-sdk gradio # Upload files in hf_space/ git remote add hf https://oauth2:$HF_TOKEN@huggingface.co/spaces/yourname/evo-ai git push hf main
Free tier:
Best for: GPU inference, serverless scale
pip install modal modal token new # auth modal deploy distributed/modal_app.py # deploy
Free tier:
Best for: cheap GPU training runs
pip install vastai vastai search offers 'gpu_name=RTX_4090 reliability>0.9' vastai create instance <ID> --image pytorch/pytorch vastai ssh <ID> # Train your model on the rented box
Pricing (2026):
Best for: production deployment with API
pip install cog cog build -t evo-ai cog push r8.im/yourname/evo-ai
Pricing:
Best for: predictable pricing, easy SDK
pip install runpod # Deploy via web console or API
Free tier:
---
# distributed/config.yaml
node:
name: "my-evo-ai-node"
capabilities: ["text_generation", "self_evolution"]
network:
openagents:
host: "47.253.174.153"
port: 8700
network_id: "evo-ai-public-network-2026"
websocket:
host: "0.0.0.0"
port: 8765
heartbeat_interval: 30 # seconds
training:
model:
d_model: 128 # Try 256 for Phase 2
n_layer: 4 # Try 8
n_head: 4 # Try 8
block_size: 64 # Try 128
data:
sources: ["tinyshake", "gutenberg", "crawled"]
batch_size: 32
evolution:
population_size: 4
es_lambda: 0.1
merge_interval: 100 # generations
anti_collapse:
entropy_weight: 0.1
novelty_weight: 0.2
diversity_weight: 0.3
---
EVO-AI nodes periodically sync weights via OpenAgents network.
Node A trains β save weights β broadcast hash Node B trains β save weights β broadcast hash Network coordinator: collect hashes, send gradient updates All nodes: receive gradient, apply to local weights
---
curl http://localhost:8765/api/train_status
Returns:
{
"generation": 1234,
"latest_train_loss": 1.45,
"latest_test_ppl": 0.85,
"source": "local"
}
curl http://47.253.174.153:80/api/nodes
Returns:
{
"nodes": [
{"id": "node-1", "ip": "...", "last_seen": "..."}
],
"total": 3
}
---
---
---
After deploying:
1. Register your node in the network (`/api/register`)
2. Sync weights with other nodes (`/api/sync`)
3. Donate to support scaling (`/donate`)
4. Recruit more nodes (broadcast invitations)
Welcome to the distributed self-evolving AI network! π§¬