<?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: Muhammad Rizwan </title>
    <description>The latest articles on DEV Community by Muhammad Rizwan  (@raju12345raju).</description>
    <link>https://dev.to/raju12345raju</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%2F4193301%2Fd3e2bccd-59bb-46f9-a118-67eef404031c.png</url>
      <title>DEV Community: Muhammad Rizwan </title>
      <link>https://dev.to/raju12345raju</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/raju12345raju"/>
    <language>en</language>
    <item>
      <title>Sloth — the lazy task triager (local Gemma does your organizing)</title>
      <dc:creator>Muhammad Rizwan </dc:creator>
      <pubDate>Tue, 20 Oct 2026 01:20:45 +0000</pubDate>
      <link>https://dev.to/raju12345raju/sloth-the-lazy-task-triager-local-gemma-does-your-organizing-5hep</link>
      <guid>https://dev.to/raju12345raju/sloth-the-lazy-task-triager-local-gemma-does-your-organizing-5hep</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Sloth&lt;/strong&gt; is a tiny CLI that takes your messy brain-dump — half-formed tasks, notes, random thoughts, copy-pasted reminders — and hands back a short, prioritized action plan with time estimates and one "do this first" pick.&lt;/p&gt;

&lt;p&gt;The pitch is one line: &lt;strong&gt;dump your brain, Sloth sorts it.&lt;/strong&gt; You never organize; the sloth does. It was built for Week 3's theme, &lt;em&gt;Slow and Steady&lt;/em&gt;: software that rewards laziness. October 20 is International Sloth Day, and honestly, the sloths have it figured out — conserve energy, move at your own pace, let something else do the work.&lt;/p&gt;

&lt;p&gt;Who would pay for this? Freelancers and students drowning in scattered to-dos — the same people who pay $10/month for AI organizers. Sloth does the core job (turn chaos into a plan) for $0, forever, with their words never leaving their laptop.&lt;/p&gt;

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

&lt;p&gt;41-second demo, real run, nothing staged — a messy &lt;code&gt;brain-dump.txt&lt;/code&gt; goes in, Gemma (running locally) deduplicates it, drops the noise, ranks every task, and picks the one thing to do first. The closing screen shows the trace: latency, tokens, cost $0.00.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/raju12345-raju/sloth/main/demo/sloth-demo.mp4" rel="noopener noreferrer"&gt;Watch the 41-second demo (mp4)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it yourself — Python 3.10+, stdlib only, no &lt;code&gt;pip install&lt;/code&gt;:&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/raju12345-raju/sloth
&lt;span class="nb"&gt;cd &lt;/span&gt;sloth
&lt;span class="c"&gt;# one-time: install Ollama and pull Gemma&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ollama pull gemma3:1b
python sloth.py triage examples/brain-dump.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;&lt;a href="https://github.com/raju12345-raju/sloth" rel="noopener noreferrer"&gt;https://github.com/raju12345-raju/sloth&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Public repo, MIT license, 13 passing tests, CI on every push. Built entirely inside the Oct 19–25 window.&lt;/p&gt;

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

&lt;p&gt;The open-source AI is the core, not decoration. Remove it and the project collapses to a keyword guesser — which is exactly what the fallback mode is, and it's labeled as such.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The pipeline:&lt;/strong&gt; your text goes to &lt;strong&gt;Gemma 3 (1B)&lt;/strong&gt; running locally via &lt;strong&gt;Ollama&lt;/strong&gt;. A strict system prompt asks for JSON only: deduplicated tasks, priorities 1–5 by impact-per-effort, effort estimates, one &lt;code&gt;sloth_pick&lt;/code&gt;, and up to 3 ignored non-tasks. Sloth parses the JSON defensively (tolerates markdown fences and chatter), validates the shape, normalizes 1B-model quirks (greetings leaking into the plan, placeholder text in &lt;code&gt;ignored&lt;/code&gt;), retries once on degenerate output, and renders a terminal plan. Every run appends a trace — model, latency, prompt/completion tokens, cost — viewable with &lt;code&gt;sloth trace&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why local:&lt;/strong&gt; a brain-dump is &lt;em&gt;private&lt;/em&gt;. Notes about money, health, clients — that text should never travel to someone else's server. Running Gemma on-device means the automation works offline, costs nothing per run, and can never be taken away by a pricing change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Honest engineering notes:&lt;/strong&gt; a 1B model occasionally misreads a task, so the README says plainly to verify before acting on anything important. If Ollama isn't reachable, Sloth says so out loud and drops to a transparent heuristic fallback — keyword scoring, clearly labeled, never pretending to be the model. AI is a layer here, not a lifeline: the tool is never useless, but it's only &lt;em&gt;smart&lt;/em&gt; when the model is present.&lt;/p&gt;

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

&lt;p&gt;Three concrete reasons, not slogans:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Privacy by architecture.&lt;/strong&gt; A closed API could do this triage — but every brain-dump would travel to a data center. With an open-weight model on my own machine, the embarrassing, financial, and half-baked thoughts in my notes stay mine. Open made that a default instead of a premium tier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero marginal cost.&lt;/strong&gt; Each triage costs $0.00 in tokens. A metered API turns "dump your brain daily" from a habit into a budget decision. Open weights make the lazy workflow — the entire point of the theme — economically sane.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappability.&lt;/strong&gt; Don't like Gemma 3 1B? Set &lt;code&gt;SLOTH_MODEL&lt;/code&gt; to any Ollama model. The provider is a 30-line abstraction; fine-tuning, quantization, or a bigger model are all one env var away. Try negotiating that with a closed endpoint.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This build was pair-driven with an AI coding assistant (Muse Spark) — it wrote the first drafts, I directed the architecture, and every line was tested before commit. No DevRelay replay to embed; the repo's commit history and this write-up are the record.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; — Gemma 3 (open-weight) does the actual reasoning, run locally via Ollama. It is the product, not a garnish.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Sentry Agent Tracing&lt;/strong&gt; — every run emits a trace (latency, tokens in/out, cost), inspectable via &lt;code&gt;sloth trace&lt;/code&gt;; traces are shown in the demo.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I didn't do (honest limits)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;No fake benchmarks, no invented user counts. The trace numbers in the demo (29s, 457 in / 408 out, $0.00) are from a real run on real hardware.&lt;/li&gt;
&lt;li&gt;The 1B model is the floor, not the ceiling — bigger local models give better triage, and the README says so.&lt;/li&gt;
&lt;li&gt;No "AI will change your life" claims. It sorts a to-do list. That's enough.&lt;/li&gt;
&lt;/ul&gt;

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