Build a local phone-control app for Codex

They made an Android app that lets Codex use the phone directly through accessibility tools, with human approval for risky steps.

Done with Codexยท Advancedยท Oct 2026

What they did
They created Buddy, an Android app whose accessibility layer exposes the device as a local MCP server. The app offers actions such as reading the screen, tapping, typing, scrolling, opening apps, taking screenshots, and asking for confirmation. Codex CLI runs on the phone in Termux with `codex exec`, and after a one-time `codex mcp add` setup, it could control apps on-device while they watched and could stop it at any time.
How it went
In the first test, Codex opened Amazon, searched for a Nintendo Switch 2, and put it in the cart without completing the purchase. Actions like sending, buying, and deleting initially depended on the agent choosing to call confirm, but they later changed that into a hard limit enforced by Buddy.
Tips
A setup like this can work without a PC, adb, or root. Keep irreversible actions behind a separate human approval step, and tighten the guardrails after testing if the agent can reach sensitive flows.

Try it yourself with Codex

Help me build an Android app that lets a local AI agent control the phone it runs on through accessibility APIs instead of adb. I want to work in [folder], add a simple action loop, and create a debug APK. Include support for actions like reading the screen, tapping, typing, scrolling, opening apps, and capturing screenshots. Pause and ask for my approval before any irreversible action such as sending, buying, deleting, or submitting, then stop once I can install the app and have the agent complete [simple task]. Also list the permissions I need to grant.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Read the original on reddit.com โ†—

1 more report of this

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.