Back to projects
Local AI assistantIn progress
Kâtip
A personal digital organization assistant that runs entirely on my own computer and tidies up my inboxes, subscriptions and files from one place.
The idea
Kâtip is an AI assistant that brings the clutter of my digital life into one place: several email accounts, subscriptions I lose track of, and unnecessary, randomly named files piling up on my computer.
It uses a language model that runs on my computer (a local LLM) to understand the data; no email or file is ever sent to the cloud. Kâtip never deletes or changes anything on its own: every action is first presented as a suggestion, I approve it, and every action can be undone.
The problems it solves
- Important emails getting lost among social media notifications, newsletters and ads across thousands of messages in 4–5 accounts
- Not knowing which services I subscribe to and how much I pay each month
- Duplicate, unnecessary files that have not been opened for years taking up space, and hours spent finding them
- Meaningless names such as
IMG_4821.png,document(3).pdforUntitled.docxmaking files impossible to find
Modules
1. Mail organizer
- Connects to every account, such as Gmail, Outlook and a school address, from one place over IMAP.
- Classifies emails as important, subscription/newsletter, social media or advertising.
- Hybrid approach: Fast rules run first (bulk-mail headers, known social media senders). Only the emails the rules are unsure about go to the local language model, which assigns each a category and a confidence score.
- Approved emails are not deleted; they are archived or labeled.
2. Subscription tracking
- Finds payment, invoice and receipt emails.
- The local model extracts the service name, amount, currency and date.
- Recognizes payments that repeat every month as subscriptions.
- Shows a “you subscribe to these services and pay this much per month” table, grouped by currency.
3. File analysis and cleanup
- Scans the selected folders and records each file’s size, creation date and last opened date.
- Lists the files that take up the most space or have not been opened for a long time, and unused applications.
- Finds duplicates by content fingerprint (hash) and near-duplicates by semantic similarity.
- The local model looks at a file’s content to answer “what is this, could it be important?”, for example flagging a copy of an ID card or an official document as important.
- Files suggested for deletion are first moved to a quarantine folder; permanent deletion always requires the user’s approval.
4. Smart naming and organizing
- Reads the content of meaninglessly named files (text, PDF, images) with the local model and suggests a meaningful name:
IMG_4821.png→eGovernment_Residence_2025.png - Suggests grouping similar files into topic folders: invoices, school documents, screenshots.
- Every rename is logged and can be undone with one click.
5. Natural language search
- Search both emails and files with questions such as “Where is the rental contract PDF from last year?”
- Uses hybrid search that combines semantic (embedding) search with keyword search, plus re-ranking of the results.
- The model answers by showing the sources it found.
Shared parts
- Approval panel: A browser-based interface that lists the suggestions of every module; the user selects, approves or undoes. Decisions Kâtip is unsure about are asked in a separate “not sure” section.
- Action log: Every action, such as archiving, moving or renaming, is recorded; undo works thanks to this log.
- Background runs: Kâtip periodically scans new emails and files and prepares suggestions; the user still approves every action.
- Measurement: A hand-labeled test set measures the model’s accuracy, the categories it confuses most and processing speed. Different model sizes are compared on accuracy and speed.
How it works
Email accounts / folders on the computer
→ Data collection (IMAP, file system scan)
→ Local database (SQLite)
→ Rule-based pre-filter
→ If needed, a local language model (Ollama): understanding, classification, extraction
→ Suggestions land in the approval panel
→ The user approves → the action is applied and logged → it can be undone
Design principles
- Privacy: No data leaves the computer; no cloud AI is used.
- Safety: Nothing is deleted automatically; every action can be undone.
- Efficiency: AI is used only where it is needed; simple tasks are solved with rules and plain code.
- Measurability: The goal is not “it works” but “it works with this accuracy”.
Roadmap
As of December 2026, planning is complete and development has started. All steps are planned:
- Email connection and local database
- Email classification and accuracy measurement
- Approval panel, all accounts, undo
- Subscription tracking
- File analysis and cleanup
- Smart naming and organizing
- Natural language search (email and files)