<?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: Aditya</title>
    <description>The latest articles on DEV Community by Aditya (@adityanarayanpadhi).</description>
    <link>https://dev.to/adityanarayanpadhi</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%2F4170370%2F30d5fa79-5ce3-48e8-abb4-889468049ab8.png</url>
      <title>DEV Community: Aditya</title>
      <link>https://dev.to/adityanarayanpadhi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adityanarayanpadhi"/>
    <language>en</language>
    <item>
      <title>ShelfSense: Automated E-Commerce Stockout Arbitrage Engine with TabPFN, Gemma &amp; ElevenLabs</title>
      <dc:creator>Aditya</dc:creator>
      <pubDate>Sat, 17 Oct 2026 15:39:36 +0000</pubDate>
      <link>https://dev.to/adityanarayanpadhi/shelfsense-automated-e-commerce-stockout-arbitrage-engine-with-tabpfn-gemma-elevenlabs-47pe</link>
      <guid>https://dev.to/adityanarayanpadhi/shelfsense-automated-e-commerce-stockout-arbitrage-engine-with-tabpfn-gemma-elevenlabs-47pe</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Independent Shopify and Amazon marketplace merchants operate in a brutal, margin-compressed environment. When a high-volume competitor runs out of stock, customer search demand does not vanish—it instantly shifts to the next available merchant. Capturing this "stockout vacuum" window via dynamic price surges and targeted ad campaigns yields immediate, high-margin profit. However, monitoring competitors manually 24/7 and calculating inventory depletion curves from messy vendor CSVs is impossible for solo sellers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ShelfSense&lt;/strong&gt; is an autonomous inventory arbitrage engine that solves this end-to-end:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Forecasts Internal Stockout Runway:&lt;/strong&gt; Uses &lt;strong&gt;TabPFN-3.5&lt;/strong&gt; to run zero-shot non-parametric regression directly on historical inventory velocity CSVs, determining exact remaining runway days without requiring custom dataset training or hyperparameter tuning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitors Competitor Vacuums in Real-Time:&lt;/strong&gt; Scrapes Google Shopping listings with &lt;strong&gt;SerpApi&lt;/strong&gt; to detect competitor stockout flags and live pricing spreads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Formulates Arbitrage Directives:&lt;/strong&gt; Employs &lt;strong&gt;Gemma&lt;/strong&gt; to reason across tabular runway metrics and live competitor shortages, generating surge pricing rules and 30-character search ad headlines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivers Morning Spoken Briefs:&lt;/strong&gt; Synthesizes a natural, 60-second executive audio briefing via &lt;strong&gt;ElevenLabs&lt;/strong&gt; so merchants can listen to overnight market shifts during their morning routine.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Who would pay for this?&lt;/strong&gt; High-volume Amazon FBA and Shopify D2C arbitrage sellers managing 20–500 SKUs. A \$49/month micro-SaaS tier is instantly justified if the engine captures just one competitor stockout window per month.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://self-sense.vercel.app" rel="noopener noreferrer"&gt;https://self-sense.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Backend API:&lt;/strong&gt; &lt;a href="https://selfsense.onrender.com" rel="noopener noreferrer"&gt;https://selfsense.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swagger Documentation:&lt;/strong&gt; &lt;a href="https://selfsense.onrender.com/docs" rel="noopener noreferrer"&gt;https://selfsense.onrender.com/docs&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F19gmmdaudykvr3jd4s62.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F19gmmdaudykvr3jd4s62.png" alt=" " width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The application features a Warm Industrial Gray brutalist design system (built with Next.js, Framer Motion, and Tailwind CSS) featuring a 12-column architectural wireframe grid, drag-and-drop CSV intake console, live competitor price matrices, and an integrated audio frequency wave player.&lt;/p&gt;




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

&lt;p&gt;The complete full-stack codebase—including the FastAPI backend service, TabPFN/SerpApi/Gemma/ElevenLabs orchestration pipelines, integration tests, and the Next.js frontend—is open source on GitHub:&lt;/p&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/AdityaNarayanPadhi" rel="noopener noreferrer"&gt;
        AdityaNarayanPadhi
      &lt;/a&gt; / &lt;a href="https://github.com/AdityaNarayanPadhi/SelfSense" rel="noopener noreferrer"&gt;
        SelfSense
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Autonomous D2C inventory arbitrage engine for Amazon &amp;amp; Shopify sellers. Forecasts stockouts with TabPFN-3.5, tracks competitor signals via SerpApi, reasons pricing rules with Gemma, and delivers daily morning audio briefs via ElevenLabs.
    &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;ShelfSense 🚀&lt;/h1&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;E-Commerce Inventory Arbitrage &amp;amp; Stockout Detection Engine&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ShelfSense&lt;/strong&gt; is a high-throughput, production-ready backend service designed for high-volume Shopify and Amazon merchants. It predicts internal inventory depletion with state-of-the-art tabular foundation models, continuously crawls real-time competitor prices and stockouts, synthesizes dynamic pricing arbitrage playbooks with Google Gemma, and delivers a personalized 60-second morning audio brief synthesized by ElevenLabs.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏛️ System Architecture&lt;/h2&gt;
&lt;/div&gt;

  &lt;div class="js-render-enrichment-target"&gt;
    &lt;div class="render-plaintext-hidden"&gt;
      &lt;pre&gt;flowchart TD
    subgraph Client ["Client Layer"]
        FE["Next.js / Vercel Frontend"]
        Merchant["Merchant / Automated Job"]
    end
    subgraph ShelfSenseAPI ["ShelfSense Backend (FastAPI on Render)"]
        Router["/api/analyze Endpoint"]
        AudioRoute["/audio/{filename} Endpoint"]
        subgraph Engine1 ["1. Tabular Forecasting"]
            TabPFN["TabPFN-3.5 Regressor&amp;lt;br/&amp;gt;(Depletion Days &amp;amp; Velocity)"]
        end
        
        subgraph Engine2 ["2. Competitor Intelligence"]
            Serp["SerpApi Google Shopping&amp;lt;br/&amp;gt;(Live Prices, Stores &amp;amp; Stock Status)"]
        end

        subgraph Engine3 ["3. Reasoning &amp;amp; Arbitrage"]
            Gemma["Google Gemma LLM&amp;lt;br/&amp;gt;(Dynamic Pricing &amp;amp; Ad Copy)"]
        end

        subgraph Engine4 ["4. Audio Brief Synthesis"]
            Eleven["ElevenLabs API&amp;lt;br/&amp;gt;(eleven_multilingual_v2)"]
        end
    end

    Merchant --&amp;gt;|CSV + Product Query| FE
    FE --&amp;gt;|POST /api/analyze| Router
    Router --&amp;gt;|Async Gather|&lt;/pre&gt;…&lt;/div&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/AdityaNarayanPadhi/SelfSense" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;ShelfSense coordinates four specialized AI and cloud technologies into a non-blocking asynchronous pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Tabular Machine Learning (TabPFN-3.5):&lt;/strong&gt;
Small merchant inventory logs (typically 5 to 50 rows of historical sales velocity and price variance) are too small to train gradient-boosted trees or deep neural networks without extreme overfitting. We integrated Prior Labs' &lt;strong&gt;TabPFN-3.5 Regressor&lt;/strong&gt;, passing the historical batch to predict exact days-to-stockout on the current inventory row.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Market Grounding (SerpApi):&lt;/strong&gt;
The backend asynchronously queries the Google Shopping engine via SerpApi, parsing merchant names (Amazon, Walmart, Best Buy), numerical price spreads, and out-of-stock badge snippets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognitive Arbitrage Reasoning (Gemma):&lt;/strong&gt;
Using Google's open-weight &lt;strong&gt;Gemma&lt;/strong&gt;, the engine receives the combined context: TabPFN's depletion runway and SerpApi's live stock status. If competitors are depleted, Gemma formulates a 10%–20% surge pricing recommendation and drafts high-conversion search ad copy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice AI (ElevenLabs):&lt;/strong&gt;
The spoken segment from Gemma's directive is synthesized using ElevenLabs' &lt;code&gt;eleven_multilingual_v2&lt;/code&gt; model into a streamable MP3 brief.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud Infrastructure:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Render:&lt;/strong&gt; Hosts the Python 3.11 FastAPI backend, handling async task execution, CSV parsing, and model coordination.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel:&lt;/strong&gt; Hosts the Next.js App Router frontend with real-time audio playback and telemetry visualizations.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;Open innovation and open-weight models are what make ShelfSense commercially viable as a sustainable micro-SaaS:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Arithmetic vs. Closed LLM Hallucination:&lt;/strong&gt;
Proprietary conversational LLMs notoriously struggle with tabular numerical calculations, often hallucinating stockout trends or failing at multi-variable regression. By utilizing &lt;strong&gt;TabPFN&lt;/strong&gt;, we use a true tabular foundation model that performs Bayesian inference over tabular priors directly on CSV bytes with zero arithmetic drift.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Viable Unit Economics for High-Frequency Scraping:&lt;/strong&gt;
Running continuous competitor inventory audits across hundreds of SKUs with proprietary closed APIs leads to compounding per-token API bills that erode thin e-commerce margins. Open-weight models like &lt;strong&gt;Gemma&lt;/strong&gt; allow continuous local or self-hosted batch inference on fixed-cost infrastructure (like Render) without unpredictable token markups.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Privacy for Sensitive Supplier Ledgers:&lt;/strong&gt;
Merchants are reluctant to upload proprietary supplier costs and sales velocity data to closed third-party model providers that may use commercial data for training. Open-weight pipelines allow running inference in controlled, private runtime environments.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;Before finalizing the submission, I shared ShelfSense with a solo e-commerce seller managing home audio and electronics accessories across Amazon and Shopify. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Test:&lt;/strong&gt; They uploaded a sample 7-day velocity ledger for over-ear wireless headphones while a major category competitor experienced stockouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Their Feedback:&lt;/strong&gt; &lt;em&gt;"Normally, I only find out a competitor is out of stock days after the surge has already passed. Seeing the TabPFN runway countdown paired with the ready-to-run Google ad copy and price surge suggestion in an audio brief was surreal."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Willingness to Pay:&lt;/strong&gt; They confirmed that an automated daily alert catching even two stockout arbitrage opportunities a month would justify a &lt;strong&gt;\$40–\$50/month subscription&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of TabPFN (\$200)&lt;/strong&gt; — Uses TabPFN-3.5 tabular foundation regression to forecast inventory depletion and categorize stockout urgency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Render (\$200)&lt;/strong&gt; — Deployed the Python FastAPI backend service and AI runtime on Render using an automated build blueprint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma (\$200)&lt;/strong&gt; — Uses Google's open-weight Gemma model to analyze market pressure, formulate dynamic pricing rules, and generate search ad copy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of SerpApi (\$100)&lt;/strong&gt; — Uses SerpApi Google Shopping engine to crawl real-time competitor prices, store listings, and stock availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of ElevenLabs (\$100)&lt;/strong&gt; — Uses ElevenLabs Voice AI to synthesize a daily 60-second morning audio brief for merchants.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>FoliageRun — Autonomous Autumn Canopy Route Synthesizer for Bhubaneswar published: true</title>
      <dc:creator>Aditya</dc:creator>
      <pubDate>Sun, 11 Oct 2026 18:25:14 +0000</pubDate>
      <link>https://dev.to/adityanarayanpadhi/foliagerun-autonomous-autumn-canopy-route-synthesizer-for-bhubaneswarpublished-true-2ijo</link>
      <guid>https://dev.to/adityanarayanpadhi/foliagerun-autonomous-autumn-canopy-route-synthesizer-for-bhubaneswarpublished-true-2ijo</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;&lt;strong&gt;FoliageRun&lt;/strong&gt; is an autonomous running route synthesizer created to help developers and runners disconnect from screens and explore the outdoor canopy of &lt;strong&gt;Bhubaneswar, Odisha&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Urban runners frequently end up on high-traffic, polluted roads simply because standard GPS navigation prioritizes vehicular speed over greenery. FoliageRun solves this by orchestrating an open-source AI agent workflow that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ingests a runner's custom starting point, ending point, or distance target.&lt;/li&gt;
&lt;li&gt;Maximizes tree-canopy coverage across major green corridors (such as Ekamra Kanan, Jayadev Vatika, and Chandaka trails).&lt;/li&gt;
&lt;li&gt;Synthesizes realistic running loops and generates turnkey &lt;strong&gt;GPX 1.1 exports&lt;/strong&gt; compatible with Garmin, Strava, and Apple Watch.&lt;/li&gt;
&lt;li&gt;Provides a tranquil, distraction-free "Lock Screen" dispatch mode that encourages users to pocket their devices and touch grass.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Deployed App:&lt;/strong&gt; &lt;a href="https://foliagerun.vercel.app" rel="noopener noreferrer"&gt;https://foliagerun.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/AdityaNarayanPadhi/FoliageRun" rel="noopener noreferrer"&gt;AdityaNarayanPadhi/FoliageRun&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&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/AdityaNarayanPadhi" rel="noopener noreferrer"&gt;
        AdityaNarayanPadhi
      &lt;/a&gt; / &lt;a href="https://github.com/AdityaNarayanPadhi/FoliageRun" rel="noopener noreferrer"&gt;
        FoliageRun
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      An open-source autumn running route generator for Bhubaneswar, Odisha. Built for the Hacktoberfest 2026 Touch Grass challenge.
    &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;🍂 FoliageRun Backend Service&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Hacktoberfest 2026 "Touch Grass" Challenge Entry&lt;/strong&gt;&lt;br&gt;
An autonomous outdoor autumn running route generator powered by the &lt;strong&gt;Mastra framework&lt;/strong&gt;, open-weight LLMs via &lt;strong&gt;Groq / Hugging Face Inference API&lt;/strong&gt;, &lt;strong&gt;OpenStreetMap Overpass API&lt;/strong&gt;, &lt;strong&gt;SerpApi&lt;/strong&gt;, and telemetry tracked by &lt;strong&gt;Sentry AI Agent Monitoring&lt;/strong&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;FoliageRun&lt;/strong&gt; encourages runners and outdoor enthusiasts to get outside and "touch grass" during peak autumn foliage. Given a starting point and desired distance (e.g., 5km, 10km), the backend orchestrates specialized agents and tools to synthesize a closed-loop running route that maximizes tree canopy coverage, routes through local parks, and includes live foliage condition reports and turnkey GPX export for Garmin, Strava, and Apple Watch.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🛠 Architectural Stack&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Runtime &amp;amp; Language&lt;/strong&gt;: Node.js (v20+ / v22+), TypeScript, Express&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent Orchestration&lt;/strong&gt;: &lt;a href="https://mastra.ai/" rel="nofollow noopener noreferrer"&gt;Mastra Framework&lt;/a&gt; (&lt;code&gt;@mastra/core&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight LLMs&lt;/strong&gt;: &lt;code&gt;google/gemma-2-9b-it&lt;/code&gt; or &lt;code&gt;meta-llama/llama-3.1-8b-instant&lt;/code&gt; via Groq API or Hugging Face Inference API using…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/AdityaNarayanPadhi/FoliageRun" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The repository is fully open-source under the MIT License and includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Express + TypeScript backend orchestrator with Mastra Agent tooling.&lt;/li&gt;
&lt;li&gt;Dynamic OSM Overpass query integration for parsing parks and green paths.&lt;/li&gt;
&lt;li&gt;SerpApi tool integration for live foliage reports.&lt;/li&gt;
&lt;li&gt;Sentry OpenTelemetry instrumentation for AI agent monitoring.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;FoliageRun combines modern open-weight AI inference with real-time geospatial extraction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Agent Orchestration (Mastra):&lt;/strong&gt; Built with &lt;code&gt;@mastra/core&lt;/code&gt; to coordinate external tools, handle context windows, and manage tool-calling lifecycles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight Inference (Gemma 2 9B):&lt;/strong&gt; Powered by &lt;code&gt;google/gemma-2-9b-it&lt;/code&gt; via Groq's high-speed endpoint. Gemma synthesizes optimal running waypoints, elevation estimates, and natural turn-by-turn briefings without proprietary closed-model lock-in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Geospatial &amp;amp; Foliage Tools:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenStreetMap Overpass API:&lt;/strong&gt; Live queries identify paths, parks (&lt;code&gt;leisure=park&lt;/code&gt;), and nature reserves (&lt;code&gt;landuse=forest&lt;/code&gt;) around Bhubaneswar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SerpApi:&lt;/strong&gt; Retrieves live seasonal canopy status, weather advisories, and park trail conditions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Telemetry &amp;amp; Tracing (Sentry AI Monitoring):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;End-to-end tracing across &lt;code&gt;ai.agent&lt;/code&gt;, &lt;code&gt;ai.tool&lt;/code&gt;, and &lt;code&gt;ai.chat_completions.create&lt;/code&gt; spans.&lt;/li&gt;
&lt;li&gt;Monitored latency, error rates, and prompt/completion token consumption directly within the Sentry dashboard.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Outdoor well-being and navigation tools should not depend entirely on opaque, closed-source ecosystems. &lt;/p&gt;

&lt;p&gt;Open innovation makes it possible to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pair community-maintained datasets like OpenStreetMap with open-weight models (&lt;code&gt;gemma-2-9b-it&lt;/code&gt;), ensuring anyone can self-host and customize route synthesis for their own city without incurring per-query subscription fees.&lt;/li&gt;
&lt;li&gt;Transparently inspect how route decisions are made, avoiding proprietary ad-driven route biases.&lt;/li&gt;
&lt;li&gt;Give developers complete ownership over telemetry and data governance by pairing open-source toolkits with transparent observability platforms.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Overall Touch Grass Project&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Mastra&lt;/strong&gt; (Used &lt;code&gt;@mastra/core&lt;/code&gt; for agent workflow execution and multi-tool orchestration)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Sentry Agent Tracing&lt;/strong&gt; (Integrated &lt;code&gt;@sentry/node&lt;/code&gt; capturing automated spans for &lt;code&gt;ai.agent&lt;/code&gt;, tool execution latency, and token consumption metrics)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; (Deployed &lt;code&gt;gemma-2-9b-it&lt;/code&gt; for intelligent spatial waypoint reasoning and running briefing generation)&lt;/li&gt;
&lt;/ul&gt;

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