> ## Documentation Index
> Fetch the complete documentation index at: https://www.offlineprotocol.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Core Concepts

> Understand the foundational ideas behind Offline Protocol, including networking, security, and communication mechanisms.

Offline Protocol is designed to enable resilient, community-driven communication and interaction even in environments with unreliable or no internet access. It combines local networking, cryptographic security, and decentralized coordination to create a parallel layer of connectivity.

## Core Components of the Offline Protocol

* **Device Discovery**\
  Uses Bluetooth LE or Wi-Fi Direct to detect and connect with nearby peers without relying on cellular networks or traditional infrastructure.

* **Session Establishment**\
  Secure handshake process with asymmetric cryptography (public/private key exchange) to ensure authenticity and confidentiality.

* **Message Relay**\
  Opportunistic relay nodes can extend communication range by forwarding data across devices, creating mesh-like connectivity.

* **Store-and-Forward**\
  Messages are cached temporarily on intermediate devices until the intended recipient becomes available, ensuring eventual delivery even without constant connectivity.

* **Cryptographic Security**\
  Every message is signed and optionally encrypted, ensuring tamper-proof communication and protecting user privacy.

* **Decentralized Identity**\
  Users can establish self-sovereign identities tied to cryptographic keys, enabling trust without centralized authorities.

* **Local-First Networking**\
  Communication prioritizes proximity—devices exchange data directly before relying on internet gateways, reducing dependency on centralized servers.

* **Resilient Communication Layer**\
  By working independently of the global internet, Offline Protocol creates a fallback communication system during outages, censorship, or disasters.

<img src="https://mintcdn.com/offlineprotocol/mOsIVS7YHl59BE2m/images/Message-Relay.svg?fit=max&auto=format&n=mOsIVS7YHl59BE2m&q=85&s=02d19f3e982e7e00321f08fa5f6d7a57" alt="Message relays" width="780" height="520" data-path="images/Message-Relay.svg" />
