# GLP Networking API Specification

DevFeed: [GLP Networking API Specification](<https://devfeed.tech/articles/glp-networking-api-specification-100170.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32583>)

Author: Dan Bachar, Ehud Shapiro

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [Bluetooth LE](<https://devfeed.tech/topics/bluetooth-le.md>), [NAT and SNAT](<https://devfeed.tech/topics/nat-and-snat.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [api](<https://devfeed.tech/tags/api.md>), [apple](<https://devfeed.tech/tags/apple.md>), [application](<https://devfeed.tech/tags/application.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [attestation](<https://devfeed.tech/tags/attestation.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [bluetooth-low-energy](<https://devfeed.tech/tags/bluetooth-low-energy.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [delivered](<https://devfeed.tech/tags/delivered.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [developer](<https://devfeed.tech/tags/developer.md>), [ed25519](<https://devfeed.tech/tags/ed25519.md>), [google](<https://devfeed.tech/tags/google.md>), [graph](<https://devfeed.tech/tags/graph.md>), [handshake](<https://devfeed.tech/tags/handshake.md>), [networking](<https://devfeed.tech/tags/networking.md>), [specification](<https://devfeed.tech/tags/specification.md>)

## AI overview

The specification defines the networking layer madGLP needs for agents on smartphones to communicate over Bluetooth LE, local networks, and the Internet across NAT. It provides only services GLP cannot supply: networking, location, application attestation, and cryptographic primitives. PAN and LAN use rotating, key-derived recognition tokens; GLP sets whether an agent responds to unrecognized contacts. For WAN, a static-address rendezvous server coordinates hole punching without relaying payload or joining a social graph. Across all underlays, peers establish mutually authenticated Noise sessions using Ed25519 keys and attest, bound to the handshake, that they run an application published under its developer's key; verification uses Apple's and Google's roots without contacting a third party. A shared protocol over UDP datagrams and GATT writes provides the fair, unordered, atomic, authenticated delivery madGLP assumes.

## Source excerpt

arXiv:2610.32583v1 Announce Type: cross Abstract: Multiagent deterministic GLP (madGLP) runs Grassroots Logic Programs (GLP) as agents that communicate solely by asynchronous message passing, and assumes fair delivery: every message sent is eventually delivered. Each agent runs on a person's smartphone, named by the person's public key. A grassroots platform depends on no global resource but the network, so agents must reach one another over Bluetooth Low Energy, on a local network, and across the Internet from behind NAT, via rendezvous servers anyone can run. What madGLP requires of such a network, and what the network requires of the platform, has not been specified. We specify the networking layer beneath madGLP. Anything that can be done in GLP is done in GLP: the layer provides only what GLP cannot reach - the network stack, the location service, application attestation, and cryptographic primitives. Three transport underlays share one interface. Over PAN and LAN, an agent advertises a rotating recognition token derived from its key and time slot, so a peer who knows the key recognises it before contact and nobody else can track it; whether it answers unrecognised contacts is a per-underlay trust level set by GLP. Over WAN, a rendezvous server is a static-address host running the headless layer and a GLP rendezvous agent that coordinates hole punching, relays no payload, and belongs to no social graph. On every underlay, peers establish a mutually authenticated Noise session from Ed25519 keys, then attest, bound to the handshake hash, that each runs the application published under its developer's key, verified against Apple's and Google's roots with no third party contacted. One message protocol, over UDP datagrams and GATT writes, provides the fair, unordered, atomic and authenticated delivery madGLP assumes.