SlothSort: Local AI Agent Organizes Your Files
SlothSort for Hacktoberfest Open-Source AI Challenge Week 3 uses Python, Gemma via Ollama, and SQLite to organize local files without cloud uploads.

Stock photo for illustration only, not from the actual event
- SlothSort is a local AI agent designed to clean up clutter in the Downloads folder.
- It reads file contents, suggests meaningful names, and moves files into proper folders.
- The tech stack includes Python, Gemma via Ollama, SQLite, and an optional PDF reader.
- It operates completely offline on local hardware to protect sensitive user documents.
Downloads folders often accumulate disorganized files with names like final_final_v2.zip and IMG_8841.png. To tackle this tedious cleanup task, a developer created SlothSort as a submission for Week 3 of the Hacktoberfest Open-Source AI Challenge under the theme Slow and Steady.
The local agent works by reading supported file contents, suggesting meaningful filenames, and relocating files to sensible directories. Crucially, it never deletes any files, and every operation is logged so users can easily undo changes if needed.

Stock photo for illustration only, not from the actual event
Building local AI agents highlights a growing shift toward privacy-first automation. Handling sensitive documents like resumes, financial records, and private notes locally avoids the privacy risks of uploading personal files to third-party cloud services. Running open-weight models locally gives developers total control over their workflow and data.
The core technology stack powering SlothSort consists of the following components:
- Python for core logic and script execution
- Gemma via Ollama for running open-weight AI locally
- SQLite for tracking operations and logging changes
- An optional PDF reader for document processing
Creating SlothSort demonstrated that reliable AI automation requires more than just a well-crafted prompt. Validating model outputs, previewing file operations, and supporting undo functions are essential elements for building safer and more practical AI tools.
Source: Dev.to
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment