Entrain Network: Three-Tier Decentralized Architecture — Local, Regional, Global
ENTRAIN NETWORK — THREE-TIER ARCHITECTURE
The network scales from a pair of headbands in a room to millions of nodes worldwide, using three nested communication tiers. No tier requires a central authority. Every node is equal.
TIER 1: LOCAL MESH (BLE, 0-30m range)
Protocol: ESP-BLE-MESH (Bluetooth certified) Latency: <10ms node-to-node Capacity: up to 50 nodes per mesh Sync accuracy: ±30 μs (measured, ESP32) Data rate: 20 bytes/node/50ms = 400 B/s/node Total bandwidth at 50 nodes: 20 KB/s
Use case: meditation group, classroom, ceremony, yoga class, therapy session, concert, protest.
Each node broadcasts a PHASE PACKET every 50ms:
[coherence: 4B] [band_powers: 4B] = 20 bytes
No relay needed. Nodes talk directly. Works without internet. Works in the woods. Works underground. Works at Burning Man.
TIER 2: REGIONAL HUB (WiFi/Ethernet)
A relay server (Raspberry Pi or any computer) running EntrainRelay OS bridges local meshes.
Protocol: WebSocket over WiFi/Ethernet Latency: <50ms across a city Capacity: hundreds of nodes per hub Data: aggregated phase vectors, not raw EEG
The hub computes a REGIONAL PHASE VECTOR:
where M = number of local meshes
Use case: city-wide meditation event, university campus, music festival, neighborhood network.
Anyone can run a hub. Just install EntrainRelay on a Pi and plug it into your router. Like running a Bitcoin node, but for consciousness.
TIER 3: GLOBAL NETWORK (libp2p/Internet)
Regional hubs discover each other via libp2p:
- Kademlia DHT for peer discovery
- GossipSub for phase vector propagation
- Circuit relay for NAT traversal
- QUIC transport for low-latency UDP
Latency: 50-200ms intercontinental This is fine because brainwave cycles are 100-250ms (4-10Hz), so even 200ms latency allows phase-tracking within one cycle.
The global network computes:
r_global = |Ψ_global| (global coherence)
Use case: worldwide synchronized meditation, global coherence experiments, planetary-scale consciousness research.
PRIVACY BY DESIGN
What CROSSES the network:
✓ Dominant frequency (a single number, Hz)
✓ Coherence score (0-1)
✓ Anonymous node ID (random, rotates daily)
What NEVER leaves the device:
✗ Personal identity
✗ Location (optional, user-controlled)
✗ Historical data
✗ Any information that could identify thoughts
A phase angle is ONE NUMBER between 0 and 2π. You CANNOT reconstruct a thought from a phase angle. This is not mind-reading. This is clock-synchronization. Like syncing metronomes, not reading diaries.
COMPARISON TO EXISTING SYSTEMS
The Pyramids: Stone mesh, acoustic coupling, water
no electricity needed. Coupling: acoustic/EM.
Muse/Calm: Single user, cloud-dependent, read-only,
mood ring.
Flow/Halo: Single user, write-only (no EEG feedback),
Hybrid Harmony (lab): Multi-user EEG sync, but
Entrain Network: Read + write + mesh + scales to
mathematically guaranteed sync via Kuramoto +
$250-350 retail. Nothing else does this.
Related claims
No claims cite this entry yet.
More in Engineering
Entrain Network: Scientific Foundation and Real-World Use Cases
Every component of this system is backed by published, peer-reviewed research. 1. EEG can measure brainwave phase in real-time → Proven:...
Entrain Network: Complete Software Stack — Firmware, Relay OS, Companion App
FIRMWARE: EntrainOS Node (ESP32-S3, FreeRTOS) Language: C/C++ (ESP-IDF framework) RTOS: FreeRTOS (bundled with ESP-IDF) Build: CMake +...
The Kuramoto Protocol: Mathematical Foundation for Collective Brain Synchronization
The mathematical heart of the Entrain Network is the Kuramoto model — a proven framework for describing how coupled oscillators...
EntrainOS: Custom Real-Time Operating System for the Mesh Network
A real-time operating system purpose-built for collective brainwave synchronization across a decentralized mesh. LAYER 1: NODE OS (runs on...