<?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: anmolchaudhary617-ux</title>
    <description>The latest articles on DEV Community by anmolchaudhary617-ux (@anmolchaudhary617ux).</description>
    <link>https://dev.to/anmolchaudhary617ux</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%2F4158904%2F1b677576-2ca4-4d02-b5a2-c948c624fa24.png</url>
      <title>DEV Community: anmolchaudhary617-ux</title>
      <link>https://dev.to/anmolchaudhary617ux</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anmolchaudhary617ux"/>
    <language>en</language>
    <item>
      <title>BugSéance 👻 — A Local AI Investigator for the Ghosts Hiding in Your Logs</title>
      <dc:creator>anmolchaudhary617-ux</dc:creator>
      <pubDate>Sat, 31 Oct 2026 17:19:49 +0000</pubDate>
      <link>https://dev.to/anmolchaudhary617ux/bugseance-a-local-ai-investigator-for-the-ghosts-hiding-in-your-logs-41li</link>
      <guid>https://dev.to/anmolchaudhary617ux/bugseance-a-local-ai-investigator-for-the-ghosts-hiding-in-your-logs-41li</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Every developer has encountered a moment when an application suddenly stops behaving as expected.&lt;/p&gt;

&lt;p&gt;The terminal fills with errors. A traceback points somewhere in the code. Something is undefined, a dependency is missing, or a service refuses to connect.&lt;/p&gt;

&lt;p&gt;Sometimes the error is obvious. Sometimes figuring out what actually happened takes much longer than fixing it.&lt;/p&gt;

&lt;p&gt;That's the problem I wanted to explore with &lt;strong&gt;BugSéance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;BugSéance is a local-first AI debugging investigator that reads application logs and turns them into structured debugging reports.&lt;/p&gt;

&lt;p&gt;Instead of simply asking an AI chatbot, "What's wrong with my code?", you give BugSéance an actual log and let it investigate the evidence.&lt;/p&gt;

&lt;p&gt;It produces a report containing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Summary:&lt;/strong&gt; What appears to have happened.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Root cause:&lt;/strong&gt; The most likely explanation behind the issue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observed facts:&lt;/strong&gt; Evidence grounded in the supplied log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Likely explanations and unknowns:&lt;/strong&gt; What can be inferred and what remains uncertain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Suggested fixes:&lt;/strong&gt; Practical troubleshooting steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Severity and confidence:&lt;/strong&gt; An assessment of the issue and the model's estimated certainty.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It can also recognize when a log doesn't actually contain an error. A successful Uvicorn startup and an HTTP &lt;code&gt;200 OK&lt;/code&gt; response shouldn't turn into a fictional debugging problem.&lt;/p&gt;

&lt;p&gt;I chose the Ghost in the Machine theme because debugging often feels like investigating something invisible. The application behaves unexpectedly, but the clues are scattered across its logs.&lt;/p&gt;

&lt;p&gt;BugSéance gives that ghost a voice — and makes it show its evidence.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;BugSéance is currently a local application. It does not have a deployed public instance.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project uses local Ollama inference, so the intended experience is to run it on your own machine with the required model installed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Python &lt;code&gt;ModuleNotFoundError&lt;/code&gt; investigation.&lt;/li&gt;
&lt;li&gt;A normal Uvicorn startup log correctly recognized as non-failing.&lt;/li&gt;
&lt;li&gt;A JavaScript &lt;code&gt;TypeError&lt;/code&gt; investigation.&lt;/li&gt;
&lt;li&gt;The structured report and Markdown export.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Screenshots: &lt;br&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%2F6o8xtn7l6rjzrmrh2x9s.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%2F6o8xtn7l6rjzrmrh2x9s.png" alt=" " width="800" height="368"&gt;&lt;/a&gt;&lt;/p&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%2Fnodd613h5rjwyqepywuj.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%2Fnodd613h5rjwyqepywuj.png" alt=" " width="799" height="547"&gt;&lt;/a&gt;&lt;/p&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%2Fmx3yms116msb2l3opmct.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%2Fmx3yms116msb2l3opmct.png" alt=" " width="800" height="786"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;The complete source code is available on GitHub:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/anmolchaudhary617-ux/BugSeance" rel="noopener noreferrer"&gt;BugSéance — GitHub Repository&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Repository: &lt;code&gt;https://github.com/anmolchaudhary617-ux/BugSeance&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The project has two main parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;frontend/&lt;/code&gt; — React interface for log input, investigation reports, readiness status and Markdown export.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;backend/&lt;/code&gt; — FastAPI service responsible for preparing analysis requests, communicating with Ollama, validating generated reports and handling errors.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;BugSéance is built around &lt;strong&gt;Gemma 4 (&lt;code&gt;gemma4:e2b&lt;/code&gt;) running locally through Ollama&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The idea was to make the open-weight model an essential part of the application, not just an optional chatbot added to an existing interface.&lt;/p&gt;

&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React + Vite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Python + FastAPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI model&lt;/td&gt;
&lt;td&gt;Gemma 4 (&lt;code&gt;gemma4:e2b&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inference runtime&lt;/td&gt;
&lt;td&gt;Ollama&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Request validation&lt;/td&gt;
&lt;td&gt;Pydantic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend testing&lt;/td&gt;
&lt;td&gt;Pytest&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  How an investigation works
&lt;/h3&gt;

&lt;p&gt;The workflow is deliberately straightforward:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A developer pastes an error log or uploads a supported &lt;code&gt;.txt&lt;/code&gt; or &lt;code&gt;.log&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;The frontend sends the log and selected programming language to the FastAPI backend.&lt;/li&gt;
&lt;li&gt;The backend prepares the input within the configured model context budget.&lt;/li&gt;
&lt;li&gt;Ollama passes the request to the locally running Gemma model.&lt;/li&gt;
&lt;li&gt;The generated response is validated against the expected report structure.&lt;/li&gt;
&lt;li&gt;Evidence quotations are checked against the original supplied log.&lt;/li&gt;
&lt;li&gt;The frontend displays the investigation and allows the report to be exported as Markdown.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Engineering decisions and challenges
&lt;/h3&gt;

&lt;p&gt;The interesting part wasn't simply getting a model to explain an error. It was making its output more dependable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Handling long logs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A model has a finite context window. Sending an entire large log without considering that limit can cause incomplete or failed responses.&lt;/p&gt;

&lt;p&gt;I implemented bounded input preparation that accounts for the configured context size, output allowance and a safety margin. When necessary, it preserves the beginning and end of the log, along with selected diagnostic lines, and informs the user that content was omitted.&lt;/p&gt;

&lt;p&gt;This uses approximate UTF-8 byte budgeting rather than an exact Gemma tokenizer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Preventing invented evidence&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A debugging assistant that confidently quotes something that never appeared in the log is not particularly useful.&lt;/p&gt;

&lt;p&gt;BugSéance validates quoted evidence against the original user-supplied log. It also distinguishes observed facts from likely explanations and unknowns.&lt;/p&gt;

&lt;p&gt;The objective is to make the model explain what it knows, rather than present every inference as a confirmed fact.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Handling unreliable model output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Structured AI responses aren't guaranteed to be valid every time.&lt;/p&gt;

&lt;p&gt;I added response-envelope and report-schema validation, controlled Ollama error handling, and a bounded retry for malformed or incomplete model responses.&lt;/p&gt;

&lt;p&gt;The retry is limited to two attempts, preventing an endless retry loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Frontend reliability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I also addressed issues such as stale reports appearing after the input changes, outdated asynchronous responses replacing newer results, and file-selection validation not triggering when the same invalid file is selected again.&lt;/p&gt;

&lt;p&gt;The interface now distinguishes backend availability from Ollama/model readiness.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Keeping the application local-first&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The final implementation removes the external Google Fonts dependency and keeps inference directed at the local Ollama service by default.&lt;/p&gt;

&lt;p&gt;Suggested fixes remain suggestions. BugSéance does not execute commands or modify a developer's code automatically.&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing
&lt;/h3&gt;

&lt;p&gt;The latest automated release audit reported:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backend: &lt;strong&gt;19 tests passed, 0 failed, 0 skipped&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Frontend ESLint: passed.&lt;/li&gt;
&lt;li&gt;Frontend production build: passed.&lt;/li&gt;
&lt;li&gt;Git diff check: passed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is one existing Starlette/httpx test-client deprecation warning.&lt;/p&gt;

&lt;p&gt;The final automated checks use mocked model responses. Although I manually tested earlier versions of BugSéance with Gemma and received sensible diagnoses, live Gemma inference was not repeated after the final trustworthiness changes. That remains an important validation step.&lt;/p&gt;

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

&lt;p&gt;For a debugging tool, application logs aren't always harmless text.&lt;/p&gt;

&lt;p&gt;They can contain internal service names, file paths, database details, API responses and other information developers may not want to send to a third-party service.&lt;/p&gt;

&lt;p&gt;Using an open-weight model through local inference gives BugSéance a different architecture.&lt;/p&gt;

&lt;p&gt;Instead of depending on a hosted proprietary AI API for every investigation, the application communicates with an Ollama instance running on the developer's machine.&lt;/p&gt;

&lt;p&gt;This matters in a few practical ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy and control:&lt;/strong&gt; Logs can remain on the local machine when using the default local configuration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexibility:&lt;/strong&gt; The model and inference configuration can be changed without redesigning the entire application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility:&lt;/strong&gt; Developers with compatible hardware can experiment without needing a paid hosted inference API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Independence:&lt;/strong&gt; The core investigation workflow isn't tied to a single proprietary AI provider.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is an important distinction: the model must first be installed or downloaded, and changing the Ollama endpoint to a remote server changes the privacy assumptions. Local inference is the intended default, not an unconditional guarantee that every setup is offline.&lt;/p&gt;

&lt;p&gt;Open innovation made it possible to build a debugging assistant around developer control instead of treating it as an afterthought.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The name BugSéance started with a simple idea: debugging sometimes feels like holding a séance.&lt;/p&gt;

&lt;p&gt;You have traces of something that happened, but you weren't there when it happened. You ask questions, examine the evidence, and try to reconstruct the event.&lt;/p&gt;

&lt;p&gt;One of the most useful moments during development was testing the application with a perfectly normal Uvicorn startup log.&lt;/p&gt;

&lt;p&gt;Instead of inventing a crash, BugSéance correctly recognized that the server had started and the request had returned &lt;code&gt;200 OK&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That matters to me because a debugging tool shouldn't manufacture a haunting just to justify its existence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The machine may be haunted. But every ghost should have to show its evidence.&lt;/strong&gt; 👻&lt;/p&gt;

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

&lt;p&gt;I'm entering the following categories based on the technologies used in the project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 4 is the core model used for local log investigation through Ollama.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of GitHub Copilot&lt;/strong&gt; — GitHub Copilot's coding agent was used during project inspection, implementation and reliability improvements.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Touch Grass: An Open-Source AI That Sends You Outside</title>
      <dc:creator>anmolchaudhary617-ux</dc:creator>
      <pubDate>Sun, 11 Oct 2026 18:29:18 +0000</pubDate>
      <link>https://dev.to/anmolchaudhary617ux/touch-grass-an-open-source-ai-that-sends-you-outside-540o</link>
      <guid>https://dev.to/anmolchaudhary617ux/touch-grass-an-open-source-ai-that-sends-you-outside-540o</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;h1&gt;
  
  
  Touch Grass: Less Screen Time, More Real-World Adventures
&lt;/h1&gt;

&lt;p&gt;What if AI didn't try to keep you staring at a screen—but actually encouraged you to put your phone away?&lt;/p&gt;

&lt;p&gt;That's the idea behind &lt;strong&gt;Touch Grass&lt;/strong&gt;, an AI-powered outdoor adventure application I built for the Hacktoberfest Open-Source AI Challenge.&lt;/p&gt;

&lt;p&gt;Instead of endlessly scrolling, users choose an adventure style, pick how much time they have, and let AI generate a mission that encourages them to explore their surroundings.&lt;/p&gt;

&lt;p&gt;The goal is simple: use technology to help people spend less time using technology.&lt;/p&gt;

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

&lt;p&gt;Touch Grass turns an ordinary walk into an opportunity for discovery.&lt;/p&gt;

&lt;p&gt;Users can choose from three adventure styles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Investigate:&lt;/strong&gt; Follow clues and uncover details.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observe:&lt;/strong&gt; Slow down and notice nature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discover:&lt;/strong&gt; Find something unexpected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They also choose an adventure duration, ranging from 10–15 minutes to 30–45 minutes.&lt;/p&gt;

&lt;p&gt;The application generates a mission with a premise, an objective, a safety briefing, and a first clue. Once the adventure begins, users can put their phones away, explore their surroundings, return to record observations, and receive their next AI-generated clue.&lt;/p&gt;

&lt;p&gt;The experience is designed around a simple principle: &lt;strong&gt;the screen should be the shortest part of the adventure.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Look at Touch Grass
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Plan Your Adventure
&lt;/h3&gt;

&lt;p&gt;Choose how you want to explore and how much time you have. The interface is designed to make starting an adventure straightforward.&lt;/p&gt;

&lt;p&gt;*&lt;br&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%2Fgfiiuwbhwxpgvv4eitib.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%2Fgfiiuwbhwxpgvv4eitib.png" alt=" " width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Caption: First look of the home screen.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Generate a Mission
&lt;/h3&gt;

&lt;p&gt;The AI creates an outdoor mission tailored to the selected adventure style and duration, giving users a starting point for their exploration.&lt;/p&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%2Ftu1xt8riloc0p6rnrrhk.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%2Ftu1xt8riloc0p6rnrrhk.png" alt=" " width="800" height="737"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Caption: Each mission includes an objective and an initial clue to get the adventure started.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Explore, Observe, and Discover
&lt;/h3&gt;

&lt;p&gt;After receiving the first clue, users are encouraged to put their phones away and observe their surroundings. When they return, they can describe what they noticed and request the next clue.&lt;/p&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%2Ff3nfty1wkvy0qvbjb0xp.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%2Ff3nfty1wkvy0qvbjb0xp.png" alt=" " width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Caption: Progressive clues help turn real-world observations into an interactive adventure.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built Touch Grass using a React frontend, a Python backend, and locally running open-weight AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technology stack&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;React + Vite:&lt;/strong&gt; Frontend and interactive adventure interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python + FastAPI:&lt;/strong&gt; Backend API and mission-generation workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama:&lt;/strong&gt; Local model inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Qwen3 4B:&lt;/strong&gt; The open-weight language model powering AI-generated missions and clues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pytest:&lt;/strong&gt; Backend testing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The backend handles mission requests and generates follow-up clues based on the user's observations. I also implemented clue-progression logic so the experience can move through different stages of exploration.&lt;/p&gt;

&lt;p&gt;One of the challenges was making language-model output predictable enough for an application. AI responses can vary in structure, so I worked on normalizing responses, validating expected fields, and testing clue progression.&lt;/p&gt;

&lt;p&gt;At the time of submission, the backend test suite passes &lt;strong&gt;33 tests&lt;/strong&gt;, and the frontend production build succeeds.&lt;/p&gt;

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

&lt;p&gt;For Touch Grass, open innovation wasn't just a technology choice. It changed how I could build and experiment with the project.&lt;/p&gt;

&lt;p&gt;Using Ollama and Qwen3 4B allowed me to run inference locally instead of making a paid, proprietary AI API a required dependency.&lt;/p&gt;

&lt;p&gt;That gave me several advantages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. More control over the AI experience&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I can experiment with prompts, adjust the mission-generation process, and explore different models without redesigning the entire application around one proprietary provider.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Local inference&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The model can run on a compatible local machine, allowing experimentation without sending every prompt to a third-party inference API. The initial model download and setup still require the appropriate installation and model files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Lower dependency on paid APIs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For a student project, avoiding a mandatory paid inference API makes experimentation more accessible and removes usage-based API charges from the core development workflow. Local inference still uses the computer's resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. A more open development path&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Other developers can inspect the code, experiment with the prompts, change the model, and build on the idea.&lt;/p&gt;

&lt;p&gt;I especially like that the technology can be used to encourage people to disconnect. AI provides the initial guidance, but the actual experience happens outside the application—in the world around the user.&lt;/p&gt;

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

&lt;p&gt;Building Touch Grass taught me that integrating AI into an application involves more than calling a model and displaying its response.&lt;/p&gt;

&lt;p&gt;I had to think about structured output, API validation, clue progression, frontend state, error handling, and testing. I also learned how important it is to keep the interface focused on the user's real-world goal instead of adding unnecessary screen interactions.&lt;/p&gt;

&lt;p&gt;There is still room to improve the experience, particularly through more field testing, refining mission progression, and eventually making the app easier to access outside a local development environment.&lt;/p&gt;

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

&lt;p&gt;I used AI-assisted development tools while building and debugging the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;I'd like to continue improving Touch Grass with better mission variety, more reliable clue progression, and feedback from people actually using it outdoors.&lt;/p&gt;

&lt;p&gt;The most important test isn't whether someone spends more time inside the app. It's whether the app gives them a reason to close it, step outside, and discover something they might otherwise have missed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try the Project
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub repository:&lt;/strong&gt; &lt;a href="https://github.com/anmolchaudhary617-ux/touch-grass" rel="noopener noreferrer"&gt;Touch Grass — anmolchaudhary617-ux/touch-grass&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project currently runs locally. A public deployment is not available yet.&lt;/p&gt;

&lt;p&gt;If you try the idea, I'd love to hear what kind of outdoor mission would get you to put your phone away and explore.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build with open AI. Step away from the screen. Touch Grass.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title># VivaMate — An AI Viva Partner Built for a Friend</title>
      <dc:creator>anmolchaudhary617-ux</dc:creator>
      <pubDate>Sat, 03 Oct 2026 22:03:45 +0000</pubDate>
      <link>https://dev.to/anmolchaudhary617ux/-vivamate-an-ai-viva-partner-built-for-a-friend-48l0</link>
      <guid>https://dev.to/anmolchaudhary617ux/-vivamate-an-ai-viva-partner-built-for-a-friend-48l0</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&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%2Fb4mn1qejn4r9guaf2tnk.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%2Fb4mn1qejn4r9guaf2tnk.png" alt=" " width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;VivaMate is an AI-powered viva practice platform I built for a friend who has to prepare for technical university vivas.&lt;/p&gt;

&lt;p&gt;The problem was simple: studying from notes is one thing, but actually answering questions and getting meaningful feedback is another. Finding someone who is always available to conduct a mock viva is not always practical.&lt;/p&gt;

&lt;p&gt;So I built VivaMate to act as an on-demand viva practice partner.&lt;/p&gt;

&lt;p&gt;You can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Upload your study material as a PDF or TXT file&lt;/li&gt;
&lt;li&gt;Generate viva questions based on your material&lt;/li&gt;
&lt;li&gt;Choose the number and difficulty of questions&lt;/li&gt;
&lt;li&gt;Take a one-question-at-a-time mock viva&lt;/li&gt;
&lt;li&gt;Submit answers for AI evaluation&lt;/li&gt;
&lt;li&gt;Receive a score, feedback, ideal answer, and follow-up question&lt;/li&gt;
&lt;li&gt;View a final performance report showing strengths and areas to improve&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal isn't to replace a professor or a real viva. It's to give a student a way to practice repeatedly before the real thing.&lt;/p&gt;

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

&lt;p&gt;🌐 &lt;strong&gt;&lt;a href="https://viva-mate-seven.vercel.app/" rel="noopener noreferrer"&gt;Live Demo&lt;/a&gt;&lt;/strong&gt;&lt;/p&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%2Fx6icmn6ku1bdf1ndiqlc.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%2Fx6icmn6ku1bdf1ndiqlc.png" alt=" " width="564" height="783"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;VivaMate is deployed with a React/Vite frontend on Vercel and a FastAPI backend on Render.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Flow:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Study Material → Question Generation → Mock Viva → AI Evaluation → Performance Report&lt;/p&gt;

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

&lt;p&gt;The complete source code is available on GitHub:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/anmolchaudhary617-ux/VivaMate" rel="noopener noreferrer"&gt;VivaMate GitHub Repository&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;VivaMate is built around open-weight AI rather than making a proprietary AI API the core of the application.&lt;/p&gt;

&lt;p&gt;The core model is &lt;strong&gt;Qwen3 4B&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;During local development, I run Qwen3 4B locally through &lt;strong&gt;Ollama&lt;/strong&gt;. This allowed me to develop and test the AI workflow directly on my own machine.&lt;/p&gt;

&lt;p&gt;The local architecture is:&lt;/p&gt;

&lt;p&gt;React + Vite&lt;br&gt;
↓&lt;br&gt;
FastAPI&lt;br&gt;
↓&lt;br&gt;
AI Service Layer&lt;br&gt;
↓&lt;br&gt;
Ollama&lt;br&gt;
↓&lt;br&gt;
Qwen3 4B&lt;/p&gt;

&lt;p&gt;For the deployed version, the same AI service abstraction allows the application to use &lt;strong&gt;Hugging Face Inference Providers&lt;/strong&gt; with Qwen3 4B.&lt;/p&gt;

&lt;p&gt;The production architecture is:&lt;/p&gt;

&lt;p&gt;Vercel&lt;br&gt;
↓&lt;br&gt;
React + Vite&lt;br&gt;
↓&lt;br&gt;
Render&lt;br&gt;
↓&lt;br&gt;
FastAPI&lt;br&gt;
↓&lt;br&gt;
AI Service Layer&lt;br&gt;
↓&lt;br&gt;
Hugging Face Inference Providers&lt;br&gt;
↓&lt;br&gt;
Qwen3 4B&lt;/p&gt;

&lt;p&gt;I deliberately kept the AI integration behind a service abstraction so the application isn't tightly coupled to a single model or inference implementation.&lt;/p&gt;

&lt;p&gt;The main technologies are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React + Vite&lt;/li&gt;
&lt;li&gt;FastAPI&lt;/li&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Ollama&lt;/li&gt;
&lt;li&gt;Qwen3 4B&lt;/li&gt;
&lt;li&gt;Hugging Face Inference Providers&lt;/li&gt;
&lt;li&gt;Pydantic&lt;/li&gt;
&lt;li&gt;PyPDF&lt;/li&gt;
&lt;li&gt;HTML/CSS/JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI is used for two important parts of the application:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Viva Question Generation
&lt;/h3&gt;

&lt;p&gt;Given a topic or uploaded study material, Qwen3 generates structured viva questions with difficulty levels.&lt;/p&gt;

&lt;p&gt;When study material is provided, the generated questions are instructed to stay grounded primarily in that material.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Answer Evaluation
&lt;/h3&gt;

&lt;p&gt;After the student answers a question, Qwen3 evaluates the response and returns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Score out of 10&lt;/li&gt;
&lt;li&gt;Correctness level&lt;/li&gt;
&lt;li&gt;Educational feedback&lt;/li&gt;
&lt;li&gt;Ideal answer&lt;/li&gt;
&lt;li&gt;Follow-up question&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The application doesn't expose the model's internal reasoning. It only uses the structured evaluation needed by the student.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Experience Looks Like
&lt;/h2&gt;

&lt;p&gt;VivaMate is designed around a simple practice loop:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Upload → Generate → Answer → Evaluate → Improve&lt;/strong&gt;&lt;/p&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%2Fiq696qd6re47jocg0dtv.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%2Fiq696qd6re47jocg0dtv.png" alt=" " width="440" height="762"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The student answers each question one at a time and receives structured feedback from Qwen3 4B, including a score, correctness assessment, ideal answer, and a follow-up question.&lt;/p&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%2F4vm7acs5fwmqv3ds4ka5.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%2F4vm7acs5fwmqv3ds4ka5.png" alt=" " width="546" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At the end of the session, VivaMate summarizes performance and highlights areas that need further practice.&lt;/p&gt;

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

&lt;p&gt;For VivaMate, open innovation isn't just a technology choice. It changes what the project can be.&lt;/p&gt;

&lt;p&gt;Because Qwen3 4B can run locally through Ollama, I could build and test the complete AI workflow on my own machine without making a proprietary cloud AI API a mandatory part of the development setup.&lt;/p&gt;

&lt;p&gt;That matters for a study tool because uploaded material can contain personal notes, assignments, or course content.&lt;/p&gt;

&lt;p&gt;With local inference, the development version can process the AI requests on the student's own machine rather than requiring every request to be sent to a proprietary AI service.&lt;/p&gt;

&lt;p&gt;Open-weight models also give the project flexibility.&lt;/p&gt;

&lt;p&gt;VivaMate's AI service is separated from the rest of the application, so the model or inference provider can be changed without rewriting the entire viva system.&lt;/p&gt;

&lt;p&gt;For me, the biggest difference was that I wasn't simply building a UI around someone else's AI API. I was able to build the actual learning workflow around an AI model that I could run and experiment with locally.&lt;/p&gt;

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

&lt;p&gt;I used Google Antigravity as a coding agent while building VivaMate.&lt;/p&gt;

&lt;p&gt;The agent helped me implement and verify the React frontend, FastAPI backend, AI integration, document extraction, structured AI responses, mock viva flow, and performance report.&lt;/p&gt;

&lt;p&gt;I did not use a DevRelay agent-session link for this submission.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built for a Friend ❤️
&lt;/h2&gt;

&lt;p&gt;VivaMate started with a simple idea:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instead of telling my friend to "practice more," why not build them something they can actually practice with?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That became VivaMate.&lt;/p&gt;

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