{"slug": "slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by", "title": "SlothTidy AI: Ambient Local-First Workspace Organizer & Overnight Digest Engine (Powered by Google Gemma)", "summary": "A developer built SlothTidy AI, a local-first workspace organizer and overnight digest engine powered by open-weight models such as Gemma 2 and Llama 3.2 via Ollama. The tool sorts downloads, code, notes and receipts into semantic directories and synthesizes a morning brief from logs and git commits, running entirely on-device with a deterministic heuristic fallback when Ollama is offline. It uses SQLite for SHA256-checked audit logs and rollbacks and ships with a glassmorphic web dashboard and a Python CLI with zero required pip dependencies.", "body_md": "This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady.\n\n## \n  \n  \n  What I Built\n\nModern developers and knowledge workers suffer from digital fatigue: cluttered download folders, unorganized code snippets, messy receipts, and scattered daily action items.\n\nInspired by **International Sloth Day** and the \"Slow and Steady\" challenge theme, I built **SlothTidy AI** — an ambient, local-first background workspace organizer and daily morning digest engine powered by open-weight AI models.\n\nRather than being an intrusive, hyperactive assistant, SlothTidy embraces the peaceful, deliberate pace of the sloth:\n\n1. \n**Ambient Workspace Sorter** : Silently categorizes unorganized downloads, code files, notes, and receipts into semantic directories.\n2. \n**Overnight Morning Digest** : Reads raw daily thoughts, terminal logs, and git commits to synthesize a calm executive morning brief with clear action items and inspiring \"Sloth Wisdom\".\n3. \n**100% Zero-Cloud Privacy** : Runs entirely on open-weight models (via Ollama or local deterministic semantic parser). Zero bytes or tokens ever leave the local machine.\n\n```\nflowchart TD\n    subgraph Input [\"📥 Raw Workspace Inputs\"]\n        A1[\"Messy Downloads & Inbox\"]\n        A2[\"Daily Notes & Markdown Logs\"]\n        A3[\"Git Commits & Standup Snippets\"]\n    end\n\n    subgraph Core [\"🦥 SlothTidy Core Engine\"]\n        B1[\"Local AI Engine\\n(Ollama Gemma 2 / Llama 3.2)\"]\n        B2[\"Resilient Heuristic Fallback\\n(Deterministic Semantic Parser)\"]\n        B3[\"SlothStorage\\n(SQLite Audit & Rollback)\"]\n    end\n\n    subgraph Actions [\"⚡ Autonomous Tasks\"]\n        C1[\"Semantic Classifier & Folder Sorter\\n(Receipts, Code, Notes, Projects)\"]\n        C2[\"Daily Executive Digest Generator\\n(Action Items + Calm Briefing)\"]\n    end\n\n    subgraph Interfaces [\"🖥️ Presentation Layer\"]\n        D1[\"Modern Glassmorphic Web Dashboard\\n(http://localhost:8765)\"]\n        D2[\"Rich Terminal CLI Tool\\n(python3 -m sloth_ai)\"]\n    end\n\n    Input --> Core\n    B1 <--> B2\n    Core --> Actions\n    Actions --> B3\n    Actions --> Interfaces\n```\n\n## \n  \n  \n  Demo\n\n- \n**Web UI Dashboard** : Includes an interactive dark-mode glassmorphic interface to test one-click workspace tidying, dry-run audits, and real-time morning digest synthesis.\n- \n**Terminal CLI** : Features a clean command-line interface (`sloth status` ,`sloth tidy` ,`sloth digest` ,`sloth serve` ).\n- \n**Instant Verification** : Self-contained zero-dependency web server and comprehensive unit test suite (100% passing).\n\n### \n  \n  \n  Terminal Execution Output\n\n## \n  \n  \n  Code\n\n### \n  \n  \n  How to Run Locally\n\nSlothTidy AI is engineered using Python's standard library so you can run it out of the box with zero required `pip` dependencies:\n\n## \n  \n  \n  How I Built It\n\nSlothTidy AI was built from the ground up with clean modular architecture:\n\n- \n**Dual-Core Local Inference Engine (`sloth_ai/core/engine.py`)** : Seamlessly connects to local**Ollama** instances (` gemma2:2b` ,`llama3.2` ,`qwen2.5` ) for semantic classification and natural language synthesis. If Ollama is offline, it gracefully falls back to a deterministic semantic rule parser so the application never breaks.\n- \n**Storage & Audit Layer (`sloth_ai/modules/storage.py`)** : Uses embedded SQLite to track every organized file with SHA256 integrity checks, supporting audit logs and rollbacks.\n- \n**Ambient Tidier (`sloth_ai/modules/tidier.py`)** : Reads file snippets safely, determines context, and relocates them into structured categorical directories (`work_projects` ,`finance_receipts` ,`developer_code` ,`learning_notes` ,`personal_archive` ).\n- \n**Digest Synthesizer (`sloth_ai/modules/digest.py`)** : Parses markdown logs, bullet points, and commit history into an actionable executive summary.\n- \n**Glassmorphic Web Interface (`sloth_ai/server/`)** : Built with responsive vanilla JavaScript and CSS, delivering real-time status updates and audit controls without node build tools.\n\n## \n  \n  \n  Why Does Open Innovation Matter?\n\n1. \n**Absolute User Sovereignty & Privacy** : File tidying and daily diary summarization inherently touch sensitive documents (tax receipts, bank statements, proprietary code, personal thoughts). Sending this data to closed cloud APIs poses major privacy and security risks. Open-source AI ensures that intelligence happens directly on device where data lives.\n2. \n**Offline Resilience & Zero Cost** : True ambient background automation should not stop when Wi-Fi drops, nor should it incur recurring pay-per-token API bills. Open-weight models empower users with limitless, resilient, local compute.\n3. \n**Freedom to Customize** : Open innovation allows developers and the community to inspect model prompts, modify categorization heuristics, fine-tune models on domain-specific files, and build custom workflows without corporate gatekeeping.", "url": "https://wpnews.pro/news/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by", "canonical_source": "https://dev.to/rajjasani2008/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-powered-by-google-2849", "published_at": "2026-10-25 19:40:11+00:00", "updated_at": "2026-10-25 19:43:13.182897+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-tools", "large-language-models", "ai-agents", "developer-tools"], "entities": ["SlothTidy AI", "Google Gemma", "Ollama", "Llama 3.2", "Qwen2.5", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by", "markdown": "https://wpnews.pro/news/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by.md", "text": "https://wpnews.pro/news/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by.txt", "jsonld": "https://wpnews.pro/news/slothtidy-ai-ambient-local-first-workspace-organizer-overnight-digest-engine-by.jsonld"}}