cd /news/ai-agents/ai-controls-iphone-via-esp32 · home › topics › ai-agents › article
[ARTICLE · art-150379] src=hackaday.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

AI Controls iPhone Via ESP32

Henry Yuan published a GitHub project, esp32-iphone-agent, that lets an AI agent control an iPhone by combining AirPlay screen mirroring through UxPlay with an ESP32-S3 acting as a USB-HID mouse and keyboard. A Gstreamer pipeline feeds the mirrored screen to the AI agent as a JPEG stream, and with iOS AssistiveTouch enabled the agent can issue touch inputs without an Apple Developer Account, Xcode, or a Mac.

by read1 min views1 publishedOct 15, 2026
AI Controls iPhone Via ESP32
Image: Hackaday (auto-discovered)

Do you want to get an AI agent to do something to an iPhone? You could try and jailbreak the device and do some heavy software hacking, or… you could grab a microcontroller off the shelf and have it do the hard work. [Henry Yuan] explains how to achieve this with an ESP32.

The first step is getting an AI agent access to the current state of the phone screen—which [Henry] achieves with AirPlay screen mirroring and UxPlay. A Gstreamer pipeline is then used to feed the screen as a JPEG stream to the AI agent of your choice. Then comes control, which is achieved by an ESP32-S3 acting as a USB-HID device, emulating both USB mouse and keyboard. With iOS AssistiveTouch enabled, this gives the agent control over inputs to the device. From there, it’s up to the AI agent to figure out the actions to make to achieve the desired behavior, which is obviously very use-case specific.

It might sound a little convoluted, but this approach has benefits. There’s no requirement to have an Apple Developer Account, or XCode, or a Macintosh at all. You can just get your agent tinkering away on the phone without any of that fussy overhead. We’ve featured some other great iPhone hacks of late, as well. Video after the break.

── more in #ai-agents 4 stories · sorted by recency
── more on @henry yuan 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-controls-iphone-v…] indexed:0 read:1min 2026-10-15 · —