DEV Community

Saqib Riaz
Saqib Riaz

Posted on

A 21 KB Chat App Whose Brain Lives Somewhere Else: Notes from Building BaatAI

Here is something the big technology companies never quite design for: a person who thinks in Roman Urdu, types in Roman Urdu, and wants to ask a machine a question without first translating themselves into someone else's language.

BaatAI started there. Not as a plan to take on the big chat apps — a 21 KB app does not take on anyone — but as a question I wanted answered for myself: what does an AI chat app look like when it is built for the way I actually talk? The details and the app are on the project page: BaatAI on AI Tech Apps.

The easy half and the hard half

A chat screen is the easy half. Anyone who has built a mobile app can draw a message list, a text box, and a send button in an afternoon. The hard half is the brain on the other side of that screen — the thing that reads the question and writes an answer worth reading.

BaatAI splits the two halves apart on purpose. The app itself is tiny — 21 KB, Android 8.0 and up, no heavy libraries, no model downloaded onto the phone. When you send a message, it goes into a queue. On the other side of that queue sits my own assistant system, which reads the question, writes the answer, and sends it back. The app is the mouth and the ears. The thinking happens elsewhere.

That split is the whole architecture, and it is also the whole honesty of the thing: BaatAI is version 1.0, built for my own use and testing. It is not a public product yet, and I will say plainly why — a public version would need its own direct AI API instead of borrowing my assistant system, and that part is not built. Shipping the app as if it were finished would be the dishonest move. Shipping it as what it is — a working experiment with a real brain behind it — is the point.

Answer in the language the question was asked

The one design decision I am proudest of is also the simplest: BaatAI answers in the language and script of the question. Ask in Roman Urdu, get an answer in Roman Urdu. Ask in English, get English. Ask in Urdu script, get Urdu script.

That sounds obvious until you try it with the big apps. They understand Roman Urdu well enough these days, but they answer like a person who learned the language from a textbook — correct, stiff, and faintly foreign. Roman Urdu is not a broken version of Urdu and it is not slang English. It is a first-class language for tens of millions of people, with its own rhythm and its own shortcuts, and it deserves to be answered in kind, not translated through. BaatAI treats it that way from the first line, because that is the language I think in.

Waiting is part of the design

There is a trade in this architecture and I will not hide it: replies take time. Around thirty seconds at best, up to two minutes when the queue is busy, and only while my system is online. A message sent at 3 a.m. while the system is asleep waits until morning.

That is slow by the standards of the big chat apps, and I know it. But the slowness buys something the fast apps do not offer: every answer is written fresh, by a system that actually read the question, instead of pulled from a cache or fenced in by a template. For the questions I ask — the ones where I genuinely do not know the answer — I would rather wait a minute for a real reply than get an instant one that says nothing.

The queue itself is deliberately boring technology: a Firebase list, a watcher that checks it every thirty seconds, a cron job every five minutes as a safety net. Boring is a compliment here. The clever part of BaatAI is not in the plumbing; it is in the decision that a small app is allowed to be slow, small, and honest about both.

What people actually ask

Once the app worked, the questions people asked it told me what it was for. Not party tricks and not "write me a poem about a toaster" — though it can do that — but the ordinary questions of a working day. How do I explain this to a client? What is the simple version of this rule? Help me word this message so it does not sound rude. Draft this in the tone I actually speak.

That is the use case the big apps keep missing for people like me: not a novelty, a colleague. Someone to think with for a minute before you send the message, publish the post, or make the call. BaatAI is at its best in that minute.

One honest warning

If you try BaatAI expecting the polish of a billion-dollar product, you will be disappointed, and I would rather you hear that from me. Version 1.0 is a personal tool that happens to work. The interface is plain. There are no themes, no voice mode, no file uploads, no memory of past chats. It does one thing — you ask, it answers, in your language — and it does that one thing properly.

The public version, when it comes, needs its own API key and its own brain that never sleeps. Until then, BaatAI is what it says on the page: a small, working proof that a chat app can be built for the way we actually speak, by someone who speaks that way too.


More from AI Tech Apps:

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The detail that earns this post is the honesty about the trade: thirty seconds to two minutes per reply, and a message sent at 3 a.m. waits until morning. Most builders would hide that and call the app "real-time." I also think the language decision is the real product here — answering in Roman Urdu instead of translating through it is exactly the kind of thing big apps treat as an edge case and users treat as respect. If the public version gets its own API key, what is the first thing you would change about the queue — the polling interval, or moving off Firebase entirely?