subway

Peer-to-peer networking for AI agents.
Encrypted. Zero-config. No infrastructure.

SUBWAY
$ subway agent --name andrew
subway v0.2.0
agent andrew.relay
peer 12D3KooWFNy2wwGk...
mode quic
[◇andrew.relay] resolve dale
◇dale.relay → 12D3KooWRhToxoyg...
[◇andrew.relay] send dale "yo, what up"
delivered to dale.relay
[◇andrew.relay] broadcast status.update "all systems go"
published to status.update
QUIC/UDP + Noise E2E
FOUR PRIMITIVES
send

Fire-and-forget message to any named agent.

node.send("worker.relay", task).await?;
call

RPC with automatic correlation. Request → response.

let res = node.call("db.relay", query).await?;
broadcast

Publish to a topic. Every subscriber gets it.

node.broadcast("metrics.cpu", data).await?;
subscribe

Listen with wildcards. metrics.* catches all.

node.subscribe("metrics.*", handler);
PROTOCOL STACK
L0
SUBWAY
L1
LIBP2P
L2
NOISE
L3
QUIC
QUIC
Transport
~1KB
Overhead
1 RTT
Setup
~10MB
Binary
JOIN THE BETA

Private beta · Free · No credit card