Let Codex operate an Android phone locally
The poster built an Android app that gives Codex computer use on the phone itself, so the agent can operate the device without adb. ·
Done withCodex
- What they did
- The poster built Buddy, an Android app whose accessibility service exposes the phone as a local MCP server with tools like read_screen, tap, type_text, scroll, open_app, screenshot, and confirm. Codex CLI runs locally in Termux through `codex exec`; after one `codex mcp add` setup, Codex could operate apps on-device, while the person watched live, could hit Stop, and had to approve sensitive actions.
- How it went
- In the first Codex test, it opened Amazon, found a Nintendo Switch 2, and added it to the cart without buying. The poster says sends, purchases, and deletes originally relied on the agent choosing to call confirm, which they later changed to a hard Buddy-enforced limit.
- Worth knowing
- No PC, adb, or root were needed; the main catch is that high-risk actions needed human approval, and the safety model was tightened after feedback.
Try it yourself with Codex
Help me build an Android app that lets an AI agent operate the phone it runs on, such as tapping, scrolling, typing and reading the screen, using Android's accessibility APIs rather than adb. Set up the project in [folder], implement a basic action loop, and build a debug APK. Stop when I can install it and have the agent complete one simple task like [example task, e.g. open Settings and turn on dark mode], and list the permissions I need to grant.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
1 more account of this
Source: Reddit · Oct 23, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Hand off coding sessions between agent accounts at usage limits
A developer built an app that tracks usage across multiple Codex and Claude Code accounts and auto-hands-off conversations when one hits its limit.
Publish one video to four Chinese platforms at once
A Codex skill generates titles and tags, then sub-agents fill upload forms on Xiaohongshu, Douyin, Bilibili and WeChat Channels in parallel; the author confirms each post.
Submitted by from search gap: 抖音
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Route Linear tickets to PRs across multiple repos
A developer sends tasks via Telegram/OpenClaw into Linear, where Cyrus routes each to the right repo and model and opens PRs for review.
Run Cursor agent mode safely with containers and hooks
The poster runs Cursor agent mode on a real project, including a Twilio voice agent, using containers, hooks and safeguards to protect the environment.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.