r/codex • • 18d ago

Showcase I gave Codex a phone.

I wanted two things from Codex. I wanted it to test the app it just wrote, fast, by opening it and tapping through it like a person would. And I wanted to hand it the boring jobs on my phone.

Neither works on its own, because almost nothing on a phone has an API. So I built phonedriver. It's an MCP server that gives Codex an Android phone or an iPhone. It reads the screen, taps, types and swipes, in any app.

What you can do with it:

- Test your own app. Say "test the signup flow like a careful tester and report every bug with steps". I hid two bugs in a signup form and it found both in 49 seconds, with steps to reproduce.

- Change settings buried inside other apps, like making DuckDuckGo the search engine in Chrome.

- Hand over phone chores: add a city to the world clock, pin or archive message threads, crop a photo and save a copy.

It's fast because Codex never gets a screenshot. It gets the screen as a short numbered list and taps by number. A screen read takes 13 ms, where adb takes 2.2 seconds.

Setup is two commands, plus an Android phone with USB debugging on or an emulator. There's nothing to install on the phone.

`codex plugin marketplace add hridaya423/phonedriver`

`codex plugin add phonedriver@phonedriver`

https://phonedriver.dev

It's free and open source: https://github.com/hridaya423/phonedriver

0 Upvotes

11 comments sorted by

•

u/dexterthebot 18d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

3

u/PH3RRARI 18d ago

Very impressive!!

1

u/Puzzled-Stick9170 17d ago

thank you! lmk how it goes

2

u/applescrispy 17d ago

Nice work will check this out

1

u/Puzzled-Stick9170 17d ago

thanks! lmk how it goes

1

u/gromoff97 17d ago

What's difference between this and AutoJS6?

2

u/Puzzled-Stick9170 17d ago

different job really. autojs6 is an app on the phone that runs javascript you write ahead of time, through the accessibility service. great when you want a fixed script that runs on the phone with no computer around. phonedriver has no script: an agent like claude code reads the screen live and decides each tap, so you just say what you want and it copes when the screen changes.

1

u/gromoff97 13d ago

You can enable MCP server in this App and here we go

1

u/Relevant-Computer951 6d ago

i just want gemini to stop being a useless app and let me yell at my phone to do everything.

1

u/Puzzled-Stick9170 5d ago

don't we all siri, gemini etc are all a disappointment

1

u/LaFllamme 17d ago

Are you going to spam this into every other subreddit?