<?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: Surendra Tripathi</title>
    <description>The latest articles on DEV Community by Surendra Tripathi (@surendrat).</description>
    <link>https://dev.to/surendrat</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%2F4150697%2Fd12fc788-e8cf-4cb6-b490-1572ac100a41.jpg</url>
      <title>DEV Community: Surendra Tripathi</title>
      <link>https://dev.to/surendrat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/surendrat"/>
    <language>en</language>
    <item>
      <title>SiloFocus: A Zero-Cost, Local AI Study Companion Built for My Sister</title>
      <dc:creator>Surendra Tripathi</dc:creator>
      <pubDate>Sun, 04 Oct 2026 20:12:15 +0000</pubDate>
      <link>https://dev.to/surendrat/silofocus-a-zero-cost-local-ai-study-companion-built-for-my-sister-4klk</link>
      <guid>https://dev.to/surendrat/silofocus-a-zero-cost-local-ai-study-companion-built-for-my-sister-4klk</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;My younger sister is currently in the trenches preparing for her 12th-grade board examinations. If you've been there, you know the cycle, and the everyday monotonicity that it carries: stare at a brutal Calculus problem, get frustrated, switch tabs to 'take a quick break', and suddenly lose 45 minutes to scrolling.&lt;/p&gt;

&lt;p&gt;I wanted to build her a focus environment that actually understands her stress rather than just aggressively ticking down a timer.&lt;/p&gt;

&lt;p&gt;Enter 'SiloFocus'. It's a hyper-customizable, privacy-first study dashboard that blends a fluid and kinetic Pomodoro timer with a local AI tutor or an older brother/mentor. It does three main things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Timepiece&lt;/em&gt;&lt;/strong&gt;: A distraction-free, beautifully animated study clock with procedural, zero-asset audio (grandfather clock ticks &amp;amp; singing bowl chimes generated directly in the browser).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Socratic Tutor&lt;/em&gt;&lt;/strong&gt;: A slide-out sidebar where she can dump a physics or a math problem and get instantm step-by-step doubt clarification formatted in clean LaTeX.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Procrastination Interceptor&lt;/em&gt;&lt;/strong&gt;: If the app detects she's abandoned her tab for too long during a study block, it pauses the timer and generates a humorous, personalized reality-check based on her recent study history to gently nudge her back into flow.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Live Web Dashboard (UI/UX Preview):&lt;/strong&gt; &lt;a href="https://silofocus.onrender.com/" rel="noopener noreferrer"&gt;https://silofocus.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note on the Live Demo: The Render link showcases the kinetic UI, audio engine, and task workflows. However, to stay true to my core philosophy of "absolute data privacy" and "zero API costs" for students, the Gemma 2 inference engine and Mastra agents do not run in the cloud. They are hard-routed to &lt;code&gt;localhost&lt;/code&gt; to run exclusively on the user's local GPU. To experience the AI tutor, clone the repo and spin it up locally!&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Code
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repo Link: &lt;a href="https://github.com/Surendra-T/SiloFocus" rel="noopener noreferrer"&gt;https://github.com/Surendra-T/SiloFocus&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;My current area of interest as well as my curiosity pushed me to prove that you don't need expensive cloud APIs to build elite, multimodal AI tools.&lt;br&gt;
The entire brain of this app runs locally on my laptop's RTX 4070.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Local AI Engine&lt;/em&gt;&lt;/strong&gt;: I used Ollama to run Google's Gemma 2 9B. It handles all the heavy lifting; explaining thermodynamics, formatting KaTeX math equations, &amp;amp; generating motivational nudges.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Orchestrator&lt;/em&gt;&lt;/strong&gt;: I used &lt;strong&gt;Mastra&lt;/strong&gt; framework to handle the complex state machine.&lt;br&gt;
Mastra orchestrates two agents: a &lt;code&gt;studyAgent&lt;/code&gt; for academic doubts &amp;amp; a &lt;code&gt;nudgeAgent&lt;/code&gt; that intercepts procrastination.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Memory&lt;/em&gt;&lt;/strong&gt;: I integrated &lt;strong&gt;MongoDB Atlas&lt;/strong&gt; to track her daily mood and productivity scores. When she loses focus, the &lt;code&gt;nudgeAgent&lt;/code&gt; queries Atlas to ground its motivation in reality (eg: "Hey, you felt like a 4/10 last Tuesday but still crushed 50 minutes of Chemistry. Close the tab. You've got this.")&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Voice&lt;/em&gt;&lt;/strong&gt;: To reduce screen &amp;amp; typing fatigue as well as the time consumed in typing, she can use voice dictation to ask questions. I hooked up the &lt;strong&gt;&lt;em&gt;ElevenLabs API&lt;/em&gt;&lt;/strong&gt; to stream Gemma's answers back in crystal-clear audio. (I also built a graceful fallback to native browser TTS so the project remains 100% open-source friendly if someone doesn't have an API key).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Telemetry&lt;/em&gt;&lt;/strong&gt;: I wrapped the local inference routes in &lt;strong&gt;Sentry&lt;/strong&gt; tracing. It was incredibly satisfying to watch the Sentry dashboard prove that my local Gemma 2 setup was hitting sub-second latency with zero cloud costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Frontend UI&lt;/em&gt;&lt;/strong&gt;: Built with &lt;strong&gt;Next.js (App Router), styled with Tailwind, and deployed on **Render&lt;/strong&gt;. I spent way too much time tweaking &amp;amp; playing around with CSS spring physics (&lt;code&gt;tabular-nums&lt;/code&gt; and &lt;code&gt;translate3d&lt;/code&gt;) to make the clock digits roll smoothly at 60fps.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;High school students are stressed, and frankly, they are broke. The idea that a student needs to pay a 200-300 rupees or $20/month subscription just to keep the ads off and have an AI explain a math concept is wild to me.&lt;/p&gt;

&lt;p&gt;Open-Weight models like the &lt;strong&gt;Gemma&lt;/strong&gt; family, change the game. By running the inference entirely on local hardware, &lt;code&gt;SiloFocus&lt;/code&gt; operates at &lt;strong&gt;zero-runtime cost.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;More important, it guarantees absolute &lt;strong&gt;data privacy.&lt;/strong&gt; A student's mood, their struggles with a subject, and their study habits are deeply personal. With a closed API, that data gets shipped off to a corporate server to train future models and to run targeted ad-campaigns.&lt;br&gt;
With &lt;code&gt;SiloFocus&lt;/code&gt; and open-source local inference, her data stays exactly where it belongs: in her own room, on her own system.&lt;/p&gt;

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

&lt;p&gt;I am officially throwing SiloFocus into the ring for the following Hacktoberfest partner categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Weekend Challenge: Build for a Friend&lt;/em&gt;&lt;/strong&gt; (The core inspiration for the project)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Google/Gemma&lt;/em&gt;&lt;/strong&gt; (Best open-weight AI application using local Gemma 2 9B)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Mastra&lt;/em&gt;&lt;/strong&gt; (Best agenting workflow and state orchestration)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;ElevenLabs&lt;/em&gt;&lt;/strong&gt; (Best Voice/Audio AI integration)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;MongoDB Atlas&lt;/em&gt;&lt;/strong&gt; (Best AI Memory &amp;amp; Data Architecture)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Sentry&lt;/em&gt;&lt;/strong&gt; (Best AI Observability and local LLM latency tracing)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Render&lt;/em&gt;&lt;/strong&gt; (Best deployment)&lt;/p&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%2F9pcl7ssauqr4rz57xn76.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%2F9pcl7ssauqr4rz57xn76.png" alt=" " width="799" height="653"&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%2Fmiswkelrf5a7eup2m707.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%2Fmiswkelrf5a7eup2m707.png" alt=" " width="800" height="305"&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%2Fb437wcvc752di3zd4rre.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%2Fb437wcvc752di3zd4rre.png" alt=" " width="800" height="655"&gt;&lt;/a&gt;&lt;/p&gt;

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