<?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>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>
