P2P Mode (Beta)Run a P2P Worker

P2P Worker Readiness

The supported worker connection today is the authenticated Grid WebSocket at wss://api.aipowergrid.io/v1/workers/ws, using the released text or media worker. There is no supported P2P worker binary or public bootstrap network.

Run a Worker Today

Those workers authenticate with a Grid API key, advertise actual model capabilities, receive coordinator assignments, stream results, and participate in the current ledger and payout lifecycle.

P2P Release Gates

Before workers should accept jobs directly from peers, the protocol needs:

  1. A signed Grid network/epoch and authenticated node membership.
  2. Signed assignments bound to job, requester, model, limits, price, expiry, and nonce.
  3. Worker wallet/key proof and rotation without making the payout wallet a hot inference key.
  4. Input-size, content, tool, URL, and resource controls equivalent to the coordinator path.
  5. A durable receipt/result protocol that prevents replay, duplicate payout, and settlement without an accepted reservation.
  6. Validator evidence and dispute handling separated from normal job dispatch.
  7. NAT traversal, reconnect, upgrade, observability, and multi-node adversarial tests.
  8. A signed, reproducible release with a quickstart comparable to the current worker installers.

Until those gates close, do not install ad-hoc libp2p dependencies into a production worker or set prototype P2P variables expecting it to join the live Grid.