Analysis updated 2026-05-18
Run an AI agent like Hermes Agent directly on an Android phone with full browser automation capability.
Set up a headless Chromium browser on Termux that any CDP compatible tool can control.
Build the agent-browser CLI from source on Android to get richer element level browser control.
| pjy010218/termux-agent-browser | bitman-sachs/minimax-m3-tp3-rtx6000 | brandur/heroku-buildpack-mono-build | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Shell | Shell | Shell |
| Last pushed | — | — | 2012-01-27 |
| Maintenance | — | — | Dormant |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 4/5 | 5/5 | 2/5 |
| Audience | developer | ops devops | ops devops |
Figures from each repo's GitHub metadata at analysis time.
The basic CDP-only setup takes about 5 minutes, building the fuller agent-browser CLI from source takes 5 to 15 minutes more.
termux-agent-browser solves a specific gap for people running AI agents on Android phones through Termux, a terminal app that turns Android into a Linux like environment. AI agents such as Hermes Agent need to control a web browser to navigate pages, fill in forms, take screenshots, and pull data off websites. The usual tool for this job, a project called agent-browser from Vercel Labs, only ships pre built binaries for Linux, macOS, and Windows, so it fails outright on Android's ARM64 architecture inside Termux. This project fills that gap in two ways. The simple path, called Tier 1, installs a headless copy of Chromium on the phone and exposes it through the Chrome DevTools Protocol, a standard way for tools to control a browser over a local network connection. An AI agent like Hermes can then connect directly to that endpoint and drive the browser without needing agent-browser at all. This works within about five minutes and needs no compiling. The more capable path, Tier 2, patches agent-browser's source code so it recognizes Android as a supported platform, then walks you through compiling it from source using Rust, since no prebuilt binary exists. Once built, you get agent-browser's fuller feature set on top of the same Chromium connection: accessibility tree snapshots of a page, referring to page elements by short codes to click or fill them, comparing one page state to another, and keeping track of session state across actions. The repository includes ready to run setup scripts for both tiers, a runit managed background service that keeps Chromium running and restarts it automatically, and configuration snippets for wiring the whole thing into Hermes Agent. It targets Android 13 or newer with at least 4 gigabytes of RAM, and documents version requirements for Chromium and Rust plus guidance for lower memory devices. The project is released under the Apache 2.0 license.
Adds Android and Termux support for AI agent browser automation, letting agents like Hermes Agent control a headless Chromium browser on a phone.
Mainly Shell. The stack also includes Shell, Rust, Chromium.
Use freely for any purpose, including commercial use, as long as you keep the copyright and license notices.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.