$ cat ~/map/pi-phone.md
pi-phone
The pi coding agent on an Android phone — one app with its own Linux userland, no Termux, no cloud VM.
tools✓ Oct 25
Facts
- repository
- github.com/picassio/pi-phone ↗
- GitHub Stars
- ★ 71
- Forks
- 4
- license
- MIT
- npm / mo
- —
- last push
- Nov 29, 2026
install
Download pi-phone.apk from the latest GitHub release and sideload it on an arm64 Android phone; the first start unpacks the runtime (about a minute) and signs in by itself, then add a model provider under the session menu, Providers.## TL;DR
An Android app that runs the Pi coding agent on Pi Durable entirely on the phone: its own Linux userland with Node.js, bash, git and the usual tools, SQLite-backed durable sessions that survive an app kill or update, a subagents board, diff-reviewable edits, and self-compacting context — installed as a sideloaded APK, or the same app in Docker on a Linux server.
## Key points
- $One app carries its own Linux userland (Node.js, bash, git, gh, ssh, ripgrep, fd, npm) and runs the Pi agent on Pi Durable — no Termux, no laptop, no cloud VM.
- $Sessions, subagents, and tool calls are stored to SQLite as they happen; kill or update the app mid-run and the work continues where it stopped.
- $A subagents board shows a tile per running subagent (6 a session, 3 on the phone strip), and an approval names the subagent that asks.
- $The session list uses a scope picker with Pinned, Active, and a folded Settled shelf; a session settles itself after a day idle, when its task run ends, or when its branch merges.
- $Pi edits files with its edit and write tools, so every change shows as a diff; a bash command that writes files by script still runs, with a reminder in its result to use edit.
- $Sessions auto-compact just before the model's context limit, or sooner at a percentage you pick (10-95%), per session or globally.
- $Updates come through the app; the same app also runs on a Linux server in Docker behind Caddy, for one owner or a team of 6-15 with invited accounts, passkeys, and two-factor.
## FAQ
Q Does pi-phone need Termux or a separate machine?
No. The app carries its own Linux userland (Node.js, bash, git, gh, ssh, ripgrep, fd, npm) and runs the Pi agent on Pi Durable directly on the phone.
Q What happens if the app is killed or updated mid-task?
Sessions, subagents, and tool calls are stored to SQLite as they happen, so the work continues where it stopped when the app comes back.
Q How do I install it?
Download the APK from the latest GitHub release and sideload it on an arm64 Android phone. The first start unpacks the runtime (about a minute); then sign in to a model provider under the session menu, Providers.
Q Can a team share one deployment?
Yes. The same app deploys to a Linux server in Docker behind Caddy; the team mode serves 6 to 15 people with invited accounts, passkeys, two-factor, and one pi-phone per person in its own container.
Q How mature is it?
It is a personal project built and tested on a Galaxy Z Fold 8 (Android 17), distributed as a sideload targeting Android SDK 28 — expect rough edges.
## References
## Related entries
$ Pi Client
Flutter client for pi — one codebase reaching Android, iOS, macOS, Windows, Linux, and Web.
$ pi-durable-news-agent
A proactive news agent on pi-durable: a cron tick sweeps 28 sources and scores every story as Hype, Facts, or Signal.
$ pi2kotlin
Kotlin Multiplatform rewrite of the pi-ai, pi-agent, and pi-coding-agent SDK layers, shipping Android AARs and JVM JARs.
## Guides
Last updated: Nov 29, 2026