Can you ship software from a phone? That question turned into AndroPI — an AI coding agent that runs entirely on Android. It writes code, executes it in a real Linux container, previews the result live, and deploys it. No laptop involved.

GitHub: imtaqin/andropi

How it works

AndroPI puts the pi coding agent on Android. The agent runs locally in a bundled Node.js runtime (repackaged from Termux packages as jniLibs). Shell commands execute in a Debian or Alpine container via proot, so apt, pip and npm all genuinely work. You bring your own model: Anthropic, OpenAI, Gemini, OpenRouter — whatever pi supports.

What you get

  • Agent chat with streaming replies, tool calls, and a live HTML preview that updates while the agent writes the page.
  • Projects — per-chat folders or any folder on the phone, with a file explorer, code editor, project search, diff view, and a checkpoint/undo for every agent run.
  • Git & GitHub — device-code sign-in, clone, commit, push, branches, turn issues into pull requests, and follow Actions runs.
  • Deploy — GitHub Pages, Vercel, or SSH/rsync to your own server. Dev servers can be shared through a public tunnel.
  • Terminal — multi-tab, with SSH to saved servers.
  • Agent controls — approval modes (ask everything / risky only / bypass), plan mode, message queue, background tasks and schedules, MCP servers, skills catalogue, slash commands.
  • Daily-driver details — voice input, share-to-AndroPI, home screen widget, cost tracking with a daily budget and automatic model fallback, app lock with encrypted tokens, English and Bahasa Indonesia.

One more thing I'm proud of: the agent's web access uses DNS-over-HTTPS, so it keeps working on networks with DNS blocking.

The build is wild

The build pipeline repackages node, git, ssh, rsync and proot from the Termux repos into jniLibs for three ABIs, bundles the TypeScript agent host into an asset zip, then builds two Flutter flavors (full-access for GitHub releases, scoped-storage for Play). Kotlin handles runtime extraction, the foreground service, share targets and the widget.

It's MIT-licensed. If you've ever wanted to fix a production bug from a train with nothing but your phone — that's exactly the itch this scratches.