Beating AI News Flash: Developer Henry has open-sourced the ESP32 iPhone Agent. With just an approximately 40–50 yuan XIAO ESP32S3 development board and a mobile app, AI can operate a real iPhone—opening other apps, tapping buttons, and swiping the screen. It requires no jailbreak and does not rely on Apple's XCTest testing permissions.
The implementation is quite clever. The ESP32 sets up its own Wi-Fi hotspot and acts as an AirPlay screen mirroring receiver. The iPhone casts its screen to the development board, which does not handle decoding; instead, it transmits the compressed video back via Bluetooth to the Agent App on the same phone.
The App calls a vision model to recognize the interface and decide the next step, then sends commands via Bluetooth, letting the ESP32 simulate a USB mouse and keyboard to operate the phone. To avoid tap position offsets, the system also automatically calibrates the mouse pointer and corrects its position based on the screen when necessary.
This solution uses an ordinary ESP32-S3 to combine screen reception and input simulation, without needing dedicated video capture hardware like the NanoKVM Go. The Agent runs directly on the iPhone, while model inference relies on external APIs or a self-hosted server. Since the phone's Wi-Fi is occupied by the development board's hotspot, it defaults to accessing the model via cellular network. Flashing the firmware for the first time and compiling and installing the iPhone App still require a Mac and Xcode.
Limited by Bluetooth bandwidth, the transmitted screen image is only 480×1040 resolution, at a maximum of 5 frames per second, and each operation typically takes several seconds. Currently, touch coordinates are only adapted for portrait orientation, keyboard input supports only ASCII characters, and screen mirroring cannot continue after the phone is locked.
