<?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: Jagannath Padhi</title>
    <description>The latest articles on DEV Community by Jagannath Padhi (@jagannath135).</description>
    <link>https://dev.to/jagannath135</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Jagannath Padhi</title>
      <link>https://dev.to/jagannath135</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jagannath135"/>
    <language>en</language>
    <item>
      <title>TerraQuest AI: The Open-Weight AI Companion Built to Get You Off Screens and Into Nature</title>
      <dc:creator>Jagannath Padhi</dc:creator>
      <pubDate>Sun, 11 Oct 2026 18:41:42 +0000</pubDate>
      <link>https://dev.to/jagannath135/terraquest-ai-the-open-weight-ai-companion-built-to-get-you-off-screens-and-into-nature-5ek7</link>
      <guid>https://dev.to/jagannath135/terraquest-ai-the-open-weight-ai-companion-built-to-get-you-off-screens-and-into-nature-5ek7</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;Modern humans spend over 7 hours a day staring into glowing screens. This chronic screen exposure fuels digital fatigue, fragmented attention, and sensory deprivation. While many of us genuinely want to spend more time outdoors, turning that intention into reality is often blocked by subtle cognitive friction:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Where should I go? What should I do? I only have 15 minutes between meetings, so why bother?"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Most AI applications worsen this problem: they are conversational chatbots engineered to maximize on-screen engagement, encouraging users to stay seated and keep typing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TerraQuest AI turns this paradigm upside down.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Core Product Principle:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;"AI creates the plan. The user experiences the physical world."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;TerraQuest AI&lt;/strong&gt; is a personal outdoor adventure companion powered by open-weight AI (Google's Gemma instruction architecture). In less than 10 seconds, it converts your available schedule (10 to 120 minutes), energy level, environmental setting, group type, and mobility needs into an actionable, real-life &lt;strong&gt;Outdoor Mission Card&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  How It Gets People Off the Screen and Into Nature
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Time-Bounded Precision:&lt;/strong&gt; Generates structured timelines whose steps sum accurately to your available time (e.g., a 15-minute Green Reset, a 30-minute detective walk, or a 45-minute family nature scavenger safari).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action Over Scrolling:&lt;/strong&gt; It produces a concise, practical checklist—not a chat thread—ready to be put away before you step out the door.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Screen-Free Challenges:&lt;/strong&gt; Every mission issues an explicit commitment to keep smartphones pocketed on silent, set to airplane mode, or left indoors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Distraction-Free Mission Mode (&lt;code&gt;/adventure/[id]&lt;/code&gt;):&lt;/strong&gt; An outdoor-optimized interface with oversized high-contrast typography readable in bright sunlight, an activity timer, and step progression.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private Nature Reflection Journal (&lt;code&gt;/journal&lt;/code&gt;):&lt;/strong&gt; After returning indoors, users capture tactile, auditory, and visual observations and record state shifts (how they felt before vs. after). Data remains 100% private in local browser storage and can be exported to CSV or JSON.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Who Is It For?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Screen-Fatigued Remote Workers:&lt;/strong&gt; Seeking a quick 10–15 minute reset to reduce eye strain and lower cortisol levels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Urban &amp;amp; Suburban Explorers:&lt;/strong&gt; Discovering hidden biodiversity (micro-canopy lichens, tree heritage, bird flight patterns) right on their neighborhood streets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Balcony &amp;amp; Container Gardeners:&lt;/strong&gt; Engaging hands-on with living soil, moisture gradients, and root aeration in small spaces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mindful Observers &amp;amp; Photographers:&lt;/strong&gt; Practicing observation of natural geometries without phone filters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Families &amp;amp; Small Groups:&lt;/strong&gt; Collaborative sensory quests that engage children and companions in the physical world.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Running App:&lt;/strong&gt; Accessible at &lt;code&gt;http://localhost:3000&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cover Art &amp;amp; Visuals:&lt;/strong&gt; &lt;code&gt;public/cover.jpg&lt;/code&gt; (included in repository)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To run the live interactive demo locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Jagannath357/Hacktoberfest-week1.git
&lt;span class="nb"&gt;cd &lt;/span&gt;Hacktoberfest-Week1
npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Visit &lt;code&gt;http://localhost:3000&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Interface Preview
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Quick-Start Planner:&lt;/strong&gt; Instant time pills (10, 15, 30, 60, 120 min), category selectors, and energy filters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Distraction-Free Mission Mode:&lt;/strong&gt; Clean outdoor player with Screen-Free Mode toggle and completion confetti.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Curated Mission Library:&lt;/strong&gt; Ready-to-go activities filterable by difficulty and category without external network calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personal Dashboard:&lt;/strong&gt; Calculates real outdoor minutes and completed activities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Tip: You can attach the included generated cover image from &lt;code&gt;public/cover.jpg&lt;/code&gt; as your article header!)&lt;/em&gt;&lt;/p&gt;


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

&lt;p&gt;The entire codebase is open-source under the MIT License 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/Jagannath357" rel="noopener noreferrer"&gt;
        Jagannath357
      &lt;/a&gt; / &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1" rel="noopener noreferrer"&gt;
        Hacktoberfest-week1
      &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;🌲 TerraQuest AI&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;
  &lt;strong&gt;"Less scrolling. More exploring."&lt;/strong&gt;&lt;br&gt;
  &lt;em&gt;An open-weight AI outdoor adventure companion built for Hacktoberfest 2026 Week 1: Touch Grass.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-quick-start" rel="noopener noreferrer"&gt;Quick Start&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-core-concept" rel="noopener noreferrer"&gt;Core Concept&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-features" rel="noopener noreferrer"&gt;Features&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-system-architecture" rel="noopener noreferrer"&gt;Architecture&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-open-weight-ai-model" rel="noopener noreferrer"&gt;Open-Weight AI&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-documentation" rel="noopener noreferrer"&gt;Docs&lt;/a&gt; •
  &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1#-license" rel="noopener noreferrer"&gt;License&lt;/a&gt;
&lt;/p&gt;




&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📖 The Problem &amp;amp; Vision&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Modern humans spend over 7 hours a day staring into backlit displays. This chronic screen exposure fuels digital fatigue, shortened attention spans, and sensory deprivation. While many intend to spend more time outdoors, turning that intention into reality is blocked by friction: &lt;em&gt;Where do I go? What should I do? I only have 15 minutes.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most AI tools worsen this issue: they are conversational chatbots designed to maximize on-screen session duration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TerraQuest AI inverts this paradigm.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Core Product Principle:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;"AI creates the plan. The user experiences the world."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;TerraQuest AI takes your available time (10 to 120 minutes), energy level, environmental setting, group dynamic, and accessibility preferences, and…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Jagannath357/Hacktoberfest-week1" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repository:&lt;/strong&gt; &lt;a href="https://github.com/Jagannath357/Hacktoberfest-week1" rel="noopener noreferrer"&gt;https://github.com/Jagannath357/Hacktoberfest-week1&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack:&lt;/strong&gt; Next.js 16 (App Router), React 19, TypeScript (strict mode), Tailwind CSS, &lt;code&gt;@google/genai&lt;/code&gt; SDK, Zod, and Vitest.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  1. Open-Weight AI Integration: Gemma Instruction Models
&lt;/h3&gt;

&lt;p&gt;The project is built around Google's &lt;strong&gt;Gemma open-weight instruction models&lt;/strong&gt; (&lt;code&gt;gemma-2-9b-it&lt;/code&gt;) using the official &lt;code&gt;@google/genai&lt;/code&gt; (v2.28) unified SDK.&lt;/p&gt;

&lt;p&gt;To protect the user experience from conversational drift and hallucinations, TerraQuest uses a structured system prompt that enforces strict real-world principles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grounded Realism:&lt;/strong&gt; Never invent current weather, business opening hours, trail conditions, or local events.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location Boundaries:&lt;/strong&gt; Recommends general setting types (e.g., "community park, tree-lined street") rather than fabricating proprietary coordinates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outdoor Safety &amp;amp; Leave No Trace:&lt;/strong&gt; Explicitly forbids recommending disturbing wildlife, entering restricted areas, approaching dangerous animals, or consuming unidentified wild plants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured JSON Schema:&lt;/strong&gt; The model returns valid JSON strictly conforming to &lt;code&gt;AdventureMissionSchema&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Provider Adapter Architecture
&lt;/h3&gt;

&lt;p&gt;The backend uses a decoupled provider adapter pattern:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;interface&lt;/span&gt; &lt;span class="nx"&gt;AIProvider&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nf"&gt;generateAdventure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;AdventureRequestInput&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;GenerationResult&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;GoogleAIProvider&lt;/code&gt;:&lt;/strong&gt; Directly queries the configured Gemma open-weight instruction model via Google AI Studio.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;CuratedFallbackProvider&lt;/code&gt;:&lt;/strong&gt; A deterministic local activity engine that proportionally scales step durations and adapts safety notes without requiring an API key or network connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Resilience &amp;amp; Rate-Limit Strategy
&lt;/h3&gt;

&lt;p&gt;If the remote API encounters an HTTP 429 rate limit, quota exhaustion, network disruption, or an invalid key:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TerraQuest automatically routes through the curated fallback engine.&lt;/li&gt;
&lt;li&gt;Every card displays an honest &lt;strong&gt;Source Disclosure Badge&lt;/strong&gt; (&lt;code&gt;Gemma Open-Weight&lt;/code&gt; vs &lt;code&gt;Curated Engine&lt;/code&gt;). The application never fails and never misrepresents fallback data as live AI output.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. System Architecture Flow
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User (Browser) 
  ──&amp;gt; Next.js App Router Client (/create)
  ──&amp;gt; POST /api/adventures/generate (Zod Validated, Rate Limited: 20 req/min)
  ──&amp;gt; Provider Adapter (Google Gemma / Curated Fallback)
  ──&amp;gt; Validated Mission Card
  ──&amp;gt; Distraction-Free Mode (/adventure/:id)
  ──&amp;gt; User Locks Device &amp;amp; Explores Outdoors
  ──&amp;gt; Private Nature Reflection Journal (/journal in localStorage)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  5. Automated Verification &amp;amp; Testing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;13 automated tests&lt;/strong&gt; via &lt;strong&gt;Vitest&lt;/strong&gt; verifying input validation, duration proportionality, and curated library integrity (&lt;code&gt;npm test&lt;/code&gt; — 100% pass rate).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict TypeScript:&lt;/strong&gt; Checked with zero errors (&lt;code&gt;npx tsc --noEmit&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production Build:&lt;/strong&gt; Prerendered with Next.js Turbopack (&lt;code&gt;npm run build&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open-source and open-weight AI are foundational to this project for several critical reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Freedom From Closed-Model Lock-In:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Proprietary closed-API models can change pricing, alter system prompts, or deprecate endpoints overnight. Because Gemma's model weights and architecture are published openly under the Gemma Terms of Use, developers have long-term predictability. The provider adapter in TerraQuest can easily be retargeted to run on self-hosted Ollama or vLLM instances without changing a single line of business logic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Algorithmic Transparency &amp;amp; Safety:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
When building software that guides people in the physical outdoors, safety and predictability are paramount. Open architectures allow developers to inspect model cards, evaluate safety benchmarks, and test behavior openly rather than trusting a corporate black box.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Path to True Offline Edge Inference:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
While this MVP uses Google AI Studio endpoints for fast evaluation, the long-term goal of an outdoor app is zero-connectivity field execution. Because Gemma has lightweight open-weight variants (such as Gemma 2B), future iterations of TerraQuest AI can compile the model directly to on-device WebGPU (via Transformers.js or ONNX Runtime Web). You can truly be in the deep backcountry with no cell reception and still generate a mindful nature expedition.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project was architected, implemented, tested, and documented in pair programming sessions using Google DeepMind's Antigravity agentic environment. The agent assisted in scaffold generation, Zod schema validation, Vitest test authoring, responsive Tailwind layout creation, Next.js 16 partial prerendering compliance, and end-to-end browser verification.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Touch Grass (Week 1 Theme):&lt;/strong&gt; Primary challenge submission directly designed to minimize screen addiction and guide humans into the natural world.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight AI Innovation:&lt;/strong&gt; Built on Google's Gemma open-weight instruction models with provider-agnostic architecture.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Team Submissions
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Individual submission by Jagannath (&lt;a href="https://dev.to/jagannath357"&gt;@jagannath357&lt;/a&gt;).&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Less scrolling. More exploring. Step outside, breathe deeply, and touch grass!&lt;/em&gt;&lt;/p&gt;

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