Skip to content
Mai Trinh
Completed

Halo — Offline AI Chat

An offline AI chat app for Android that runs a language model and Vietnamese speech recognition on-device, without a server, account or Internet permission.

Role
Solo developer
Platform
Android
Period
2026

Project overview

Product
A private AI chat app for Android: type or speak in Vietnamese, and the answer is generated on the device by a 2-billion-parameter model.
Why it exists
To show that a useful assistant can run without sending anything to a server.

Challenges & solutions

  1. Technical challenges

    Small models on phones are slow and get dates and arithmetic wrong.

    How I approached it

    Calendar and arithmetic questions are answered by Dart code and given to the model as facts; prompts are capped and the system prompt state is cached. Time to first token fell from 8.3 s to 0.93 s, and the quality suite rose from 13/33 to 25/33.

    Impact

    All three phases delivered and tested on real Samsung devices; users install the model from a file inside the app.

Architecture & technologies

Technologies

  • Flutter
  • Dart
  • Riverpod
  • llama.cpp
  • Qwen3.5-2B
  • sherpa-onnx
  • SQLite

This project demonstrates

  • Android Development
  • Offline Support
  • Performance Optimization
  • Media Processing
  • QA & Testing

Current progress

  1. Phase 1: product foundation

    Done
  2. Phase 2: on-device LLM

    Done
  3. Phase 3: offline Vietnamese voice input

    Done

Have a similar project in mind?

Tell me about your product or challenge, and we can discuss how I can help.

Work With Me