A native client for a LLeMbas instance on the server's /api/v2, and the phone's digital assistant. - Sign in by device code; the token sealed in the Android Keystore; several instances. - Chats and agent chats: the list, a chat with its reply streaming as JSON server-sent events (reconnecting, whole blocks), thinking, tool calls, steered messages, the plan, jobs, stop, edit, regenerate, continue, the model, effort and Plan mode, attachments and dictation. - Cards in a sheet, answered as the page's form says it; first answer wins. - Notifications through UnifiedPush, no Google services; an approval can be answered from its notification. - The digital assistant: a VoiceInteractionService with its session (a sheet over the current app, "Include screen" off by default), a recognition service through the instance's speech-to-text, the lock-screen path that asks to unlock before sending, a Quick Settings tile and an Ask shortcut. - Share to LLeMbas; Moria and Shire from the server's tokens; nine languages; a self-updater in the `full` flavour, none in `fdroid`. Generated and pinned from the server, each checked in CI: the theme (tokens.lock.json), the contract (contract/lock.json, server 2124ba9), the strings and the icons. Built and tested only on GitHub Actions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LLeMbas for Android
A native Android app for a LLeMbas instance: your chats and agent chats, notifications that arrive when the app is closed, and LLeMbas as the phone's digital assistant -- hold the power button and ask.
- Native, not a web view. Kotlin and Jetpack Compose on the server's JSON API (
/api/v2). The installable web app keeps working; this is for what a web page on a phone cannot do. - No Google services. Notifications come through UnifiedPush (ntfy, or any distributor you like), so the app runs on de-Googled phones and builds for F-Droid.
- Your instance, nobody else's. Nothing is predefined: the app talks to the address you give it, and to nothing else.
Alpha. 0.x versions may change how things work between releases.
Install
Download the APK from the latest release
and check it against SHA256SUMS. The full APK updates itself from llembas.eu; the -fdroid
one does not. Android 10 or newer; the instance must run LLeMbas server 1.7.0 or newer.
If your instance uses a certificate from your own certificate authority, install that CA on the phone first (Settings › Security › Encryption & credentials › Install a certificate › CA certificate). The app trusts CAs you installed, as the browser does.
Use
- Sign in: type the instance's address and approve the code shown, in the browser.
- Notifications: install a UnifiedPush distributor (for example ntfy), then Settings › Notifications › Turn notifications on.
- Assistant: Settings › Assistant › Open the assistant settings, and choose LLeMbas as the digital assistant app. On Samsung phones also set Settings › Advanced features › Side button › Press and hold › Digital assistant.
There is no wake word. Android reserves always-on hotword detection for the system's own preinstalled assistant; no app from outside can use it.
Build
Builds run on GitHub Actions (.github/workflows/ci.yml); locally it is the usual
./gradlew assembleFullDebug with JDK 17 and the Android SDK.
Three things are generated from the server and pinned, each with a lock file CI checks:
| What | Script | From the server |
|---|---|---|
ui/theme/Tokens.kt |
scripts/fetch-tokens.py <server-ref> |
tokens.css |
contract/*.json |
scripts/fetch-contract.py <server-ref> |
tests/fixtures/api_v2/ |
res/values*/strings.xml |
scripts/gen-strings.py |
the translation catalogues |
The icons come from the server's pixel leaf (scripts/gen-icons.py).
Licence
MIT -- see LICENSE.