<?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: Swayam Kothekar</title>
    <description>The latest articles on DEV Community by Swayam Kothekar (@swayam_kothekar).</description>
    <link>https://dev.to/swayam_kothekar</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%2F4163901%2Fb8657298-ecc5-46d2-a8ff-8dc5ca5b57a5.jpg</url>
      <title>DEV Community: Swayam Kothekar</title>
      <link>https://dev.to/swayam_kothekar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swayam_kothekar"/>
    <language>en</language>
    <item>
      <title>WildCraft AI: Voice-Guided Wilderness Survival Whisperer &amp; Backcountry Risk Engine</title>
      <dc:creator>Swayam Kothekar</dc:creator>
      <pubDate>Mon, 12 Oct 2026 06:41:34 +0000</pubDate>
      <link>https://dev.to/swayam_kothekar/wildcraft-ai-voice-guided-wilderness-survival-whisperer-backcountry-risk-engine-3dp6</link>
      <guid>https://dev.to/swayam_kothekar/wildcraft-ai-voice-guided-wilderness-survival-whisperer-backcountry-risk-engine-3dp6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Most modern AI apps keep you glued to your desk, staring into a glowing rectangular screen. &lt;strong&gt;WildCraft AI&lt;/strong&gt; does the exact opposite: it is an open-source, edge-ready outdoor intelligence companion engineered specifically to get you off the couch, into the backcountry, and &lt;strong&gt;touching real grass safely&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When you are deep in a pine forest, climbing an alpine ridge, or setting up camp at sunset, your hands are busy pitching tents, tying ridge-line knots, purifying stream water, or striking ferrocerium rods. Looking down at a phone screen is dangerous and impractical.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WildCraft AI transforms the wilderness experience through:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Audio-First Bushcraft Mentor (Push-to-Talk Voice &amp;amp; Spoken Narration)&lt;/strong&gt;: Powered by open-weights &lt;strong&gt;Google Gemma&lt;/strong&gt; and &lt;strong&gt;ElevenLabs&lt;/strong&gt;, WildCraft speaks survival guides directly into your earbuds with concise, voice-guided steps (firecraft, shelter designs, knot diagrams, water purification). You can use push-to-talk voice dictation or tap a topic, then pocket your phone and let the spoken narration guide you without staring at a screen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prior Labs TabPFN Survival Risk Engine&lt;/strong&gt;: An in-field tabular foundation model that ingests live environmental telemetry (elevation, ambient temperature, relative humidity, wind speed) and trek exertion data to predict real-time hypothermia risk, heat stroke index, dehydration rates, and sweat loss.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline-First Zero-Signal Architecture&lt;/strong&gt;: Cell towers disappear the moment you enter deep canyons. WildCraft features a &lt;strong&gt;Dual-Mode architecture&lt;/strong&gt;: cloud-powered when connected, seamlessly switching to on-device quantized models (local Ollama Gemma 2B/9B, browser speech synthesis, edge Open-Meteo cache, and calibrated physics heuristics) when off the grid.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Field Manual &amp;amp; Plant Safety Scanner&lt;/strong&gt;: Instant offline RAG lookup for edible vs. toxic flora, berries, and fungi with high-contrast safety badges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private Backcountry Logbook&lt;/strong&gt;: Device-isolated field journal backed by &lt;strong&gt;MongoDB Atlas&lt;/strong&gt; with automatic local cache synchronization to record campsites, trail observations, and water sources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outdoor High-Contrast Sunlight &amp;amp; Mobile UX&lt;/strong&gt;: Tailored mobile design with custom address-bar permission guides for iOS Safari and Android Chrome, plus an outdoor sunlight mode for maximum visibility in glaring daytime sun.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Web App&lt;/strong&gt;: &lt;a href="https://wildcraft.swayamk.tech" rel="noopener noreferrer"&gt;https://wildcraft.swayamk.tech&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/swayam-kothekar/wildcraft" rel="noopener noreferrer"&gt;https://github.com/swayam-kothekar/wildcraft&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Quick Interactive Tour
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Live GPS Environmental Lock&lt;/strong&gt;: Grants real-time coordinates, elevation, and mountain barometric weather via Open-Meteo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Physiological Risk Simulation&lt;/strong&gt;: Slide trek duration to 4.5 hours in sub-zero wind chills to watch &lt;strong&gt;TabPFN&lt;/strong&gt; project hypothermia probability curves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Push-to-Talk Voice Whisperer&lt;/strong&gt;: Press the microphone button or select a topic like &lt;em&gt;"How do I build a Dakota fire hole?"&lt;/em&gt; to receive spoken step-by-step guidance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logbook&lt;/strong&gt;: Save waypoint coordinates and gear notes privately linked to your device ID.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/swayam-kothekar" rel="noopener noreferrer"&gt;
        swayam-kothekar
      &lt;/a&gt; / &lt;a href="https://github.com/swayam-kothekar/wildcraft" rel="noopener noreferrer"&gt;
        wildcraft
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌲 WildCraft AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edge-Ready Wilderness Survival Whisperer &amp;amp; Backcountry Physiological Risk Engine&lt;/strong&gt;&lt;br&gt;
🌐 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://wildcraft.swayamk.tech" rel="nofollow noopener noreferrer"&gt;https://wildcraft.swayamk.tech&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📖 Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;WildCraft AI&lt;/strong&gt; is an intelligent backcountry survival and physiological risk assistant. It is designed with a &lt;strong&gt;dual-mode architecture&lt;/strong&gt;: fully feature-complete when cloud-connected, yet capable of running standalone in disconnected, zero-signal wilderness environments through local on-device fallbacks.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;📶 Dual-Mode Architecture &amp;amp; Offline Resilience&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;☁️ Connected Mode (Full Cloud)&lt;/th&gt;
&lt;th&gt;📵 Offline / Edge Mode&lt;/th&gt;
&lt;th&gt;Offline Trade-offs &amp;amp; Requirements&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Survival LLM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Google Gemma 2 (9B) Cloud API&lt;/td&gt;
&lt;td&gt;Local Ollama (&lt;code&gt;gemma3:1b&lt;/code&gt; / &lt;code&gt;gemma:2b&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Requires local Ollama daemon; smaller model parameter size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Risk Prediction&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Prior Labs TabPFN Foundation Model&lt;/td&gt;
&lt;td&gt;Calibrated physiological physics engine&lt;/td&gt;
&lt;td&gt;Mathematical heuristic formulas instead of full tabular transformer weights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Plant &amp;amp; Field RAG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;MongoDB Atlas Cloud Database&lt;/td&gt;
&lt;td&gt;Bundled local JSON catalog&lt;/td&gt;
&lt;td&gt;Queries static local manual (~8–50 entries); no remote catalog expansion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Voice Narration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ElevenLabs HD Audio Stream&lt;/td&gt;
&lt;td&gt;Browser Web SpeechSynthesis&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;…&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/swayam-kothekar/wildcraft" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The full project is open-source under the MIT license:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: React 19, Vite, responsive mobile drawer, SVG voice controls, and glassmorphic outdoor design system.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: FastAPI running on Python 3.11 with asynchronous endpoints for TabPFN inference, Gemma prompt orchestration, ElevenLabs audio streaming, and MongoDB Atlas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment&lt;/strong&gt;: &lt;strong&gt;Render&lt;/strong&gt; web service for backend orchestration and &lt;strong&gt;Vercel&lt;/strong&gt; for client edge delivery.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;WildCraft AI is constructed around an ensemble of open-source AI models and durable cloud architectures:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    subgraph Client["Outdoor Client - React 19 and Vite"]
        UI["High-Contrast Outdoor UI"]
        MIC["Push-to-Talk Voice Input"]
        AUDIO["Spoken Audio Player"]
    end

    subgraph Backend["Render Production Backend - FastAPI"]
        API["FastAPI Edge Gateway"]
        AGENT["Gemma Survival Agent"]
        TABPFN_ENG["TabPFN Risk Predictor"]
        TOOLS["Atlas Store and Tool Hub"]
    end

    subgraph Intelligence["AI Models and Cloud Services"]
        GEMMA["Google Gemma 2B / 9B - Ollama or Cloud"]
        TABPFN["Prior Labs TabPFN Foundation Model"]
        ELEVEN["ElevenLabs Voice Synthesis"]
        ATLAS[("MongoDB Atlas - Logs and Survival Catalog")]
        SERP["SerpApi - Live Ranger Advisories"]
    end

    UI --&amp;gt;|"HTTPS / JSON"| API
    MIC --&amp;gt;|"Transcribed Voice"| API
    API --&amp;gt; AGENT
    API --&amp;gt; TABPFN_ENG
    API --&amp;gt; TOOLS

    AGENT --&amp;gt;|"Survival Prompts"| GEMMA
    AGENT --&amp;gt;|"Text to Narrate"| ELEVEN
    ELEVEN --&amp;gt;|"Audio Stream"| AUDIO

    TABPFN_ENG --&amp;gt;|"Physiological Vectors"| TABPFN
    TOOLS --&amp;gt;|"Field Journal and RAG"| ATLAS
    TOOLS --&amp;gt;|"Trail Alerts"| SERP&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  1. Google Gemma Open-Weight Model Agent
&lt;/h3&gt;

&lt;p&gt;We built a survival agent harness (&lt;code&gt;gemma_survival_agent.py&lt;/code&gt;) utilizing Google's &lt;strong&gt;Gemma&lt;/strong&gt; open-weight model family (Gemma 2B / 9B). The prompt pipeline enforces strict survival-first constraints: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Strict brevity (under 120 words for audio synthesis compatibility).&lt;/li&gt;
&lt;li&gt;Actionable, numbered step-by-step physical actions.&lt;/li&gt;
&lt;li&gt;Automatic zero-signal fallback support through a local &lt;strong&gt;Ollama&lt;/strong&gt; daemon (&lt;code&gt;gemma3:1b&lt;/code&gt; or &lt;code&gt;gemma:2b&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Prior Labs TabPFN (Tabular Foundation Model)
&lt;/h3&gt;

&lt;p&gt;Wilderness survival risk modeling has non-linear tabular factors: clothing insulation ($clo$), wind chill ($km/h$), ascent elevation ($m$), and fluid deficit ($L$). We integrated &lt;strong&gt;Prior Labs TabPFN&lt;/strong&gt; (&lt;code&gt;tabpfn_survival.py&lt;/code&gt;), treating in-situ trail variables as tabular vectors. TabPFN generates calibrated probability scores for hypothermia, dehydration, and heat exhaustion within milliseconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Render Production Backend Runtime
&lt;/h3&gt;

&lt;p&gt;Our FastAPI backend is deployed on &lt;strong&gt;Render&lt;/strong&gt; using a native Python Web Service container. Render provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automated continuous deployment directly from the &lt;code&gt;main&lt;/code&gt; GitHub branch.&lt;/li&gt;
&lt;li&gt;Secure environment management for model keys and Atlas credentials.&lt;/li&gt;
&lt;li&gt;Zero-downtime health checking (&lt;code&gt;/healthz&lt;/code&gt;) and production ASGI concurrency with &lt;code&gt;uvicorn&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ready compatibility for GPU Droplet acceleration when hosting full-parameter Gemma checkpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. ElevenLabs Neural Audio Streaming
&lt;/h3&gt;

&lt;p&gt;Text output is immediately routed to the &lt;strong&gt;ElevenLabs API&lt;/strong&gt; (&lt;code&gt;elevenlabs_voice.py&lt;/code&gt;) using low-latency streaming. In disconnected offline mode, the frontend automatically falls back to the native browser &lt;code&gt;window.speechSynthesis&lt;/code&gt; API.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. MongoDB Atlas &amp;amp; Search Grounding
&lt;/h3&gt;

&lt;p&gt;Backcountry waypoints, private trail notes, and safety catalogs are hosted in a &lt;strong&gt;MongoDB Atlas Cloud Cluster&lt;/strong&gt; (&lt;code&gt;atlas_survival_store.py&lt;/code&gt;). Real-time park ranger advisories and wildfire alerts are ground-checked via &lt;strong&gt;SerpApi&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation is not just an ideological preference for WildCraft AI—&lt;strong&gt;it is a life-saving necessity&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Closed APIs Die at the Trailhead&lt;/strong&gt;: Proprietary cloud LLMs and closed AI assistants are fundamentally useless the moment you walk past the cell tower's reach. Open-weight models like &lt;strong&gt;Google Gemma&lt;/strong&gt; and local foundation models like &lt;strong&gt;TabPFN&lt;/strong&gt; can be downloaded, packaged, and run entirely offline on an edge laptop, phone, or Raspberry Pi in a hiker's backpack.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backcountry Data Sovereignty&lt;/strong&gt;: Hikers should not have to upload their exact real-time GPS coordinates, emergency camp locations, and physiological vulnerabilities to proprietary surveillance silos. Open weights and local databases ensure total user privacy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Marginal Cost for Safety&lt;/strong&gt;: Wilderness safety advice should not be locked behind subscription paywalls or metered API tokens. Open-source models democratize safety intelligence for backpackers, park rangers, and youth scouts worldwide.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;We are entering the following partner categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🚀 &lt;strong&gt;Best Use of Render ($200)&lt;/strong&gt;: Deployed the production FastAPI backend on &lt;strong&gt;Render&lt;/strong&gt;, providing automated GitHub deployments, secure secret management, containerized Python 3.11 execution, and production reliability for real-time survival inference.&lt;/li&gt;
&lt;li&gt;🌲 &lt;strong&gt;Best Use of Google Gemma ($200)&lt;/strong&gt;: Leveraged Google's open-weight Gemma architecture for spoken bushcraft guidance, formatted specifically for audio listening and capable of edge offline execution via Ollama.&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Best Use of Prior Labs TabPFN ($200)&lt;/strong&gt;: Deployed TabPFN as a tabular foundation model to compute physiological survival risk scores (hypothermia, heat exhaustion, dehydration) from environmental telemetry.&lt;/li&gt;
&lt;li&gt;🎙️ &lt;strong&gt;Best Use of ElevenLabs ($100)&lt;/strong&gt;: Implemented an audio-first "Touch Grass" interface with realistic, low-latency survival guide voice synthesis so hikers can navigate nature without staring at screens.&lt;/li&gt;
&lt;li&gt;🍃 &lt;strong&gt;Best Use of MongoDB Atlas ($100)&lt;/strong&gt;: Engineered cloud field journals and plant safety databases with private device partitioning and offline fallback persistence.&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Best Use of SerpApi ($100)&lt;/strong&gt;: Grounded trail warnings with real-time Google search indexing for live US Forest Service and National Park ranger updates.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
