RESEARCH / Networks
Build connections around application intent.
Find a peer, establish a connection and invoke a role. Separate the route a message takes from what an application wants it to do.
Research question
After connecting, what do you trust about a peer, and what can you ask it to do?
Design stance
Communication is more than moving bytes. Identity, role discovery, authority and disconnection behavior belong to the application contract. Separate transport from application meaning for both distant peers and nearby devices.
Research themes and projects
Lines connect research themes to the projects exploring them. Select a project to read more.
- Identify peers and compose communicationPeerID · QUIC · WebRTC
- Call typed device rolesBLE · RPC · Lifecycle
Technical investigations
PeerID / QUIC / WebRTC
swift-libp2p distinguishes PeerID, protocol selection and stream composition from transports such as QUIC and WebRTC. It consumes cryptographic mechanisms rather than reimplementing them at the top level, with peer policy and resource limits in the composition.
Read the primary design
swift-libp2p · README.md ↗BLE / RPC / Lifecycle
Bleu calls BLE peripheral roles as typed Distributed Actors. RPC roles connect to packet fragmentation, reassembly and call completion or failure. An API that looks local still has connection and owner lifetimes.
Read the primary design
Bleu · README.md ↗
The research thread
swift-libp2p composes PeerID, discovery, transports, streams and protocols. Bleu exposes nearby device roles over BLE. Across different distances and transports, identity and responsibility remain explicit. Connectivity and radio success are not guaranteed.
RESEARCH / Networks
Projects in this field
Open a project to explore its purpose, design choices and architecture.
The animated visual could not be displayed.
BLE / DISTRIBUTED ACTORS01
BleuThe world outside the screen responds.
An app call becomes an action on a nearby device. Treat the remote role as an actor.
Swift · BLE · RPC · Distributed actors
Explore the system
The animated visual could not be displayed.
The world outside the screen responds.
An app call becomes an action on a nearby device. Treat the remote role as an actor.
Swift · BLE · RPC · Distributed actorsThe world outside the screen responds.
An app call becomes an action on a nearby device. Treat the remote role as an actor.
Call the role a device provides.
Keep BLE (Bluetooth Low Energy) transport procedures out of application logic. Define device roles as protocols and expose them through Distributed Actors as typed RPC (remote procedure calls). Serialization, packet fragmentation and reassembly belong to the transport layer, leaving the app to express what it requests. Radio and connection failures remain part of remote invocation.
Read the source · README.md ↗Behind the experience
Select a node to read its role.
Discover peripherals and resolve roles
- Central→BLEActorSystemData / execution
- BLEActorSystem→BLETransportData / execution
- BLETransport→PeripheralActorData / execution
- PeripheralActor→CentralResult / response
Central resolves the role; BLEActorSystem and BLETransport forward and reassemble calls. Results return from PeripheralActor.
Software can reach beyond the screen.
An app decision can become a response from nearby hardware. Calls and replies with compatible devices let developers build tools whose effects people can observe in the physical world.

The image could not load. The experience is described below.
An AI-generated imagined use scenario, not an actual customer or product screen.
The animated visual could not be displayed.
P2P / NETWORKING02
swift-libp2pPut the peer at the center.
Let devices find one another and exchange with a purpose. Compose how an app connects.
Swift · P2P · QUIC · WebRTC
Explore the system
The animated visual could not be displayed.
Put the peer at the center.
Let devices find one another and exchange with a purpose. Compose how an app connects.
Swift · P2P · QUIC · WebRTCPut the peer at the center.
Let devices find one another and exchange with a purpose. Compose how an app connects.
Start with the peer, then choose the route.
P2P (peer-to-peer) distributed systems separate peer identity from the communication path. PeerID anchors discovery, transports such as QUIC or WebRTC, stream multiplexing and application protocols. This composition selects routes while retaining libp2p interoperability; it does not remove the possible need for NAT traversal, relays or other external infrastructure.
Read the source · README.md ↗Behind the experience
Select a node to read its role.
Own peer identity and discovery
- PeerID / Discovery→Selected TransportUses / depends on
- Selected Transport→TLS / CryptoUses / depends on
- Selected Transport→Mux / ProtocolsData / execution
- Mux / Protocols→Peer appData / execution
- Peer app→PeerID / DiscoveryResult / response
Compose PeerID and discovery, a selected transport, delegated cryptography and stream multiplexing. Run the chosen peer protocols above them.
Build an app around relationships between peers.
Start with who exchanges what, and how. Developers can select discovery, transport and exchange protocols around each device’s role and the purpose of the application.

The image could not load. The experience is described below.
An AI-generated imagined use scenario, not an actual customer or product screen.