Android app · test version 0.2.5
An Android app to talk with characters such as Margarit, a 17th-century Catalan nobleman. Each character is a package with its own small language model, which runs on the phone itself: no account, and the conversations are kept only on the device.
Test version. The app and Margarit's package work, but this is a first release: install it to try it, not to rely on it. Install the app: on first launch it shows the characters published here and downloads the one you choose by itself.
ChatWith is a product of its own, made for two uses: talking with characters such as Margarit and, once ClonMyMind is available (in development), with the clone you create there.
What it is
A character is a folder with its model, its checked fact cards and the rules that build each message. Add a package and it appears in the list.
The answers are generated by the phone's processor (llama.cpp). Before each answer the character looks up its fact cards, as in the web demo.
With the magnifier on, the app searches the web from the phone, reads the pages and passes the character the news as gazettes; the answer shows its sources. It has an on/off switch next to the text box (on by default, as in the desktop app; remembered for each character): with it off the character answers only from his fact cards and the app makes no network request.
The app's interface is in Spanish. Each character speaks only his own original language — Margarit, the Castilian Spanish of the 17th century — and the app does not translate him (the web demo can). The models can be wrong: what a character says is not a source. Each character carries a version number next to its name: versions and improvements.
Requirements
Install
chatwith-0.2.5.apk — 13.6 MB. ChatWith is not in Google Play: it is installed from this file.
Open the downloaded file. Android will warn that the browser (or the Files app) is not allowed to install apps: tap Settings, turn on Allow from this source, go back and tap Install. Google Play Protect may ask to scan the app; you can let it.
SHA-256 of the APK: 8245bcd5b1cc36828ef59e055bb808a862561e43f9340deae45175a658cb7866
SHA-256 of the signing certificate: 2b881de35eeab3d4073a62731ddaf5431ec723cd67d98f1339b3bb2d189a9e3e
Future versions are signed with the same certificate and install over this one, keeping your characters and conversations. From 0.2.1 the app finds them itself (once a day; from 0.2.4 a red dot on the settings gear tells you, and Ajustes → Actualizar installs it) and opens Android's installer; the first time, Android asks you to allow ChatWith to install apps.
Characters
Smaller and lighter: 1.9 GB to download, ≈2.9 GiB of memory while chatting.
Closest to the original model: 3.3 GB to download, ≈4.3 GiB of memory while chatting.
Both are the same character; install one. The app downloads them itself from the catalogue /ai/chatwith/catalogo.json (name, description, size and SHA-256 of each package).
The packages are hosted on Hugging Face (https://huggingface.co/prosenna/chatwith-margarit), with the SHA-256 of every file in SHA256SUMS.
Tap the settings gear → Personajes (with no character installed, the home screen has a single button that takes you there): the list of characters available here. Each card shows the description, the size and the variant recommended for your phone's memory; tap Descargar e instalar.
The download goes on with the screen off or the app closed (Android's download manager, Wi-Fi by default) into the app's private storage — nothing appears in your Downloads folder. The app checks the SHA-256 of the package (a different one is deleted), unpacks it, deletes the download and opens the chat.
Download a zip with the buttons above, open it with the Files app, tap Extract and, in ChatWith, go to Ajustes → Personajes and tap Importar desde archivo (carpeta)…
and choose the extracted margarit folder. From a computer you can instead copy the folder into
Android/data/group.nakrul.chatwith/files/personajes/ — open ChatWith once first, so that it creates that folder itself.
You can also talk to Margarit on the web, without installing anything.
Work with Nakrul
Tell us what you want it to do. We'll tell you what is possible and quote the pieces you need.