← Back to Leaderboard
Eonehumanbeing

onehumanbeing/esp32-iphone-agent

HF Paper ↗

AirPlay and ESP32-S3 HID bring vision agents to real iPhones

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
android-app-0.2.7
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
MCPSelf-HostedAPI
Total Stars
★ 5,859
24h Growth
+17
7d Growth
+425
Forks
801

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

onehumanbeing/esp32-iphone-agent Star History (2026-10-11 - 2026-12-04) DAILY STAR HISTORY (37-DAY D1 TELEMETRY) +5.8k in 54d · avg +108/day 6.2k 3.1k 0 2026-10-11: ★ 382026-10-17: ★ 3,0122026-10-24: ★ 3,8032026-10-31: ★ 4,1472026-11-04: ★ 4,3792026-11-08: ★ 4,7082026-11-12: ★ 4,8862026-11-16: ★ 5,0282026-11-20: ★ 5,1712026-11-24: ★ 5,3232026-11-28: ★ 5,4792026-12-02: ★ 5,7962026-12-04: ★ 5,859 ★ 5.9k 10-11 11-07 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Manina splits iPhone control between ESP32-S3 firmware and a SwiftUI app. The firmware in hardware/ receives AirPlay screen mirroring and forwards H.264 unchanged over Wi-Fi TCP port 7201 to the app on the same phone. The app decodes the stream, sends screenshots to a vision endpoint, and runs the planner and actor. BLE carries board commands and status; the board presents as a standard mouse and keyboard via USB or Bluetooth HID, and iOS AssistiveTouch turns pointer clicks and drags into touch actions.

The app lives in ios/, with bundled planner and actor prompts sourced from prompts/. The Arduino firmware uses ESP32 core 3.3.x and NimBLE-Arduino 2.5.x. For desktop agents, the npm esp32agent CLI exposes an MCP server and connects directly to the board over Bluetooth or shared Wi-Fi; it does not depend on the iPhone app. The server/ directory is the legacy computer-side implementation, not a dependency of the current app-mode stack.

Key Capabilities & Differentiators

The app selects vision models through an OpenAI-compatible endpoint, with a separate planner and actor if desired. Supported serving options include cloud APIs and self-hosted vLLM, SGLang, llama.cpp, and Ollama, provided the chosen model and endpoint accept images. Model IDs can be entered directly, and extra JSON can be merged into chat requests. Finished runs record planner and actor calls, requests carrying screenshots, and reported token usage. If any call omits usage, the total is marked partial rather than counting the missing usage as zero.

The action set includes taps, swipes, drawing, typing, key presses, and going Home. Mirroring runs at 480 × 1040 and up to 5 fps. A Live Activity shows background run state, and Siri, Shortcuts, widgets, and Control Center can trigger saved tasks. The v1.0.13 Shortcuts action returns the answer, status, and run ID for subsequent steps. The v1.0.13.1 release adds calibration-free USB tapping and, on the bring-your-own-key path, lets Manina handle routine open, tap, and type steps by default while the selected model plans and checks.

Trade-offs & Limitations

Compared with WebDriverAgent, CoreDevice, and similar developer-tool setups, the app path does not need a connected Mac, Developer Mode, or a jailbreak during operation. Its screen-and-pointer approach can interact with visible controls regardless of how an app exposes them to developer tooling, but it gives up structured element access. Each step takes a few seconds, mostly spent on model calls. Locking the phone stops mirroring; passcode entry, Apple Pay, and DRM video may be unavailable to the agent. iPhone landscape apps are not supported.

The board adds a device to flash, power, and connect. Its hotspot does not provide internet, so cloud inference there depends on cellular data; on a shared LAN, client isolation or blocked mDNS can prevent discovery. A cloud vision endpoint receives screenshots, so assess provider handling before using sensitive accounts or screens. The shared free model service can return HTTP 503; a reachable self-hosted endpoint is an alternative if you can operate the model stack. MIT covers the repository code, but the Manina-4B-HD-1.0 weights have a separate non-commercial research license.

Hardware & Deployment Guide

Start with the plain Seeed Studio XIAO ESP32S3, the tested board with 8 MB PSRAM, priced at about $7. Flash it from Chrome or Edge on a computer, then install the phone app and complete Bluetooth pairing, AirPlay mirroring, AssistiveTouch setup, and vision endpoint configuration. The App Store build requires iOS 18 or later; TestFlight 1.0.9 and later supports iOS 16.4 or later. USB-C iPhones connect directly for wired input; Lightning models require a compatible USB camera adapter. In hotspot mode, a remote endpoint is reached over cellular. Alternatively, join the board to a 2.4 GHz LAN that allows peer connectivity and mDNS.

For source builds, hardware/flash.sh applies the firmware's BLE buffer configuration, and the iOS app uses Xcode with a project generated by XcodeGen. A free Apple ID can sign the app but requires re-signing every seven days; without the paid Hotspot Configuration capability, join the hotspot manually. To self-host inference, point the app at a reachable vision endpoint; there is no model inference on the ESP32-S3. For computer-side MCP use, run npx -y esp32agent mcp with board firmware v0.2.2 or later. The Android OSS release 0.2.4 is a separate build for Android 6.0 or later, using your own provider key and the Android-specific board firmware.

Video path: The ESP32-S3 receives iPhone AirPlay mirroring and relays H.264 to the app over TCP port 7201 without decoding it.
Input path: BLE carries commands and status; USB or Bluetooth HID supplies mouse and keyboard input through AssistiveTouch.
Model endpoints: Use OpenAI-compatible vision APIs, select planner and actor models separately, and merge extra JSON into chat requests.
MCP integration: The npm esp32agent CLI connects over Bluetooth or shared Wi-Fi with board firmware v0.2.2 or later, without the iPhone app.
Run diagnostics: Finished runs track planner and actor calls, requests with screenshots, and token totals; missing usage marks the total partial.
Release updates: v1.0.13 added a result-returning Shortcuts action for saved intents; v1.0.13.1 added calibration-free USB tapping.
Best For

Real-iPhone workflow prototypes, assisted repetitive tasks, and MCP-driven UI checks that can rely on visible controls and ordinary pointer input.

Skip If

You need deterministic element-level assertions, sub-second interactions, locked-device execution, or access to screens that iOS does not mirror.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release android-app-0.2.7 (2026-12-04) shipped after this reviewMethodology

Quick Start & Installation

MCPSelf-HostedAPI
arduino-cli lib install "NimBLE-Arduino@2.5.1"
hardware/flash.sh            # optional: [serial port] [--debug]

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
esp32-iphone-agent ★5.9k+425SwiftMITAirPlay and ESP32-S3 HID bring vision agents to real iPhones
cua34.1k+973RustMITRust-backed sandboxes and cross-OS desktop controls for computer-use agents
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/onehumanbeing/esp32-iphone-agent.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

onehumanbeing/esp32-iphone-agent Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about esp32-iphone-agent

Does a desktop MCP client need the Manina iPhone app?

No. In app mode, the SwiftUI app receives the mirrored stream and runs the screenshot-to-action loop. In MCP mode, the computer-side esp32agent CLI talks to the board over Bluetooth or a shared Wi-Fi network. That path requires firmware v0.2.2 or later but does not require the iPhone app or TestFlight.

What hardware do I need, and where does VRAM matter?

The tested board is the plain Seeed Studio XIAO ESP32S3 with 8 MB PSRAM. It relays H.264 rather than decoding video or running a model. With a cloud vision API, you do not need a GPU for this setup. If you host inference yourself, size the model host for the selected model, image inputs, and concurrency; the board's PSRAM is not model VRAM.

Can I use the code and bundled model options commercially?

The repository is MIT-licensed; preserve the required copyright and license notices when redistributing covered code. The open-weight Manina-4B-HD-1.0 model has a separate non-commercial research license. For commercial deployment, select a vision model and serving arrangement whose terms permit that use. Hosting your own endpoint does not change the model's license.

When should I choose this over a WebDriverAgent-style stack?

Choose this design when you need a real iPhone to receive ordinary pointer and keyboard input without a Mac attached during app-mode operation. Choose a developer-tool stack when tests depend on app elements or accessibility state rather than what happens to be visible. Manina uses mirrored pixels and HID input; it does not provide an app element tree and cannot see screens that iOS excludes from mirroring.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining onehumanbeing/esp32-iphone-agent? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature onehumanbeing/esp32-iphone-agent on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare