Chats stay on the phone
What you say is never stored anywhere else, so there is no personal data on the server to protect, lose or hand over.
Case study AI companion app for Android
An AI companion that remembers you and talks your language: Hinglish, Hindi or English.

Most chat apps forget you between conversations and only speak formal English.
Designed and built it on my own: the Android app, the server, the companions and the release process.
The Expo app keeps chats, memories and settings in encrypted SQLite; the key sits in the phone’s secure storage.
The phone builds the context: the companion’s persona, up to 30 memories, a rolling summary and the recent messages that fit.
A check on the phone, in three languages, shows a helpline card when a message sounds like a crisis.
A stateless server checks the sign-in, the messages left and fair use, then builds the prompt.
Several AI services, with fallback, stream the reply back. The server keeps nothing.
The phone splits the reply into chat bubbles, saves it, and updates memories and the summary every 12 messages.
A Postgres database holds only accounts and purchases; payments are confirmed through signed webhooks.
What you say is never stored anywhere else, so there is no personal data on the server to protect, lose or hand over.
The app’s locks are only a convenience; whether a message can be sent is decided on the server each time.
A prompt that starts the same way lets the service reuse cached input, which costs much less, and a fallback keeps chats going when one service is down.



