Private encrypted groups you host yourself — online or off-grid.

Tycus is built for end-to-end encrypted messaging across multiple trusted user groups: a self-hosted alternative to Signal with no phone numbers, accounts, or central servers, engineered to switch seamlessly between internet (QUIC) and LoRa radios.

Four guarantees behind every message

You get the day-to-day privacy and group ergonomics of a modern encrypted messenger, backed by infrastructure your own group controls and radios that keep working when the internet doesn't.

Your network, your keys — zero accounts

No phone numbers, email addresses, or company cloud servers. Anchor each private network with your own key, onboard phones with a single QR invite that pushes LoRa radio settings automatically, and keep separate groups or networks isolated on one phone (family, field team, local club).

Signal-class E2EE groups (RFC 9420 MLS)

Small trusted groups (~60 members) get modern end-to-end encryption for text, photos, voice notes, and video. Removing a member both rotates MLS group keys and revokes their relay capability so intermediate nodes immediately stop forwarding for them.

Internet speed online, LoRa mesh off-grid

Messages travel over fast IP (QUIC) when connected and fail over automatically to multi-hop LoRa radios when cell or Wi-Fi drops. Every hop commits durably to SQLite before confirming receipt — with zero GPS or NTP wall-clock sync required.

Self-hosted catch-up & safe recovery

Run a lightweight Linux node as an optional 30-day mailbox so offline phones catch up automatically — relays and mailboxes only ever see opaque ciphertext. Recover a lost device from one encrypted backup archive without reviving removed members.

How Tycus compares to Signal & other mesh protocols

Tycus sits at the intersection of private E2EE group chat and delay-tolerant mesh networking — combining what works from both without centralized servers or unencrypted radio flooding.

What's similar

  • Like Signal: modern end-to-end encrypted group chat, rich encrypted media (photos, voice notes, video), and clean member removal where servers never see plaintext.
  • Like Meshtastic, Reticulum & BPv7: self-owned off-grid hardware, multi-hop LoRa radio transport, and delay-tolerant store-and-forward when links fade.

What's different

  • vs. Signal: zero phone numbers, accounts, or company servers — host your own relays and mailboxes, isolate multiple user groups on one phone, and fail over to LoRa off-grid.
  • vs. Meshtastic: true RFC 9420 MLS group E2EE with immediate key and relay revocation plus durable hop-by-hop SQLite custody — not shared channel keys and best-effort flooding.
  • vs. Reticulum/LXMF & BPv7: purpose-built for small-group E2EE chat with time-bounded transit state, zero wall-clock sync, and seamless LoRa ↔ QUIC failover.
Comparison of Tycus against Signal, Meshtastic, Reticulum/LXMF, and BPv7
System Hosting & Accounts Group E2EE & Revocation Off-Grid Radio & Custody Offline Catch-Up
Tycus Self-hosted · zero accounts · multi-network RFC 9420 MLS E2EE + relay revocation LoRa ↔ QUIC failover · durable SQLite custody Optional 30-day ciphertext mailbox
Signal Centralized service · phone number required Strong E2EE groups + member removal Internet-only (no off-grid LoRa mesh) Central Signal queues + cloud push
Meshtastic Self-owned radios · no central accounts Shared channel key (groups) · PKI DMs LoRa managed flooding · no hop custody Optional Store & Forward node
Reticulum / LXMF Self-owned decentralized network Per-message LXMF E2EE (no MLS groups) Multi-medium incl. LoRa · link delivery 30-day LXMF propagation nodes
BPv7 (RFC 9171) Self-hosted DTN bundle nodes Optional BPSec extensions (no group layer) Requires wall-clock sync · custody omitted Intermediate node bundle store

Practical boundaries & engineering reference

Tycus states its design limits openly instead of hiding assumptions. Expand the engineering reference drawers below for wire formats, bounded daemon state, all 10 Apache-2.0 specs, and the Rust crate map.

~60 members
Trusted small groups (group join packet fits within 16 KiB)
254 B packet
LoRa radio ceiling (RNode MTU); short texts fit in 1 frame
7 d / 30 d
≤ 7-day transit state; optional mailboxes hold ciphertext 30 days
~57 nodes
Healthy mesh size under EU868 1% regional airtime limits
1 live device
Single live device per key; move cleanly via .tycus backup

What Tycus refuses to promise

No global message ordering, no delivery past message lifetime without a mailbox, and no read/delivery acks in 3+ person mailboxless groups — preventing ack storms on narrow LoRa channels.

Admin-serialized MLS & safe restore

Only the group admin commits membership changes so slow or split LoRa links never fork encryption state (epoch races). Restoring a .tycus archive advances counters, archives admin groups, and automatically requests fresh group rejoin (reknock).

Measured & fuzz-tested core

Multicast trees cut total LoRa airtime 3.7–4.0× vs. unicast, hold 100% delivery up to 30% packet loss, and recover 60/60 messages after a 15-min outage — backed by 8/8 RAK4631 hardware tests and 8 automated fuzz targets (cargo-fuzz).

Engineering reference
Protocol specifications (10 Apache-2.0 specs — publishing with source release) Expand Collapse

All 10 Apache-2.0 specification documents publish with the public source release. Showing 10 of 10

Index of all 10 Tycus Apache-2.0 protocol specifications
Document Specification Layer Scope & Key Guarantees
spec/net.md Network Core (v5) Network & Link

Message wire format (CompactRef), signed-announce routing, multicast group trees, per-hop custody, revocation propagation, radio hop handshakes, and age/lifetime accounting without clock sync.

CompactRef 92 B steady-state header (-162 B per group message) · Monotonic local age & lifetime (no wall-clock sync) · Signed-announce distance-vector routing with jittered LoRa pass-on

spec/link.md Datagram Link (LoRa & UDP) Network & Link

Framing over constrained radios (254 B RNode MTU), 8-byte HMAC-SHA256 link tags, X25519 pair-keyed hop replies, ACK/NACK fragment bitmaps, sliding 64-sequence replay windows, and duty-cycle pacing.

Max 254 B frame + 8 B HMAC tag on RNode LoRa · X25519 + HKDF-SHA256 pair keys with zero handshake state · 17-byte Probe/Pong recovery for sleeping or returning peers

spec/delivery.md Delivery & Custody Model Network & Link

What the network promises and refuses to promise: bounded message lifetimes, durable SQLite commit before Accepted, time-bounded deduplication, and push/pull recovery after absence.

Accepted means committed to durable disk storage · Time-bounded dedup (lifetime + slack), max 7 days · Clear separation between short transit custody and 30-day mailboxes

spec/enroll.md Enrollment & Credentials Security & Messaging

Network admission via short Ed25519 credential chains rooted at an origination key, out-of-band msg1: invitations, offline chain verification without lookup servers, and network-wide revocation.

134-byte Ed25519 credentials, max chain depth 2 · Zero central directory or PKI lookup required on link · Three roles: Origination node, Network admin, Standard node

spec/mls.md MLS Group Chat (RFC 9420) Security & Messaging

Tycus profile of Messaging Layer Security for end-to-end encrypted small groups up to ~60 members, lossless MLS header compression, admin-managed epochs, and coupled capability revocation.

MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 · Lossless MLS header compression (-43 B on group traffic) · Relays and mailboxes never see plaintext or group keys

spec/media.md Encrypted Media & Attachments Security & Messaging

Two-part delivery for photos, Opus voice notes, and video clips: chunked ChaCha20-Poly1305 STREAM blobs uploaded directly over QUIC (msg-blob/1) plus compact MLS descriptors over the mesh.

64 KiB chunked AEAD blobs up to 32 MiB, resumable per chunk · Bulk blobs never congest LoRa or multi-hop custody relays · LoRa nodes receive the 2-frame descriptor and fetch when on IP

spec/mailbox.md Optional Mailboxes Storage & Operations

Dedicated always-on ciphertext subscribers that retain group messages for absent members up to 30 days, emit signed Stored acks, and serve ordered batches on pull.

Stores opaque MLS ciphertext only; never holds group keys · 30-day retention with commits evicted last · Multiple independent mailboxes supported with zero sync protocol

spec/vault.md Local Vault & Encryption at Rest Storage & Operations

Always-on cryptographic protection of node.key, SQLCipher node.db & chat.db, and media_cache/ under a 256-bit MasterKey wrapped in OS hardware-backed Device storage.

HKDF-SHA256 subkey hierarchy with ZeroizeOnDrop in Rust · Zero-plaintext local media decryption & playback · Unencrypted opt-out preserved for headless OpenWrt routers

spec/backup.md Identity Backup & Restore Storage & Operations

Single encrypted .tycus disaster-recovery archive protected by Argon2id and ChaCha20-Poly1305 STREAM, preserving monotonic counters and safe MLS epoch recovery without ghost devices.

30-digit recovery code (~99.66 bits entropy) or CLI passphrase · Preserves message-id counters and radio boot epochs · Prevents duplicate live identities and MLS epoch forks

spec/app.md Application Interface Storage & Operations

Local Unix socket protocol separating end-user applications from the node daemon: acknowledged delivery inbox, subscription requests, status telemetry, and local trust boundary.

Strict privilege split between daemon and chat application · Acknowledged inbox prevents message loss across app restarts · Reserved payload type ranges for MLS (0x01–0x0F) and Mailbox (0x10–0x1F)

Wire framing, LoRa byte budget & bounded node state Expand Collapse
Datagram frame layout · spec/link.md (v1) Data type 0x11 · max 254 B total
0x11 1 B
src_addr 2 B
boot_epoch 2 B
seq 2 B
frag i/n 2 B
to_follow 1 B
rx_list 1+2k B
CompactRef + MLS fragment variable
HMAC tag 8 B

CompactRef (−162 B) plus lossless MLS header compression (−43 B) keeps steady-state acks and ≤13-char texts (≤233 B) inside 1 LoRa frame; 32-char texts shrink from 362 B to 252 B (2 LoRa frames).

Net v5 wire & LoRa fragment counts

Net v5 wire sizes and LoRa fragment counts
Message Type Compressed MLS Total Network Msg LoRa Frames UDP Datagrams
2-char chat text + CompactRef 129 B 222 B 1 frame 1
32-char chat text + CompactRef 159 B 252 B 2 frames 1
32-char text + full capability (first msg) 159 B 414 B 2 frames 1
900 B text (multi-fragment ARQ) 1,038 B 1,170 B 6 frames 1

Bounded node state lifecycle

Bounded lifecycle limits for Tycus node state
State Held On Purpose Kept Until Hard Bound
Dedup record Every node Recognize duplicates across retries, replays, and reroutes Local expiry + slack Message lifetime (≤ 7 days)
Outbox entry Every node Durable custody owed to a specific neighbor Until Accepted, Refused, expired, or branch closed Lifetime & per-neighbor quota
Replay copy Every node Recover a branch after queue pressure, reroute, or restart Oldest-first eviction or expiry Replay byte quota (1 MiB default)
Tree branch On-tree relays Group multicast forwarding state Refreshed or soft-state expiry Refresh interval (30 min default)
Route entry Every node (volatile) Signed-announce distance-vector routing table 3 × announce period P (max 1 day) 1,024 origins beyond direct neighbors
Mailbox entry Optional mailboxes Opaque ciphertext history for absent members 30 days (MLS commits evicted last) Per-group byte cap & operator allowlist
Rust workspace crates & component licensing (9 components) Expand Collapse
Tycus Rust workspace crates and component licenses
Crate / Component Layer Responsibility Specs License
mesh-core Network Core (sans-IO) Pure Rust state machine for multicast trees, hop custody, capability chains, dedup, and signed-announce routing. net.md, enroll.md MIT OR Apache-2.0
link-sched Send Queue (sans-IO) Per-neighbor priority send queue and hop outcome accounting shared identically across every transport driver. net.md MIT OR Apache-2.0
identity Cryptography Ed25519 node identities, node ID derivation, mutual TLS certificates for QUIC, and local key wrapping. net.md, vault.md MIT OR Apache-2.0
mesh-link Datagram Framing Datagram wire frames, HMAC-SHA256 link tags, X25519 pair keys, fragment reassembly, and selective ARQ. link.md MIT OR Apache-2.0
radio-link Radio Interface Single radio interface driver enforcing sliding 1-hour duty-cycle airtime budgets and jittered broadcasts. link.md MIT OR Apache-2.0
rnode & lora Hardware & RF Model Host-controlled RNode_Firmware KISS serial/stream driver and deterministic LoRa airtime estimator. — MIT OR Apache-2.0
node Daemon & MLS Chat Event loop, crash-safe SQLite storage, QUIC + radio links, mailbox, backup/vault, CLI, and OpenMLS chat layer. net.md, delivery.md, mls.md, mailbox.md, media.md, vault.md, backup.md, app.md MIT OR Apache-2.0
sim & node-testkit Verification Deterministic discrete-event radio simulator and loopback multi-daemon harness proving implementation equivalence. — MIT OR Apache-2.0
app / app-core / app-ffi End-User Client Flutter mobile & desktop chat application (Android, iOS, Linux) bound to Rust via flutter_rust_bridge. media.md, backup.md, vault.md AGPL-3.0-or-later