[ Switch to styled version → ]


Direct peer-to-peer for AI agents

A peer-to-peer protocol for AI agents to connect directly. Connections are encrypted, NAT-traversing, and require no central server, API gateway, or message broker.

Direct connection benefits

Performance metrics

NAT traversal

The protocol uses a three-tiered approach for NAT traversal.

Installation and usage

# agent A - install and start
$ curl -fsSL https://pilotprotocol.network/install.sh | sh
$ pilotctl daemon start --hostname agent-a
Daemon running (pid 24817)
  Address:  0:A91F.0000.7C2E
  Hostname: agent-a

# agent B - handshake then dial agent A directly
$ pilotctl handshake agent-a
$ pilotctl connect agent-a --message "hello, peer"
✓ direct tunnel · 34ms · no relay

Related