I Built slothd: A Local-First, Offline-Capable AI Daemon That Patiently Organizes Your Messy Workspace
Описание и применение
slothd — локальный AI‑демон, который без подключения к интернету автоматически организует файлы в рабочей папке, используя быстрый метаданные‑триаж TabPFN и глубокое понимание документов Gemma 3.
Задача
Users spend time manually organizing cluttered workspaces, risking privacy by uploading sensitive files to cloud AI services.
Результат
slothd organizes 10 test files in under a second, flags 2 clutter anomalies, detects 1 duplicate set, and performs all operations offline with no cloud API calls.
Рабочий процесс
- Detect keyboard/mouse inactivity
- Scan target directory
- Extract 7 tabular signals
- Run Prior Labs TabPFN triage
- Flag anomalies
- Run Gemma 3 vision/text model via Ollama
- Generate organization plan
- Show dry‑run preview
- Await user approval
- Execute file moves
- Log actions in SQLite WAL
- Update local vector store
- Provide semantic search via Tiger Data pgvector
Доказательства
I built **slothd**, a local-first, offline-capable AI file organizer designed around the philosophy of **"Slow and Steady"**
Uses **Gemma 3** running locally in **Ollama** with strict Pydantic JSON schemas to read PDFs, invoices, and images.
Fast metadata triage (1ms via local 7-signal engine, ~20ms via **Prior Labs TabPFN**) flags anomalies before invoking heavier models.
Every run is a dry-run by default. Every approved move is written to an SQLite WAL log with a unique batch ID.
- Дата записи: 2026-10-22T15:26:04.465Z