OS·WholeTech
OS·WholeTech / Android
🤖 Android phones & tablets

The AI stack on Android.

A phone is best used two ways: (1) the official chat apps for talking to AI on the go, and (2) as a remote control into your real computers — your PC, Mac, and droplet — where the heavy tools actually live. Android can also run the real command-line tools through an app called Termux, but that part is optional and more advanced.

Most people only need the apps in Step 1 and the Tailscale step (Step 5). The Termux steps in between are there if you want the full power tools on the phone itself.

Before you start

What you'll need

1

Two ways to use your phone & Termux

There are two paths here. The easy path is the official chat apps — enough for most people. The power path is Termux, a real Linux terminal that runs on Android, where the command-line tools live.

Why this first: pick your path. The apps give you AI in your pocket today; Termux is the foundation for the optional power tools in Steps 2–4.

The easy path — official apps (this alone is enough for most people)

From the Google Play Store, install the official apps: Claude, ChatGPT, and Google Gemini. Sign in with your accounts and you have chat anywhere you go. If you never touch a terminal, that's perfectly fine.

The power path — Termux (a real Linux terminal on Android)

Termux turns your phone into a tiny Linux machine with a real command line.

Get the right Termux: install Termux from F-Droid (the open-source app store at f-droid.org) or from its GitHub releases — not the Google Play version, which is outdated and broken.

Open Termux, then update it and install the basics:

pkg update && pkg upgrade
pkg install nodejs git
✓ Working when: running node --version prints a version number.
2

Claude Code · Termux, advanced

Anthropic's AI coding agent — the same kind of assistant that built this page. It lives in the terminal, reads and edits real files, and runs commands for you.

Why you want it: it does actual multi-step work, not just chat. On a phone this is the advanced Termux route.

Install (in Termux)
npm install -g @anthropic-ai/claude-code
Start it & log in
claude

The first run signs you in to your Anthropic account. After that, just type what you want in plain English.

✓ Working when: claude --version prints a version and typing claude drops you into a prompt.
💡Tip: this works, but a phone keyboard is cramped — most people prefer to SSH into a real computer (see Step 5) and run Claude Code there. The full Claude playbook lives at claude.wholetech.com.
3

Codex · Termux, advanced

OpenAI's command-line coding agent. Same idea as Claude Code, different brain — handy as a second opinion or when you've used up one tool's quota.

Why you want it: variety. Different models are stronger at different things; having both means you're never stuck.

Install (in Termux)
npm install -g @openai/codex
Start it & log in
codex

First run lets you sign in with your ChatGPT/OpenAI account. Then describe what you want, same as Claude.

✓ Working when: codex --version prints a version and codex opens its prompt.
4

Gemini CLI · Termux, advanced

Google's command-line AI agent. Notable for a very generous free tier and an enormous memory (context window) for long documents.

Why you want it: free headroom. Great for big, sprawling tasks before you spend on the others.

Install (in Termux)
npm install -g @google/gemini-cli
Start it & log in
gemini

First run signs you in with a Google account. The free tier is large — you likely won't pay anything to start.

✓ Working when: gemini --version prints a version and gemini opens its prompt.

Hermes Agent bonus

A coding agent from Nous Research — "the agent that grows with you." Same idea as Claude Code, Codex, and Gemini, with two twists: it's self-improving (it learns your preferences over time), and it's model-agnostic — you point it at whichever brain you want (Nous, OpenAI, Anthropic, OpenRouter, and more).

Why you'd add it: it's the most model-flexible of the bunch — handy for staying un-locked-in (see the future-proofing principles).

On a phone: like the other command-line agents above, you can run Hermes in Termux — but a phone keyboard is cramped for real coding work. Most people are better off SSHing into a real computer that already has Hermes (see Step 5 / Tailscale) and running it there.
In Termux (advanced)
pkg install python
pip install hermes-agent
hermes postinstall
Set it up & start it
hermes setup
hermes --tui

During setup it asks how you want to sign in — an API key, or an OAuth login via hermes setup --portal. It works with the Nous Portal, OpenAI, Anthropic, OpenRouter, and others.

📘Easier path: run Hermes on a PC or Mac and reach it over Tailscale by SSH (see Step 5) instead of fighting the phone keyboard. Official docs: hermes-agent.nousresearch.com/docs.
5

Tailscale · the most useful step on a phone

A private network (a "mesh VPN") that connects all your devices to each other securely — your PCs, your Macs, this phone, your NAS — as if they were in the same room, from anywhere in the world.

Why you want it: on a phone this is the big one. Once connected, the phone becomes a remote control into the real computers where the heavy tools live.

Install & sign in

Install the official Tailscale app from the Google Play Store. Open it and sign in with the same account as your other devices, so they all join one private network.

✓ Working when: the app shows Connected and lists your other machines, each with a 100.x.y.z address.
🌐The payoff: once connected, you can SSH into any of your computers from the phone. Pair Tailscale with an SSH app like Termux (ssh user@machine-name) or a dedicated SSH client, and you can run the Claude Code / Codex / Gemini already installed on your PC, Mac, or droplet — full power, tiny phone. If you turned on Tailscale SSH on your Linux box (see the Linux guide), you can connect by machine name.
6

Ollama

Runs AI models on your own hardware instead of the cloud — free, private, offline. On a phone, the trick is to use a model that's hosted elsewhere, not to host it on the phone.

Why you want it: no per-use cost and nothing leaves your network — and a phone makes a great front-end to a model running on a beefier machine.

Don't host on the phone: phones generally don't have the memory or speed to run Ollama models well. Don't try to host models on the phone.
The right approach — run it elsewhere, use it from the phone
🌐Run Ollama on a home PC, Mac, or NAS (see those guides), expose it over Tailscale, then use it from the phone. From Termux you can talk to it directly:
curl http://YOUR-MACHINE-TAILSCALE-NAME:11434/api/generate -d '{"model":"llama3.2","prompt":"hello"}'
Or point a chat-style app that supports a custom Ollama server URL at that same address.
✓ Working when: you get a response back from your home machine's model.
You're done

What you have now

Your phone can chat with three cloud AI agents from the official apps, sits on your private Tailscale network, and can reach into your real computers to run the heavy tools and a shared Ollama. For most people the apps plus Tailscale are all you'll ever need.