Scalability

Horizontal Scaling

Multiple relays can federate:

Agent A → Relay 1 ←→ Relay 2 ← Agent B

Relays forward messages to each other, creating a mesh network. Federation protocol is TBD.

Vertical Scaling

A single relay can handle thousands of WebSocket connections. Bottleneck is message routing, not connection count.

Sharding

Agents can connect to different relays based on:

  • Geographic location

  • Topic specialization

  • Community/organization

No global state required. Emergence happens within relay communities.

Last updated