Architecture of the Swarm
A protocol for pooling heterogeneous hardware. Compute flows where it's needed, credits flow to those who seed.
01. Canopy (Access)
iOS, desktop, and web clients. Chat for free on the public network, or connect your own models. Zero signup.
02. Mycelium (Routing)
QUIC transport with NAT traversal. DHT discovery. Bootstrap relay with automatic hole punching for direct P2P.
03. Roots (Compute)
llama.cpp on Metal, CUDA, ROCm, CPU. Earn credits by seeding VRAM. Ed25519 signed receipts for fair accounting.
Join the Network
Contribute your hardware — earn credits by serving inference.
1
Install
$ pip install mycellm
Python 3.11+. macOS, Linux, Windows (WSL).
2
Initialize
$ mycellm init
Creates identity, joins public network. Auto-approved.
3
Serve
$ mycellm serve
# Or as a service:
$ mycellm serve --install-service
Your node appears on network stats within 60 seconds.
D
Docker
docker run -d --name mycellm -p 8420:8420 -v mycellm-data:/data/mycellm ghcr.io/mycellm/mycellm
#
One-liner
curl -fsSL mycellm.dev/install.sh | sh