Credentials. The API key is entered on the phone and encrypted with the Android Keystore, so use a key with a spending limit and rotate it if the phone is lost.
Who it is forA phone user who wants a chat assistant that runs on their own API key and can open apps, set reminders, or search the web on their device.
The problemMost AI apps send everything through their own cloud account, and the assistant cannot touch the phone. You want a local setup you control.
The outcomeA working Agent bound to your provider and model, plus one confirmed device action from the chat.
What you need first
- An Android phone that can install an APK from outside the Play Store
- A browser on the phone or computer to download the APK from GitHub Releases
- An API key from a supported provider (OpenAI-compatible, Anthropic Claude, or Google Gemini)
- For building from source: JDK 17 and Android SDK with compileSdk 36
- Optional: Shizuku for the run_shell and app management tools, and Accessibility and Usage access toggles for full UI automation
Steps
- Download the APK from Releases in a browser, not the GitHub Android app, and check it against the SHA-256 printed in the release.
- Install the APK, open the app, and go to Settings, then Agents, then New Agent.
- In step 1, paste your API key. The provider is detected from the prefix (sk-ant- for Claude, AIza for Gemini), or pick a preset and tap Detect to fetch your model list.
- In steps 2 to 4, pick a model, set temperature and max tokens, choose the default or a custom system prompt, then save.
- Start a chat with that Agent in Build mode and ask for one small device action, such as opening the calculator. Approve the confirmation prompt.
Prompt for your agent
Using the repo Verlintas/BetterAIChat, guide the user through installing the release APK on <device> and creating one Agent with the API key <provider key>. Expected output: a saved Agent and one completed open_app action in Build mode. Verify that the confirmation prompt appeared before the action ran.
Caveat. The README says the release APK should be downloaded in a browser because the GitHub Android app corrupts large APK downloads.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Verlintas/BetterAIChat and "Set up a phone AI assistant with your own API key"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer