Run a Native AI Coding Agent Directly on Android Powered by Termux (2026)

If you have ever tried running a terminal-based AI coding agent inside Termux on your phone, you probably ran into the same annoyance within five minutes: typing long prompts, reading git diffs, and navigating split panes on a touchscreen without a physical keyboard feels cramped and clumsy. Most mobile solutions either act as a remote control for a laptop sitting at home or wrap a sluggish web view around a cloud sandbox.
Pipkin takes a completely different approach. Built by jeph and released under the MIT License, Pipkin is a native Android app written in Jetpack Compose (with no web views) that runs an agentic coding harness directly on your phone using your real Termux environment. Your files, your compilers, your Git repositories, and every shell command stay local on your Android device—no laptop or remote server required.
In this guide, we will explore what makes Pipkin stand out, its requirements, how to verify and install the APK safely, how to connect your preferred AI model, and how to use Termux alongside Pipkin as a genuine pocket development workstation.
Why Pipkin Is Different from Remote Coding Apps
Most AI coding apps for Android fall into one of two traps: either they SSH into a desktop machine (which means your phone is useless the moment your laptop goes to sleep), or they run everything inside a terminal TUI that fights with Android's soft keyboard and autocorrect.
Pipkin bridges both worlds cleanly. Under the hood, it runs the Pi agent harness inside Termux, while giving you a fast, native Android interface built with Jetpack Compose, libghostty-android and Ghostty for terminal rendering, and tree-sitter for syntax highlighting across more than twenty programming languages. On foldable phones and tablets, split panes even let you keep chats, files, diffs, and terminals side by side.
Key Features of Pipkin
- 100% On-Device Execution via Termux: The agent reads your code, runs commands, edits files, and verifies its own work directly in Termux on your phone. You can install compilers, runtimes, and databases with
pkg, or even run Debian or Ubuntu viaproot-distro—no root required. - Built on the Pi Ecosystem: Pipkin is compatible with Pi's ecosystem of skills, tools, prompt templates, and extensions. Extensions that use Pi's RPC UI protocol render as native Android cards for choices, confirmations, text fields, status lines, and widgets.
- Native Workbench Tools: Review AI-made edits in a built-in git diff viewer, browse commits, read code with
tree-sitterhighlighting, and open full Ghostty-powered terminals without leaving the app. - Bring Your Own Model or Subscription: Sign in with a Claude Pro or Max subscription, an OpenAI Codex subscription, add API keys for Gemini, Z.ai Coding Plan, Kimi Code, or OpenRouter, or point it at any OpenAI-compatible API or self-hosted server—and switch models per chat.
- Background Execution & Notifications: Lock your screen or switch apps while a long coding task runs; Pipkin sends a notification when the agent finishes or needs your input.
- Bundled Extensions & One-Tap Backups: Ships with web search/page fetching (via
pi-web-access) and a to-do list widget, plus one-tap backups for your settings, sign-ins, models, and extensions.
Requirements Before You Install
According to the official Pipkin GitHub repository, make sure your Android device meets these requirements:
- Android 10 or Newer (64-bit): Your phone or tablet must be running a 64-bit (
arm64orx86_64) build of Android 10+. - Termux (0.118 or Newer): Termux from F-Droid is strongly recommended (Google Play Store Termux works on Android 11+, though F-Droid remains the standard for Termux tooling).
- Active Internet Connection: While the agent and your code run locally on your phone, an internet connection is needed to communicate with your chosen AI model provider.
Step-by-Step: Installing and Verifying Pipkin
Step 1: Install Termux and Prepare Your Environment
If you haven't already, install Termux (0.118 or newer) from F-Droid, open it, and update your base packages. If you plan to verify the downloaded Pipkin APK checksums or GitHub attestations directly in Termux, install gh (GitHub CLI) and core utilities:
pkg update && pkg upgrade -y
pkg install git gh -y

Step 2: Download and Verify the Pipkin APK
Visit the Pipkin Releases page on GitHub and download the latest APK (along with SHA256SUMS if you want to verify integrity). Before tapping to install, you can verify the file's SHA-256 checksum and GitHub Actions build attestation right inside Termux:
sha256sum --check SHA256SUMS
gh attestation verify pipkin-v<VERSION>.apk --repo jeph/pipkin

Once verified, open the APK on your phone to install it (allow installs from your browser or file manager if Android prompts you). Future releases install cleanly right over the existing app while preserving your chats and settings.
Step 3: Walk Through Guided Setup & Connect Your Model
Open Pipkin and follow its built-in guided setup, which configures Termux and installs the Pi agent harness for you while explaining every permission it requests. Once setup completes:
- Connect a Model: Sign in with your Claude or OpenAI subscription, or add an API key (such as Gemini, OpenRouter, or a custom OpenAI-compatible endpoint).
- Install Your Dev Stack in Termux: Open a terminal and install whatever languages or tools your project needs—for example, Python, Node.js, Git, or a full Linux distro via
proot-distro. - Start Coding: Pick a project folder in Termux, describe what you want to build or fix, and watch Pipkin edit files, run tests, and display clean git diffs right on your screen.

Optional: Building Pipkin from Source
If you are a developer who wants to inspect the code or build Pipkin Dev (which installs side-by-side next to the release build using separate ~/.pipkin-dev state), you can clone the repository and build with Gradle (requires JDK 17+, Android SDK API 37, NDK 30.0.16248370, CMake 4.1.2, Node.js 22.19+, and pnpm):
git clone https://github.com/jeph/pipkin.git
cd pipkin
./gradlew :app:assembleDebug
The compiled debug APK is placed in app/build/outputs/apk/debug/, or you can use ./gradlew :app:installDebug to push it directly over ADB.
Practical Tips for Using Pipkin in Termux
- Use One-Tap Backups Before Big Changes: Pipkin includes a built-in backup feature for your settings, model sign-ins, and extensions—use it before experimenting with custom Pi extensions.
- Let Long Tasks Run in the Background: You don't need to stare at your phone while tests or builds run. Lock your phone or switch apps, and Pipkin will ping you with a notification when it finishes or needs confirmation.
- Explore Pi Extensions: Because Pipkin implements the Pi RPC UI protocol natively, you can install community Pi skills, prompt templates, and extensions to tailor the agent to your exact workflow.
Final Thoughts
Pipkin solves one of the biggest frustrations of mobile coding: giving you a fast, native Android UI without giving up the power of a real local Termux environment. Whether you are fixing a quick bug on the go, prototyping a Python script, or managing multiple workspaces on a tablet, Pipkin turns your Android device into a surprisingly capable coding workstation.
Check out the official documentation at pipkin.jeph.io/docs or visit the GitHub repository to download the latest release:
GitHub Repository: https://github.com/jeph/pipkin (MIT License)