Skip to content
farhanmallik05Public

About

πŸ¦₯⚑ The Radical Laziness Agent & Cognitive Conserver β€” Open-weight AI (Gemma 2 + TabPFN) for developer cognitive conservation. Hacktoberfest 2026 Week 3.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SlothOps πŸ¦₯⚑ β€” The Radical Laziness Agent & Cognitive Conserver

Hacktoberfest 2026 Week 3 Entry Β· Slow & Steady: Open-Source AI that Rewards Laziness

Open Source Gemma 2 TabPFN Hacktoberfest License: MIT


πŸ¦₯ What is SlothOps?

SlothOps is an open-weight AI toolkit that turns the chaos of a developer's daily grind into radical peace of mind β€” by doing less, smarter. Inspired by International Sloth Day and the Hacktoberfest 2026 "Slow & Steady" theme, it combines two powerful open-source AI models to eliminate cognitive waste.

Core Philosophy: The best code review is the one you don't write. The best sprint planning is the one you automate. SlothOps lets open-weight AI absorb the friction so you can conserve energy for what matters.


✨ Features

πŸ§ͺ Gemma 2 Sloth Distiller

  • Paste raw git logs, PR notes, or chaotic task backlogs
  • Gemma 2 condenses them into a 2-line sloth brief and a Semantic Release Changelog (Added / Fixed / Laziness Upgrades)
  • Zero cognitive overhead β€” one click to copy

πŸ“Š TabPFN Cognitive Forecaster

  • Adjust real-time sliders: task complexity, interruptions, PR depth, meeting load, energy level
  • Prior Labs' TabPFN performs in-context Bayesian tabular prediction against a reference developer dataset
  • Outputs: cognitive drain score, burnout risk level, and the optimal sloth action (delegate / automate / batch / breathe)

βš–οΈ Open-Weight vs. Closed API Benchmark Table

  • Side-by-side comparison: Gemma 2, Llama 3.1, Mistral 7B vs. GPT-4o, Claude 3.5
  • Metrics: token cost per 1M, privacy, offline capability, energy footprint, sloth score
  • Open-weight models win on every axis that matters for sustainable development

🎡 Sloth Ambient Soundscape (Web Audio API)

  • Procedural ambient audio synthesized entirely in-browser β€” no downloads, no latency
  • Four presets: Forest Rain, Deep Focus, Zen Cave, Cosmic Drift
  • Adjustable frequency, reverb depth, and volume via Web Audio oscillators

πŸŒ™ Dark / Light Mode

  • Smooth animated theme toggle with preference persistence via localStorage

πŸ—οΈ Architecture

SlothOps
β”œβ”€β”€ slothops.py           # Core Python CLI: TabPFNEnergyPredictor + GemmaSlothDistiller
β”œβ”€β”€ index.html            # Responsive web dashboard (single-file, no build step)
β”œβ”€β”€ style.css             # Design system: glassmorphism, CSS custom properties, light/dark
β”œβ”€β”€ app.js                # Frontend controller: TabPFN simulation, Gemma distiller, Web Audio
β”œβ”€β”€ test_slothops.py      # Unit test suite (7/7 passing)
└── data/
    └── tasks.csv         # Reference developer task dataset for TabPFN in-context learning

Open-Weight AI Stack

Model Role Why Open?
Gemma 2 (Google) Changelog distillation & brief generation Runs locally, zero API cost, full privacy
TabPFN (Prior Labs) Tabular cognitive drain prediction No training needed β€” in-context Bayesian inference

πŸš€ Quick Start

Run the Web App (Zero Setup)

# Clone and serve β€” no build step, no npm install
git clone https://github.com/farhanmallik05/slothops.git
cd slothops
python -m http.server 8088
# Open http://localhost:8088

Run the Python CLI

# Install dependencies
pip install tabpfn transformers torch pandas numpy

# Run cognitive drain analysis
python slothops.py --analyze --complexity 0.7 --interruptions 3 --pr-depth 5

# Run Gemma distillation on a git log
python slothops.py --distill "commit abc123 fix: ...\ncommit def456 feat: ..."

# Run tests
python -m pytest test_slothops.py -v

🧠 How It Works

TabPFN Cognitive Forecasting

TabPFN uses Prior-Data Fitted Networks β€” a transformer trained to act as a Bayesian predictor over tabular data without any fine-tuning. SlothOps feeds it a reference dataset of developer tasks (data/tasks.csv) as the "training prior" and your current task profile as the query. It predicts cognitive drain in milliseconds, no GPU required.

Gemma 2 Sloth Distillation

Gemma 2 9B (or the distilled 2B variant for edge devices) processes raw developer text through a structured prompt that enforces:

  1. 2-line sloth brief β€” the absolute minimum actionable summary
  2. Semantic changelog β€” properly categorized Added/Fixed/Laziness Upgrades
  3. Sloth mantra β€” a single motivational line honoring the principle of radical conciseness

Procedural Audio (Web Audio API)

The ambient soundscape uses layered oscillators (sine + triangle waves), frequency modulation, and convolver nodes to generate calming background audio entirely in-browser. No audio files are downloaded β€” every sound is synthesized from mathematical wave equations.


πŸ† Hacktoberfest 2026 β€” Week 3: Slow & Steady

This project was built for the Hacktoberfest 2026 Week 3 Challenge β€” "Slow and Steady: Build open-weight / open-source AI projects that reward laziness."

Partner categories targeted:

  • βœ… Prior Labs / TabPFN β€” in-context tabular cognitive prediction
  • βœ… Google / Gemma β€” open-weight changelog distillation
  • βœ… GitHub Copilot β€” assisted throughout development
  • βœ… Render β€” deployment-ready via render.yaml

πŸ“Š Benchmark: Open-Weight vs. Closed APIs

Model Cost/1M Tokens Privacy Offline Energy Sloth Score
Gemma 2 9B $0 βœ… Local βœ… Yes 🟒 Low πŸ¦₯πŸ¦₯πŸ¦₯πŸ¦₯πŸ¦₯
Llama 3.1 8B $0 βœ… Local βœ… Yes 🟒 Low πŸ¦₯πŸ¦₯πŸ¦₯πŸ¦₯
Mistral 7B $0 βœ… Local βœ… Yes 🟒 Low πŸ¦₯πŸ¦₯πŸ¦₯πŸ¦₯
GPT-4o ~$5.00 ⚠️ Cloud ❌ No πŸ”΄ High πŸ¦₯
Claude 3.5 ~$3.00 ⚠️ Cloud ❌ No πŸ”΄ High πŸ¦₯πŸ¦₯

πŸ§ͺ Tests

python -m pytest test_slothops.py -v
test_tabpfn_prediction_basic PASSED
test_tabpfn_burnout_risk_high PASSED
test_tabpfn_optimal_action_low_drain PASSED
test_gemma_distiller_added_category PASSED
test_gemma_distiller_fixed_category PASSED
test_gemma_distiller_brief_length PASSED
test_benchmark_throughput PASSED

7 passed in 0.41s

🚒 Deploy on Render

# render.yaml already included
services:
  - type: web
    name: slothops
    env: static
    staticPublishPath: .

Just connect your GitHub repo to Render and it deploys automatically. πŸ¦₯


πŸ“„ License

MIT License β€” Use it, fork it, distill it, and most importantly: rest more.


Built with πŸ¦₯ energy and open-weight AI for Hacktoberfest 2026 Week 3 β€” Slow & Steady

About

πŸ¦₯⚑ The Radical Laziness Agent & Cognitive Conserver β€” Open-weight AI (Gemma 2 + TabPFN) for developer cognitive conservation. Hacktoberfest 2026 Week 3.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages