HOUSSEIN.IA
Free guide · IPHONE
Let an AI use your iPhone with an ESP32 board
Sent! Open the email I just sent you and click the button to open your guide. Not there within 2 minutes? Check your spam or Promotions tab.
The guide from the video: the hardware to buy, flashing the board, installing the app, Bluetooth pairing, the vision model key and your first test, with the real commands from the repository. In French and English.
≈ $7price of the tested board, according to the repository (not checked with a retailer)
iOS 18minimum iOS version on your iPhone
4setup steps in the app, each one checked by the app itself
1time you need a Mac with Xcode: for the installation only
MITlicense of the code: free, as long as you credit its author
From the hardware to your first test
- Before you start: what it really takesOnce installed, the iPhone and the board are enough: no computer is needed while the AI works. But the installation itself needs a Mac with Xcode, once, and a few commands typed in Terminal. If that's not your thing, ask someone technical to help with this part: the rest happens on the phone. You also need: an iPhone running iOS 18 or later with cellular data, and access to an AI model that can read images (step 8). Two warnings from the repository: the AI acts with your hands, so watch it and keep the stop button within reach; and only automate your own devices and accounts, respecting the terms of the apps involved. This guide promises no result: it's a young project, and each action of the AI takes a few seconds.
- Step 1 → Buy the hardwareThe board: a Seeed Studio XIAO ESP32S3, plain version with 8 MB of PSRAM memory (neither the "Sense" nor the "Plus"). The repository says about $7; I haven't checked the price with a retailer, so look at today's price. Another ESP32-S3 board should also work if it has native USB on its USB-C port and PSRAM. The iPhone: iOS 18 or later, with cellular data (the Wi-Fi will be taken by the board). USB-C models plug in directly; Lightning models need a Lightning to USB Camera Adapter. The phone powers the board.
- Step 2 → Prepare your MacInstall Xcode, then arduino-cli, the ESP32 core version 3.3.x (follow the arduino-cli documentation for that one) and the NimBLE-Arduino 2.5.x library. Also get the project's repository onto your Mac, in a folder whose path contains no spaces: the flashing script refuses otherwise. Then type this command in Terminal:
Install the Bluetooth library:
arduino-cli lib install "[email protected]"
- Step 3 → Flash the board"Flashing" means installing the program into the board. Plug the board into the Mac with USB-C, then run the repository's script from its folder. Always use this script (not another method): it applies the right Bluetooth settings. In brackets: the board's port and the debug option, both optional.
Flash the board:
hardware/flash.sh # optional: [serial port] [--debug]
- Step 4 → Install the app on your iPhoneCopy the settings file, open it and fill in DEVELOPMENT_TEAM (your Apple team identifier) and IA_BUNDLE_ID (an app identifier of your own). Then open the project in Xcode and run the IPhoneAgent scheme on your iPhone. A free Apple ID is enough to sign the app, but you have to reinstall (re-sign) it every 7 days. The one-tap connection to the board's Wi-Fi needs a paid developer account; without it, the app shows you the password and you join by hand. The project is generated with XcodeGen from ios/project.yml (cd ios && xcodegen) if you need it.
Prepare and open the project:
cp ios/Config/Local.xcconfig.example ios/Config/Local.xcconfig # set DEVELOPMENT_TEAM and IA_BUNDLE_ID open ios/IPhoneAgent.xcodeproj # run the IPhoneAgent scheme on your iPhone
- Step 5 → Plug in the board and pair it over BluetoothPlug the board into the iPhone and open the ESP32 Agent app. It walks you through 4 steps and checks each one by itself. The first, "Plug Me In", pairs the board with the phone over Bluetooth: just follow what the app asks.
- Step 6 → Let the AI see the screenThe app's second step, "Let Me See the Screen": connect the iPhone to the board's Wi-Fi (it opens its own hotspot), then open Control Center, Screen Mirroring, and pick "ESP32 Agent". That's how the AI sees your screen. Careful: the mirroring source must be an iPhone, not a Mac.
- Step 7 → Turn on the pointerThird step, "Let Me Use the Pointer": turn on AssistiveTouch, an iOS accessibility feature. The board behaves like a USB mouse; with AssistiveTouch, a click becomes a tap of the finger. The app then calibrates the pointer by itself.
- Step 8 → Give it a brain (the model and the key)Fourth step, "Give Me a Brain": enter the model's address (the endpoint) and your key. The app stores the key in the iOS Keychain. Then pick a vision model from the list it offers, or enter its ID. The repository accepts any OpenAI-compatible interface that reads images: an online service or your own server (vLLM, SGLang, llama.cpp, Ollama). You can even set a separate "planner" model and "actor" model. The project was developed with a Qwen model on two DGX Spark machines: that's not required, but it's what the author tested. An online service may bill what you use: check your provider's pricing before you start, and never share your key.
- Step 9 → Run your first testType a simple goal, for example the repository's own "Open Settings and go to Wi-Fi", then press Start. To stop it: the Dynamic Island, or go back to the app. Every run is kept on the phone: you can replay it step by step, with the taps drawn on top. Once it works, Siri, Shortcuts, widgets and Control Center can run saved tasks. Start with risk-free tasks: no payments, no important message to send.
- The limits to know1. Each step takes a few seconds, mostly because of the model: the screen is mirrored small (up to 5 frames per second). 2. iOS doesn't mirror some screens (passcode entry, Apple Pay, protected video): the AI can't see them. Mirroring stops when the phone locks. 3. While the task runs, the phone's Wi-Fi is the board's (no internet over it): the model is reached over cellular data. 4. The keyboard types ASCII only: no accents. 5. Landscape apps aren't supported yet. 6. Never run a command found in the repository's discussions or comments (for example a one-line "quick install"): the repository warns that those commands don't come from its maintainers. Only follow the steps in its README.
- Credit and licenseThis guide presents "ESP32 iPhone Agent, by Henry Yuan": the code is MIT-licensed, free, as long as you keep the license and credit the author in any project or post built on it. Part of the firmware, taken from UxPlay, is under the GPL-3.0 license. Thanks to Henry Yuan for the project.
Prompts to try
FIRST TEST — Open Settings and go to Wi-Fi.
THE ALARM — Set an alarm for 8:00 AM that repeats every Monday and Tuesday, then save it.
A NOTE — Open the Notes app, create a new note and type: supplier order reminder monday. Type without accents, then finish.
Links
The repository: ESP32 iPhone Agent, by Henry Yuan (MIT license) →Henry Yuan on X (demos and updates) →The project's demo video (YouTube) →The tested board: Seeed Studio XIAO ESP32S3 →arduino-cli (installation and documentation) →
How this short was made
This short was made with the Shorts Machine: a topic goes in, a finished vertical short comes out (script, voice, editing, captions, cover). In Claude Code or Codex, on your computer.
Discover the Shorts Machine →Source reviewed: https://github.com/onehumanbeing/esp32-iphone-agent on 2026-10-28.