AEGIS โ Offline Mesh Communication Platform
Inspiration
During natural disasters, large public events, and remote expeditions, traditional communication infrastructure often becomes unavailable or overloaded. Applications like WhatsApp, Telegram, and Signal rely on internet connectivity, leaving people unable to communicate when they need it most.
We asked ourselves a simple question:
What if smartphones could communicate directly with each other, without relying on the internet or any server?
That idea became AEGIS, an offline-first mesh communication platform that allows nearby devices to discover one another, relay messages across multiple hops, broadcast SOS alerts, and share critical resourcesโeven when cellular networks and the internet are completely unavailable.
What AEGIS Does
AEGIS transforms Android smartphones into nodes of a decentralized mesh network. Instead of depending on cellular towers or cloud servers, devices communicate directly using the hardware they already have.
The application supports:
- ๐ก Multi-hop offline messaging
- ๐ Emergency SOS broadcasting with GPS
- ๐ Live nearby survivor discovery
- ๐ค Resource sharing (food, water, medicine, shelter)
- ๐ Live mesh network visualization
- ๐ Cryptographic device identities (SIG-ID)
- ๐ฑ Zero accounts, zero servers, zero internet dependency
Every connected phone can also act as a relay, allowing messages to travel much farther than the direct communication range.
How We Built It
One of the biggest goals of AEGIS was reliability. Instead of depending on a single communication technology, we built a multi-layer transport architecture that uses several connection methods simultaneously.
AEGIS combines:
- WiFi Direct for fast peer-to-peer communication without a router.
- Bluetooth Low Energy (BLE) as a fallback when WiFi Direct is unavailable.
- WiFi LAN (mDNS + TCP) for devices connected to the same hotspot or local network.
- QR Code Direct TCP for guaranteed peer-to-peer connection when automatic discovery is difficult.
Above these transport layers, we implemented:
- Multi-hop mesh routing
- Packet deduplication
- TTL-based forwarding
- Ed25519 cryptographic identities
- Offline Hive database storage
- Flutter-based cross-platform architecture with Riverpod state management
This architecture allows AEGIS to automatically choose the best available connection method while keeping communication completely offline.
Challenges We Faced
Building an application without any backend was one of the biggest technical challenges.
Some of the problems we had to solve included:
- Discovering nearby devices across multiple transport layers.
- Maintaining reliable communication while users move between different network conditions.
- Implementing efficient multi-hop routing without creating message loops.
- Preventing duplicate packet propagation using packet caching.
- Managing battery consumption while continuously discovering nearby peers.
- Designing an interface that remains simple and usable during emergency situations.
Another major challenge was making all transport methods work together seamlessly so users never have to think about which communication technology is currently being used.
What We Learned
AEGIS taught us much more than Flutter development.
Throughout this project we learned:
- Mesh networking fundamentals
- Peer-to-peer communication
- Bluetooth Low Energy development
- WiFi Direct and local network communication
- Cryptographic identity management
- Distributed routing algorithms
- Offline-first application architecture
- Designing software for real-world disaster scenarios
Most importantly, we learned that resilient systems should continue working even when conventional infrastructure fails.
What's Next
We plan to continue improving AEGIS by adding:
- Larger-scale mesh optimization
- End-to-end encrypted messaging
- File and media transfer over mesh
- Smarter routing algorithms
- Better battery optimization
- Cross-platform support
- Field testing with rescue teams and emergency response organizations
Our vision is to make AEGIS a dependable communication platform that communities can rely on whenever traditional networks are unavailable.
Vision
When the Internet dies, humanity still speaks.
Log in or sign up for Devpost to join the conversation.