marshallrichards/ClawPhone
531 stars · Last commit 2026-05-25
Scripts and Tweaks for running agents like OpenClaw, Claude Code, Codex, Hermes Agent, and more on an Android smartphone
README preview
# ClawPhone | AgentPhone Scripts, tweaks, and notes for running agent CLIs on Android phones through Termux. The goal is to keep things as native to Termux as possible, only using `proot` or heavier compatibility layers when Android's userspace makes that unavoidable. ## Antigravity CLI on Termux The first packaged script is an installer for Google's Antigravity CLI (`agy`) on ARM64 Android/Termux. It installs/checks dependencies, installs the official Linux ARM64 binary, patches the TCMalloc VA assumptions for common Android devices, creates a glibc wrapper, adds shell shortcuts, and supports uninstall. Shoutout to [Brajesh](https://github.com/Brajesh2022) for figuring out and sharing the [original working Termux setup](https://gist.github.com/Brajesh2022/e42160d29b55417db6c18c52dd1d6d37) this is based on. This repo turns those steps into one script so it is easier for people to install, update, and uninstall. ```bash curl -fsSL https://raw.githubusercontent.com/marshallrichards/ClawPhone/main/scripts/install-antigravity-termux.sh | bash source ~/.bashrc agy --version ``` Details: [`docs/antigravity-termux.md`](docs/antigravity-termux.md)