Open source · Agents · Android

Run AI coding agents
on Your Android phone.

Claude Code, Codex, PI CLI, Antigravity — install and run them all inside a full Ubuntu shell on Android, no root required.

Why Termux

Your phone is a Linux box you already own

No cloud sandbox, no extra device, no subscription just to get a shell. Termux plus proot-distro gives you a real Ubuntu environment, and these agents run in it exactly like they would on a laptop.

// no root

Nothing to unlock

Termux runs entirely in userspace. No rooting, no unlocked bootloader, no voided warranty.

// isolated

Sandboxed by design

proot-distro keeps Ubuntu contained from the rest of your Android install — remove it in one command.

// portable

Same commands everywhere

The exact npm and curl installs you'd run on a laptop work unchanged inside the Ubuntu shell.

How it works

Three layers, one shell

Every agent in this guide sits on the same foundation, so once you've set it up once, adding another agent takes one command.

01

Termux gives you a terminal

Installed from F-Droid, Termux provides a real package manager and shell on Android — the foundation everything else runs on.

02

proot-distro gives you Ubuntu

A full Ubuntu userland, isolated from Android, so agents that expect a standard Linux environment just work: proot-distro login ubuntu.

03

Node.js gives you the agent

Most agents ship as npm packages or install scripts. Install Node once, then install any agent in a single line.

FAQ

Common questions

Do I need a rooted phone?

No. Termux and proot-distro both run without root access, on any Android device that can install apps from F-Droid.

Will this work on any Android phone?

Yes, though performance depends on your device's RAM and CPU. Mid-range and flagship phones handle these agents comfortably.

Is this safe to run alongside my normal apps?

Yes. proot-distro's Ubuntu environment is isolated in its own directory and doesn't touch the rest of your Android system. Removing it is a single command.

Can I run more than one agent at a time?

Yes. All agents install into the same Ubuntu environment, so you can switch between claude, codex, pi, and antigravity freely.