Most utility apps follow a predictable pattern.
You open an app, find a tool, select options, upload a file, and wait for the result.
While building Cometflow Do, I wanted to experiment with a different approach.
What if users could simply describe what they wanted to accomplish, and the application could understand the request, identify the correct utility, execute it locally, and verify the result?
That idea led to some interesting engineering decisions.
I recently explored the implementation of Cometflow Do again, and here are five things I found particularly interesting.
- Natural-language commands without depending on an AI model
One of the most interesting parts is the deterministic intent-routing architecture.
The application uses components such as:
- "IntentRouter"
- "ToolRegistry"
- "IntentUnderstandingEngine"
- "UtilityExecutionBridge"
Instead of requiring a generative AI model for every utility request, the application can identify commands and route them to registered utilities.
For example:
- "Compress this image below 200 KB."
- "Convert this JSON into CSV."
- "Remove duplicate lines."
- "Calculate 18% of 2500."
The idea is simple: understanding a command and executing a utility should not always require generative AI.
- Typo correction that protects user data
This is probably one of my favourite engineering decisions.
Cometflow Do includes a Kotlin-based "TypoCorrectionEngine".
It uses fuzzy matching techniques, including Bitap, Damerau-Levenshtein and N-gram token scoring.
But there is an important safety decision.
It attempts to correct the command portion without modifying the user's actual data.
For example:
"sort aplle mango banana"
The command can be recognized as "sort", while the payload "aplle mango banana" remains untouched.
This prevents an intent-understanding system from accidentally modifying the content it is supposed to process.
- Two separate tool inventories
The repository maintains two distinct inventories:
302 Core ToolId utilities
These are registered through "ToolRegistry" and connected to the utility execution engine.
10,000 Daily Tools Catalog actions
The catalog consists of:
- 4,500 explicitly named actions.
- 5,500 combinatorial modifier variants.
These are maintained separately rather than being treated as 10,000 independently verified core implementations.
The code also includes implementation-status and verification tracking.
I think this distinction is important: counting available actions and proving that an action works are two different engineering problems.
- Life Inbox: More than a document folder
Another interesting part of the codebase is Life Inbox.
It supports structured records for:
- Bills
- Receipts
- Warranties
- Documents
- Reminders
- Personal records
- Subscriptions
- Saved information
The data model also includes payment status, billing frequency, deadlines and reminder information.
But what caught my attention was its backup implementation.
"LifeInboxBackupManager" uses:
- AES-256-GCM authenticated encryption.
- PBKDF2WithHmacSHA256 key derivation.
- Random salts and initialization vectors.
- Duplicate detection during restoration.
The backup is designed to remain local rather than being uploaded to an external server.
- File safety and actual output verification
Generating a file is not enough. The application also needs to ensure that the output is valid.
Cometflow Do includes a "FileOutputManager" with an atomic file-commit mechanism.
It stages temporary files, synchronizes writes, checks file lengths and maintains backup files when replacing existing outputs.
There is also a "ToolVerificationAuditEngine".
It distinguishes between:
- Verified
- Implemented but unverified
- Partially implemented
- Android restricted
- Not implemented
- Failed verification
The verification process checks routing, execution, malformed inputs, missing inputs and generated-file output contracts.
This is a particularly important engineering principle: an application should not claim a utility is verified merely because its registration exists.
What I find interesting about this project
Cometflow Do is being developed around a different idea:
A utility application should be intelligent enough to understand what users want, but predictable enough to execute the task reliably.
Not every operation needs a chatbot.
Not every command needs cloud processing.
And not every successful-looking response means the actual file was generated correctly.
There is still plenty of engineering work ahead, but exploring this codebase reminded me why I started building this project.
The goal isn't simply to add more tools.
It's to make everyday digital tasks easier to accomplish.


