<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CS KARTHIK</title>
    <description>The latest articles on DEV Community by CS KARTHIK (@cs_karthik_b23c4cfccd0f87).</description>
    <link>https://dev.to/cs_karthik_b23c4cfccd0f87</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4171064%2F63357a88-a05f-44ca-9402-6be52207b52e.jpg</url>
      <title>DEV Community: CS KARTHIK</title>
      <link>https://dev.to/cs_karthik_b23c4cfccd0f87</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cs_karthik_b23c4cfccd0f87"/>
    <language>en</language>
    <item>
      <title>RelayZero: Offline Edge-AI Semantic Compression for Disaster Mesh Networks</title>
      <dc:creator>CS KARTHIK</dc:creator>
      <pubDate>Thu, 08 Oct 2026 10:58:02 +0000</pubDate>
      <link>https://dev.to/cs_karthik_b23c4cfccd0f87/relayzero-offline-edge-ai-semantic-compression-for-disaster-mesh-networks-8l7</link>
      <guid>https://dev.to/cs_karthik_b23c4cfccd0f87/relayzero-offline-edge-ai-semantic-compression-for-disaster-mesh-networks-8l7</guid>
      <description>&lt;p&gt;The Problem: When the Grid Goes Dark&lt;/p&gt;

&lt;p&gt;When catastrophic natural disasters strike, the first thing to collapse is centralized telecommunications. Cell towers lose power, fiber lines are severed, and dialing emergency numbers fails because there is no base station to route the call. &lt;/p&gt;

&lt;p&gt;In these blackouts, search-and-rescue teams rely on decentralized, sub-GHz mesh radios (like LoRa). These radios are incredible: they run for days on tiny batteries, require no central towers, and their low frequencies punch straight through concrete rubble. &lt;/p&gt;

&lt;p&gt;But there is a fatal physical bottleneck: bandwidth. &lt;/p&gt;

&lt;p&gt;Mesh radios transmit at bytes per second, not megabits. If you try to force a standard voice call (thousands of bytes per second) or even a lengthy text paragraph through a mesh network, the frequency chokes, packets drop, and the entire network crashes. &lt;/p&gt;

&lt;p&gt;What We Built: RelayZero &lt;/p&gt;

&lt;p&gt;RelayZero is a 100% offline, edge-AI semantic compression protocol. We built it to bridge the gap between human panic and low-bandwidth machine telemetry.&lt;/p&gt;

&lt;p&gt;Instead of sending messy, paragraph-long emergency dispatches over fragile radio links, RelayZero intercepts the message at the edge. It uses Gemma 4 : E2B to strip away conversational filler, extract the vital triage facts, and compress the dispatch into a dense 25-byte telemetry packet formatted as:&lt;br&gt;
&lt;code&gt;PRIO:CRITICAL | LOC:LIBRARY | HAZ:FIRE | CAS:2 | REQ:MEDICS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This intelligent edge compression yields an ~88% reduction in data size, allowing life-saving SOS alerts to slip effortlessly through low-power mesh radios.&lt;/p&gt;

&lt;p&gt;How We Built It&lt;/p&gt;

&lt;p&gt;We designed a two-node, 100% offline architecture to simulate a disaster deployment zone. To quickly scaffold our Python backends and style our tactical UI interfaces, we leveraged &lt;strong&gt;Antigravity&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The Field Unit (Laptop A - Edge Transceiver)&lt;br&gt;
The AI Engine: We ran Gemma 4 : E2B locally via Ollama. It requires zero internet access.&lt;br&gt;
The Workflow: A frantic responder speaks or types into the Python UI (&lt;code&gt;transmitter.py&lt;/code&gt;). Gemma parses the raw input locally, extracting the core variables (Priority, Location, Hazard, Casualties, Requirements) and serializing them into the 25-byte string. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Base Station (Laptop B - Tactical Command)&lt;br&gt;
The Dashboard: Built using Python and Streamlit (&lt;code&gt;base_station.py&lt;/code&gt;), featuring a daemon Flask background listener on port 5000 to catch incoming packets.&lt;br&gt;
Geospatial Triage: Incoming coordinates are instantly mapped onto an offline OpenStreetMap via Folium, drawing a dynamic 150-meter danger perimeter around the incident.&lt;br&gt;
Zero-Network Alerts: For packets flagged as &lt;code&gt;CRITICAL&lt;/code&gt;, the frontend automatically synthesizes a two-second police siren using the browser's native Web Audio API (meaning no external audio file downloads are needed).&lt;br&gt;
Post-Disaster Logging: Triage officers can export the real-time queue to a structured CSV for post-operation forensics.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Transport Layer&lt;br&gt;
Due to hackathon constraints, we simulated the physical mesh layer over a private, zero-internet local TCP socket network (&lt;code&gt;172.20.10.2:5000&lt;/code&gt;). However, the 25-byte string payload is byte-for-byte identical to what would be passed into a physical LoRa transceiver over UART.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;See it in Action&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/CSKarthik-0/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club" rel="noopener noreferrer"&gt;https://github.com/CSKarthik-0/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club&lt;/a&gt;&lt;br&gt;
Live Video Demo: &lt;a href="https://youtu.be/5DZY78ddo0E" rel="noopener noreferrer"&gt;https://youtu.be/5DZY78ddo0E&lt;/a&gt;&lt;/p&gt;

</description>
      <category>hackathon</category>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
