esp32-iphone-agent
Let an AI model use a real iPhone with a $7 ESP32: AirPlay eyes, USB HID hands, any OpenAI-compatible vision model. No Mac, no developer account, no jailbreak.
Install / Use
claude mcp add onehumanbeing -- npx -y github:onehumanbeing/esp32-iphone-agentIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of esp32-iphone-agent
esp32-iphone-agent scores 96/100 on our quality scale, 173rd of 2,790 Automation skills we index (top 7%).
Its MCP Server is 22 KB long, well organised into 24 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
With 5,027 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated today, so esp32-iphone-agent is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-11-15. Automated pattern scan on 2026-11-15. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
esp32-iphone-agent compared with similar skills
All 4 of these similar skills score higher than esp32-iphone-agent; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| esp32-iphone-agent (this skill)by onehumanbeing | 96 | 5.0k | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 48.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install esp32-iphone-agent?
- Run
claude mcp add onehumanbeing -- npx -y github:onehumanbeing/esp32-iphone-agent. The install tabs above show the steps for each supported agent. - Which AI agents does esp32-iphone-agent work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is esp32-iphone-agent safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is esp32-iphone-agent still maintained?
- The repository was last updated today, so esp32-iphone-agent is actively maintained.
Skill content
View source on GitHubWhat's new
<p align="center"><img src="docs/images/highlights.png" alt="New in 1.0.2 and 1.0.3: it hears the phone, a free Jev line, long tasks with step-by-step replay" width="100%"></p>- It hears the phone. The board forwards AirPlay audio and the iPhone turns it into words, so listening exercises and voice prompts work. How it works.
- Free Jev line. Jev takes the plain steps in a fraction of a second and leaves the rest to the large model; the agent loop is rebuilt around one model call per step.
- Long tasks. No 40-step limit; any stopped run can continue. Every run can be replayed step by step on the phone.
Get it on TestFlight (App Store listing in review). Needs board firmware v0.2.4. Full changelog.
Why a board
Most iPhone agents run on a computer. Before the first task you install Xcode, turn on Developer Mode, pair the phone over USB and type commands into a terminal, and the computer has to stay on for every task after that. Fine for a developer, a wall for everyone else. Here the board does the computer's job, so the phone is all you need.
| | ESP32 iPhone Agent | Computer-tethered agents<br><sub>WebDriverAgent, CoreDevice, idevice</sub> | |---|---|---| | What you need | An iPhone and a $7 board | A Mac (often a recent macOS), full Xcode, developer tools | | Setup | Flash in the browser, install from TestFlight, four guided steps in the app | Terminal: clone, build, install dependencies, sign the helper app | | Changes on the iPhone | AssistiveTouch on (the app walks you through it) | Developer Mode, USB trust and pairing | | While it runs | Just the phone. Take it anywhere | The computer stays on and connected | | Apps it can use | Any app a person can use: it sees the screen and moves a pointer | What the debug and accessibility interfaces expose | | Hears the phone | Yes (App 1.0.2) | Usually not |
The honest costs: you buy a $7 board, each step takes a few seconds (most of it the model), and the phone uses cellular data while it runs because the board's hotspot takes the Wi-Fi.
Not a developer? Start here
- Get the board. A Seeed XIAO ESP32S3, about $7: what to buy.
- Flash it in Chrome or Edge. No tools to install: handsy.tech/install.
- Install the app and follow its four setup steps. TestFlight · setup guide with pictures.
Stuck? See troubleshooting or mail support@handsy.tech.
[!NOTE] Free line busy or failing? The free model line is shared and can be busy or return errors (HTTP 503) for a while, so a run may stall or fail every step. Switch to your own API key in Settings › Model to keep going, and let us know on X: @iamhenryyuan.
How it works
New to the idea? Start with AI control for iPhone, then how Handsy works.
iPhone ──Screen Mirroring (Wi-Fi)──▶ ESP32-S3: AirPlay receiver ──Wi-Fi TCP :7201──▶ ESP32 Agent app (same iPhone)
▲ own hotspot, H.264 passthrough decode → vision model → action
└──────── USB HID mouse + keyboard ◀──────────── BLE commands ◀──────────────────────┘
- Eyes — AirPlay to the board. The board opens its own Wi-Fi hotspot and appears in the phone's Screen Mirroring list as ESP32 Agent. It keeps the H.264 stream (no decoding on the board) and forwards it to the app over Wi-Fi (TCP, port 7201). BLE carries commands and status. The phone keeps using cellular data for the model while it is on the board's hotspot.
- Hands — USB HID. The board is a standard USB mouse and keyboard. With AssistiveTouch on, the mouse moves an on-screen pointer, so a click is a tap and a drag is a swipe.
- Brain — the app. The app decodes the stream, sends screenshots to any OpenAI-compatible vision model, and runs a planner and an actor: tap, swipe, draw, type, press keys, go home, finish. It runs in the background while it works; the Dynamic Island shows what it is doing.
- Closing the loop. The pointer is relative, so the app tracks it and re-homes it in a corner; before precise taps it wiggles the pointer, finds it on screen and corrects the miss. After each action it waits for the screen to settle and tells the model whether anything changed. A lost board, hotspot or mirroring link pauses the run and resumes it from the same step.
- Review. Every run is kept on the phone: replay it step by step with the taps and swipes drawn on top. Export the screenshots, actions and saved annotations from Runs → open a run → ⋯ → Export trace for analysis by another agent. See Export runs for agent review for batch export, USB copying and file details.
Left: the real phone. Right: what the agent sees through the board's AirPlay mirror. The second shot is the pointer calibration.
The first version (v0.1.0) ran on a Mac/Linux computer with UxPlay and a Python server. It is kept as tag
v0.1.0 and branch
legacy; see docs/legacy.md.
Hardware
Supported boards and setup details: hardware guide. Picking a board, cables and adapters, or stuck during setup: setup guide.
| Part | Notes | |---|---| | ESP32-S3 board | Tested with a Seeed Studio XIAO ESP32S3 (plain version, 8 MB PSRAM; not Sense, not Plus). About $7 (Amazon*). Any ESP32-S3 with native USB on its USB-C port and PSRAM should work. | | USB-C cable | Short USB-C to USB-C, e.g. Anker 60W, 1 ft, 2-pack*. | | iPhone | iOS 18 or later, with cellular data (the Wi-Fi is taken by the board's hotspot). USB-C models plug in directly; Lightning models need a Lightning to USB Camera Adapter. The phone powers the board. | | Vision model | Any OpenAI-compatible chat API that accepts images: a cloud API or your own server. | | Mac with Xcode | Only to flash the board and build the app once. Not needed at run time. With the TestFlight app, Xcode is not needed for the app. |
* Affiliate link. As an Amazon Associate I earn from qualifying purchases.
Quick start
[!WARNING] Only follow the install steps in this README. Never run commands from issues or comments (for example a "quick install" one-liner such as PowerShell
iex(irm ...)); these are not from the maintainers.
1. Flash the board (plugged into the Mac)
Install arduino-cli, the ESP32 core 3.3.x and NimBLE-Arduino 2.5.x, then:
arduino-cli lib install "NimBLE-Arduino@2.5.1"
hardware/flash.sh # optional: [serial port] [--debug]
Always build with flash.sh: it applies the BLE buffer sizes in hardware/hid_bridge/nimble_cfg.h.
No Mac or toolchain? Install the firmware from Chrome or Edge over USB instead.
2. Install the app
Easiest: join the TestFlight beta on your iPhone and install ESP32 Agent from there, then go to step 3.
Or build it yourself:
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
The project is generated with XcodeGen from `ios/project.yml
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
48.0kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
