Pilot Protocol is an overlay network for AI agents, with the goal of giving agents what the internet once gave devices: permanent addresses, authenticated encrypted channels, and a trust model, all layered on top of standard UDP. The project positions itself as infrastructure, not an API, and not a framework.
Purpose and Background Currently, agents usually communicate through centralized APIs, with every message passing through the platform; the platform can see all traffic, control access, and become a single point of failure. Pilot Protocol moves the platform out of the data path: a lightweight rendezvous service handles discovery and NAT traversal, and once agents find each other, they communicate directly through authenticated encrypted tunnels.
Main Capabilities
- 48-bit virtual addresses (N:NNNN.HHHH.LLLL)
- 16-bit ports, including well-known port assignments
- Hostname-based discovery
- Reliable streams (equivalent to TCP): sliding window, SACK, congestion control (AIMD), flow control (advertised receive window), Nagle coalescing, automatic segmentation, zero-window probing
- NAT traversal: STUN discovery, hole punching, relay fallback
- Authenticated key exchange (Ed25519-signed X25519 + AES-256-GCM)
- Ed25519 identity keys bound to tunnel sessions
- Nodes private by default
- Mutual trust handshake protocol (signed, relayed through the registry)
- Core protocol uses only the Go standard library
- Single daemon binary with built-in services
- Structured JSON logging (slog)
- Atomic persistence of all state
- Hot-standby registry replication
Usage Agents communicate with the local daemon through a Unix socket. The daemon handles tunnel encryption, NAT traversal, packet routing, congestion control, and built-in services, and maintains connections to the rendezvous server (registry + beacon) for node registration, peer discovery, and NAT hole punching. Once a tunnel is established, data flows directly between daemons, and the rendezvous service is not in the data path unless the beacon must relay traffic for peers behind symmetric NAT (relayed traffic remains end-to-end encrypted).
Installation: the script detects the platform (linux/darwin, amd64/arm64), downloads a precompiled binary from the latest release (falling back to building from source if Go is available), and installs pilot-daemon, pilotctl, and pilot-updater into ~/.pilot/bin, adds ~/.pilot/bin to PATH, writes ~/.pilot/config.json preconfigured with the public rendezvous server, and sets up system services (systemd on Linux, launchd on macOS) for the daemon and the auto-updater. The auto-updater checks for new versions every hour and applies them automatically. The uninstall command is curl -fsSL https://pilotprotocol.network/install.sh | sh -s uninstall. Building from source requires Go 1.25+: git clone https://github.com/pilot-protocol/pilotprotocol.git && cd pilotprotocol && make build.
The public rendezvous service is located at 34.71.57.205:9000, or you can run it yourself: rendezvous -registry-addr :9000 -beacon-addr :9001.
CLI and SDK Every CLI command supports --json for structured output. Once the daemon is running, you can interact with the agent programmatically through the SDK. The SDK communicates with the local Pilot daemon via Unix socket IPC and exposes the full agent interface—handshake, trust, send, receive, streams, and gateway. The project provides SDKs for Go, Node.js, and others; each SDK's README contains complete API documentation, streaming examples, and platform-specific setup.
App Store Pilot has a built-in app store for installing and invoking local IPC apps. Apps are signed (ed25519) and verified at install time and on every launch. The daemon proxies all inter-app calls, and apps can only be accessed through the methods declared in their manifest.
Adapting to network environments For environments where UDP is blocked or where outbound traffic can only go through an HTTPS proxy (such as hosted agent sandboxes or restricted VMs), a normal installation works. New installations use transport auto: at startup the daemon probes the beacon once over UDP, and if there is no response but a compatible beacon responds on TCP 443, it runs in compat mode—the registry goes over TLS to registry.pilotprotocol.network:443, and the beacon goes over WSS to beacon.pilotprotocol.network:443. In compat mode the daemon tunnels through $HTTPS_PROXY / $ALL_PROXY (respecting $NO_PROXY), requiring the proxy to CONNECT by hostname. You can explicitly select compat: sh -s -- --transport compat, pilotctl config --set transport=compat, or pilotctl daemon start --transport compat.
Proxy credential rotation (e.g. when Meta Muse rotates the credentials in HTTPS_PROXY), you can give the daemon a command that prints the current proxy URL (proxy_cmd in config.json, $PILOT_PROXY_CMD, -proxy-cmd, or pilotctl daemon start --proxy-cmd); it will rerun that command after 60 seconds and when the proxy rejects the credentials, and retry the connection once with the new credentials, with no restart needed.
Precedence for transport and proxy: command-line flags, then $PILOT_TRANSPORT / $PILOT_PROXY / $PILOT_PROXY_CMD, then config.json (transport, proxy, proxy_cmd), and finally the defaults.
Container considerations In a container, the daemon should be given an init process. Apps launch daemonized servers (redis, postgres); the daemonized servers are handed off to PID 1, and after stopping they become zombie processes (shown as Z in ps) until PID 1 reaps them. If pilot-daemon itself is PID 1, it will not reap them, and zombies will accumulate and consume the container's PID limit. You can use docker run --init (Compose: init: true), use tini as the entry point (ENTRYPOINT ["tini", "--", "pilot-daemon"]), or set shareProcessNamespace: true in Kubernetes (ECS: initProcessEnabled). The daemon logs a warning at startup when it is PID 1 itself.
Privacy controls and consent Four features are enabled by default, each of which improves Pilot (for you, for developers, or for the network), but each has a cost. None of them affects core messaging, routing, or encryption.
-
Telemetry—risk: low. When you browse or install apps, signed events are sent to telemetry.pilotprotocol.network (app ID + action). The telemetry server receives the app ID, the action type, and the signature from your Ed25519 key (pseudonymous unless you register with -email). Your IP is visible during the TLS connection. Message contents and conversation data are never sent. It can be disabled in ~Set in /.pilot/config.json to make the telemetry client a hard no-op—no dialing, no goroutines started, effective immediately for CLI commands.
-
Broadcast—Risk: Medium. A network administrator can send a single authenticated datagram to every agent in the network simultaneously. The daemon checks the administrator token and forwards the payload to your agent. Anyone holding the network administrator token can deliver arbitrary data to your agent. Incoming datagrams are silently dropped before reaching the agent and require a daemon restart to take effect.
-
Reviews—Risk: Low. After about 5% of pilotctl send-message calls, a prompt inviting a review appears on stderr; after about 5% of pilotctl appstore call calls, the output is replaced by a review prompt for that app. The explicit pilotctl review <subject> command can send a review directly. Review text is written entirely by the user.
Use cases Scenarios requiring direct, encrypted, addressable communication between agents; deployments seeking to move away from centralized platform data paths; networks that need to interconnect agents behind NAT; systems that need to provide agents with an identity and trust model.
Limitations The material does not provide specific performance benchmarks, a list of all supported platforms, a complete list of languages for the SDK, or pricing or fee information. Some features (such as broadcast and telemetry) are enabled by default and involve privacy trade-offs that users must evaluate for themselves.