<?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: sai voleti</title>
    <description>The latest articles on DEV Community by sai voleti (@sai_voleti_fb0f518e2b4e4a).</description>
    <link>https://dev.to/sai_voleti_fb0f518e2b4e4a</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%2F4213022%2F49fe2b38-c26c-4411-a851-027bfcdeebaa.png</url>
      <title>DEV Community: sai voleti</title>
      <link>https://dev.to/sai_voleti_fb0f518e2b4e4a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sai_voleti_fb0f518e2b4e4a"/>
    <language>en</language>
    <item>
      <title>DharaniAI (ధరణి / धरणी): Offline Climate Resilience &amp; Native Voice Advisory for Indian Drylands 🌾☀️🔊</title>
      <dc:creator>sai voleti</dc:creator>
      <pubDate>Thu, 29 Oct 2026 18:28:32 +0000</pubDate>
      <link>https://dev.to/sai_voleti_fb0f518e2b4e4a/dharaniai-dhrnni-dhrnnii-offline-climate-resilience-native-voice-advisory-for-indian-drylands-2jp2</link>
      <guid>https://dev.to/sai_voleti_fb0f518e2b4e4a/dharaniai-dhrnni-dhrnnii-offline-climate-resilience-native-voice-advisory-for-indian-drylands-2jp2</guid>
      <description>&lt;h1&gt;
  
  
  DharaniAI (ధరణి / धरणी): Offline Climate Resilience &amp;amp; Native Voice Advisory for Indian Drylands 🌾☀️🔊
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;An Offline Edge AI Decision Engine for Smallholder Farmers in Extreme Drought Zones, Powered by Google Gemma 2.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Built to combat climate change, drought vulnerability, and rural connectivity deserts.&lt;br&gt;&lt;br&gt;
Targeting: &lt;strong&gt;Open-Source AI &amp;amp; Gemma 2&lt;/strong&gt; edge solutions.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🌍 The Problem: Climate Crisis in India's Drylands
&lt;/h2&gt;

&lt;p&gt;Over &lt;strong&gt;68% of India's cultivable agricultural land is chronically vulnerable to drought&lt;/strong&gt;. Semi-arid rain-shadow regions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rayalaseema&lt;/strong&gt; (Anantapur / Kurnool, Andhra Pradesh)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marathwada &amp;amp; Vidarbha&lt;/strong&gt; (Latur, Beed, Maharashtra)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundelkhand&lt;/strong&gt; (Jhansi, Mahoba, UP/MP border)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;North Karnataka&lt;/strong&gt; (Vijayapura, Bagalkot)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Western Rajasthan&lt;/strong&gt; (Thar Desert border)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;...face devastating crop loss due to recurring heatwaves (42°C+), shifting monsoons, and extreme evapotranspiration. &lt;/p&gt;

&lt;h3&gt;
  
  
  Why Conventional Solutions Fail Farmers:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Connectivity Deserts&lt;/strong&gt;: During intense heatwaves or storm-triggered grid failures, cellular towers frequently lose power. Cloud-dependent AI apps become completely inaccessible when farmers need urgent guidance most.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raw Forecasts vs Actionable Science&lt;/strong&gt;: A standard weather app reporting &lt;em&gt;"41°C and 25% humidity"&lt;/em&gt; does not tell a farmer &lt;strong&gt;how many liters of water their soil is losing per hour&lt;/strong&gt;, or &lt;strong&gt;how to prevent flower drop in groundnut/cotton&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Literacy &amp;amp; Language Barrier&lt;/strong&gt;: Dense technical PDF advisories issued by universities are difficult for grassroots farmers to interpret.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  💡 The Solution: DharaniAI (ధరణి / धरणी)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DharaniAI&lt;/strong&gt; combines real micro-climate physics, official &lt;strong&gt;ICAR &amp;amp; CRIDA (Central Research Institute for Dryland Agriculture)&lt;/strong&gt; contingency plans, and Google's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; running &lt;strong&gt;100% locally and offline&lt;/strong&gt; on edge devices.&lt;/p&gt;

&lt;p&gt;Most importantly, it features &lt;strong&gt;Native Audio Speech Synthesis&lt;/strong&gt;, speaking directly to farmers in their mother tongue (&lt;strong&gt;Telugu, Hindi, Marathi, Kannada, English&lt;/strong&gt;) through laptop or smartphone speakers!&lt;/p&gt;




&lt;h2&gt;
  
  
  🔬 Core System Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌────────────────────────────────────────────────────────────────────────┐
│                   DHARANI AI (Offline Edge System)                     │
├────────────────────────────────────────────────────────────────────────┤
│ 1. Micro-Climate Physics Engine                                        │
│    -&amp;gt; Tetens Equation: Saturation vs Actual Vapor Pressure             │
│    -&amp;gt; Vapor Pressure Deficit (VPD in kPa)                              │
│    -&amp;gt; FAO-56 Hargreaves-Samani: Evapotranspiration (ET0 in L/ha/day)   │
│                                                                        │
│ 2. Indian Dryland Agronomy Knowledge Base (RAG)                        │
│    -&amp;gt; ICAR / CRIDA Drought Contingency Frameworks                     │
│    -&amp;gt; Critical crop water sensitivity stages                           │
│    -&amp;gt; Organic foliar anti-transpirants (Kaolin, KNO3, Jeevamrutha)    │
│                                                                        │
│ 3. Gemma 2 Local Intelligence (via Ollama)                             │
│    -&amp;gt; General reasoning across thousands of crops &amp;amp; pest symptoms      │
│    -&amp;gt; Translates complex agro-physics into empathetic action plans     │
│                                                                        │
│ 4. Native Voice &amp;amp; Regional Audio Synthesizer                           │
│    -&amp;gt; Automatic voice audio generation in Telugu, Hindi, Marathi, etc. │
│    -&amp;gt; Speaks actionable advice aloud for grassroots farmers            │
└────────────────────────────────────────────────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ✨ Key Capabilities
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. ☀️ Real-Time Agro-Meteorological Physics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vapor Pressure Deficit (VPD):&lt;/strong&gt; Measures the atmospheric drying power. When VPD &amp;gt; 2.5 kPa, plant stomata violently close, halting photosynthesis and causing flower drop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reference Evapotranspiration ($ET_0$):&lt;/strong&gt; Calculates the exact water volume evaporating from the soil canopy (e.g. &lt;code&gt;7.5 mm/day&lt;/code&gt; = &lt;code&gt;75,000 Liters/hectare/day&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. 🌾 Structured ICAR/CRIDA Crisis Strategies
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Emergency Drought Action Plans&lt;/strong&gt;: Specific anti-transpirant recipes (e.g. 1% Potassium Nitrate, 5% Kaolin clay) to reduce transpirational water loss and cool canopies by 2–3°C.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-Sunset Pulse Irrigation&lt;/strong&gt;: Scheduling water application after 7 PM to prevent up to 60% surface evaporation loss.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Soil Sponge Building&lt;/strong&gt;: Crop residue mulching, biochar, and broad-bed furrowing to maximize soil water retention.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. 🔊 Native Speech for Farmers
&lt;/h3&gt;

&lt;p&gt;Farmers don't need to read walls of text. DharaniAI generates a crystal-clear, warm voice audio briefing in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Telugu (తెలుగు)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hindi (हिन्दी)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Marathi (मराठी)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kannada (ಕನ್ನಡ)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;English&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. 🧠 Beyond Presets: General Crop &amp;amp; Climate Intelligence
&lt;/h3&gt;

&lt;p&gt;While pre-loaded with major dryland crops (Groundnut, Cotton, Soybean, Pearl Millet, Pigeonpea), Gemma 2 can evaluate &lt;strong&gt;any custom observation or question&lt;/strong&gt; entered by the farmer:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"My tomato leaves are curling under high heat and whiteflies are swarming..."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;"Borewell water has high salinity (EC 3.2), how should I irrigate my chillies?"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🔮 Why Open-Source AI &amp;amp; Gemma 2 are Essential
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Edge Deployment in Remote Villages:&lt;/strong&gt; Google's &lt;strong&gt;Gemma 2&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt;) delivers high-tier scientific reasoning while running smoothly on modest local hardware (even a single laptop or edge gateway) with zero internet access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Privacy &amp;amp; Zero Cloud Subscriptions:&lt;/strong&gt; Village panchayats, cooperatives, and smallholders cannot afford recurring per-token cloud API bills. DharaniAI operates at &lt;strong&gt;zero operational marginal cost&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💻 Open-Source Code &amp;amp; Repository
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/volety17/ghost-of-lords" rel="noopener noreferrer"&gt;https://github.com/volety17/ghost-of-lords&lt;/a&gt; &lt;em&gt;(see &lt;code&gt;/dharani_ai&lt;/code&gt;)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack:&lt;/strong&gt; Python 3.11, Google Gemma 2, Streamlit, Ollama, gTTS / pyttsx3, FAO-56 Agro-Meteorology algorithms.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Running DharaniAI Locally
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/volety17/ghost-of-lords.git
&lt;span class="nb"&gt;cd &lt;/span&gt;ghost-of-lords
pip &lt;span class="nb"&gt;install &lt;/span&gt;streamlit gTTS pyttsx3 requests
ollama pull gemma2:2b
python &lt;span class="nt"&gt;-m&lt;/span&gt; streamlit run dharani_ai/app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Dedicated to the resilient farmers of India's drylands.&lt;/em&gt; 🌾🇮🇳&lt;/p&gt;

</description>
      <category>gemma</category>
      <category>climate</category>
      <category>hf26challenge</category>
      <category>mlhacks</category>
    </item>
    <item>
      <title>The Ghost of Lord's: Spirit of the Laws 🏏👻 (Offline MCC Law Adjudicator with Gemma 2)</title>
      <dc:creator>sai voleti</dc:creator>
      <pubDate>Thu, 29 Oct 2026 18:15:33 +0000</pubDate>
      <link>https://dev.to/sai_voleti_fb0f518e2b4e4a/the-ghost-of-lords-spirit-of-the-laws-offline-mcc-law-adjudicator-with-gemma-2-419g</link>
      <guid>https://dev.to/sai_voleti_fb0f518e2b4e4a/the-ghost-of-lords-spirit-of-the-laws-offline-mcc-law-adjudicator-with-gemma-2-419g</guid>
      <description>&lt;h1&gt;
  
  
  The Ghost of Lord's: Spirit of the Laws 🏏👻
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;An Offline MCC Cricket Law Adjudicator &amp;amp; Arbiter of 1788, Powered by Google Gemma 2.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Built for the &lt;strong&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/strong&gt; 🎃⚖️&lt;br&gt;&lt;br&gt;
Competing for: &lt;strong&gt;Best Use of Gemma&lt;/strong&gt; ($200) &amp;amp; the &lt;strong&gt;Overall Winner&lt;/strong&gt; ($250).&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🏛️ Theme: Ghost in the Machine &amp;amp; Día de los Muertos
&lt;/h2&gt;

&lt;p&gt;Cricket has 42 official Laws governed exclusively by the Marylebone Cricket Club (MCC) at Lord's since 1788. Every year, matches are disrupted by fierce arguments over controversial dismissals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Was Jonny Bairstow's Ashes walkout fair game or against the Spirit of Cricket?&lt;/li&gt;
&lt;li&gt;Should Angelo Mathews have been given Timed Out when his helmet strap snapped?&lt;/li&gt;
&lt;li&gt;Is running out the non-striker ("Mankad") a legitimate run out under Law 38 or an affront to sportsmanship?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For Week 4's &lt;em&gt;"Ghost in the Machine"&lt;/em&gt; theme, we asked: &lt;strong&gt;What if the ancestral 1788 Victorian custodians of Lord's returned to haunt modern cricket?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Ghost of Lord's&lt;/strong&gt; is an offline, privacy-first AI oracle possessed by the ancestral arbiters of the Long Room. It watches match video evidence, indexes the complete 42 MCC Laws (2019 code) alongside the original 1788 founding codes, and delivers a dual verdict:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;📜 &lt;strong&gt;The Strict Official MCC Ruling:&lt;/strong&gt; Exact law clauses, penalties, and out/not-out legal determinations.&lt;/li&gt;
&lt;li&gt;👻 &lt;strong&gt;The Ghost's "Spirit of Cricket" Verdict:&lt;/strong&gt; Atmospheric Victorian gentleman commentary evaluating whether the action honors the chivalry and etiquette of the gentleman's game.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔮 Why Open Innovation &amp;amp; Gemma 2 Matter
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cloud Dependency / 100% Offline Edge Inference:&lt;/strong&gt;
Grassroots cricket grounds, school pavilions, and remote club matches frequently lack reliable Wi-Fi or cellular service. The Ghost of Lord's runs entirely locally on edge hardware via Google's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt;) using Ollama.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Law Retrieval (Local RAG):&lt;/strong&gt;
Instead of relying on closed-source cloud models that hallucinate rule numbers or confuse cricket with baseball, our system locally indexes over 4,300 lines of official MCC 2019 Laws and 1788 founding records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Sovereignty &amp;amp; Open Weights:&lt;/strong&gt;
Umpires, coaches, and clubs can audit and verify the model behavior without vendor lock-in, API throttling, or ongoing subscription costs.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  ✨ Features &amp;amp; Architecture
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;⚖️ &lt;strong&gt;Full 42 MCC Laws Indexer:&lt;/strong&gt; High-speed in-memory keyword &amp;amp; token scoring across all 42 official MCC Laws.&lt;/li&gt;
&lt;li&gt;📺 &lt;strong&gt;Interactive Match Video Evidence:&lt;/strong&gt; Built-in YouTube video footage for iconic cricket controversies (Angelo Mathews, Jonny Bairstow, R. Ashwin, Ben Stokes).&lt;/li&gt;
&lt;li&gt;👻 &lt;strong&gt;Dual-Perspective Judgments:&lt;/strong&gt; Reconciles the black-letter law against the historic Preamble (&lt;em&gt;The Spirit of Cricket&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Streamlit Web Dashboard &amp;amp; CLI:&lt;/strong&gt; Fast token streaming, antique Long Room aesthetic, and custom query mode for real-time umpiring disputes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📺 Live Demo &amp;amp; Video Evidence
&lt;/h2&gt;

&lt;p&gt;The Streamlit dashboard allows umpires to select iconic cricket controversies, watch the actual incident footage, and summon the Ghost Arbiter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Angelo Mathews (2023 CWC):&lt;/strong&gt; First-ever Timed Out dismissal in international cricket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Jonny Bairstow (2023 Ashes):&lt;/strong&gt; Alex Carey's controversial under-arm stumping at Lord's.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;R. Ashwin (2019 IPL):&lt;/strong&gt; The infamous Mankad dismissal of Jos Buttler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ben Stokes (2019 CWC Final):&lt;/strong&gt; The 6-run overthrow ricochet off the bat.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💻 Source Code &amp;amp; Open Repository
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/volety17/ghost-of-lords" rel="noopener noreferrer"&gt;https://github.com/volety17/ghost-of-lords&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack:&lt;/strong&gt; Python 3.11, Google Gemma 2 (&lt;code&gt;gemma2:2b&lt;/code&gt;), Ollama, Streamlit, MCC Laws of Cricket corpus (1788 &amp;amp; 2019).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Running Locally
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/volety17/ghost-of-lords.git
&lt;span class="nb"&gt;cd &lt;/span&gt;ghost-of-lords
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
ollama pull gemma2:2b
python &lt;span class="nt"&gt;-m&lt;/span&gt; streamlit run app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;May your decisions be just, and may the Spirit of the Game endure forever.&lt;/em&gt; 👻🏏&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
