All ESP32 iPhone Agent notes
These instructions concern ESP32 iPhone Agent by Henry Yuan. Other projects in this index use different firmware, apps and protocols.
View the project profileInstall Manina AI / ESP32 Agent: TestFlight, Xcode & CLI
Choose TestFlight, a source build, or the separate computer CLI.
ESP32 Agent now has an official TestFlight beta as well as source builds. Building the app yourself requires a Mac and Xcode; follow the official invitation for the prebuilt beta.
On November 18, upstream renamed Handsy to Manina AI. The official website is now manina.ai; handsy.tech redirects there. The app and mirroring receiver may still appear as ESP32 Agent. The model gateway remains llm.handsy.tech; do not rewrite an API host to match the website name.
1.0, TestFlight and source versions
On December 3, the official changelog lists 1.0.13 build 29 in TestFlight and 1.0.14 build 30 in Beta App Review. 1.0.14 source is public. The invitation still shows no build number and retains old iPad wording. Check your phone; this site has not installed it or verified App Store availability.
- 1.0.7 / v0.2.6: merged #173 adds iPad, home Wi-Fi configuration in the app, Files and unattended settings.
- 1.0.8 / dual-input v0.2.7: #177 integrates #94’s Bluetooth keyboard and mouse. A standard XIAO can switch USB / Bluetooth; this is no longer only an unmerged Note 4 proposal.
- 1.0.9+: #179 lowers the minimum to iOS 16.4, including iPhone 8 / X. On iOS 16 the agent leaves apps through AssistiveTouch. Older app builds retain their own requirements.
- 1.0.10.1 / 1.0.11: improve Chinese typing, landscape taps and separate result folders for consecutive tasks, and add ChatGPT sign-in. Experimental local screen capture in 1.0.11 is disabled in default builds; ordinary setup still needs Wi-Fi and mirroring.
TestFlight XIAO now uses 0.2.16; official USB stays 0.2.6, StopWatch 0.2.8. Both XIAO factory files and the other two targets match their listed size/SHA-256. New unified boards can update over Wi-Fi, while early dual firmware needs one USB reinstall. See firmware targets and OTA conditions.
For source builds, follow the pinned checkout and build the app and matching firmware target together. iPad is in the code and release notes, while the public invitation still says coming soon. A Wi-Fi-only iPad needs LAN mode on the same router rather than the default hotspot workflow that relies on cellular data.
This page reviews pinned source and public records. This site has not installed the app, run a model or tested a device. Simulator and source tests do not establish device compatibility.
The published CLI is a separate runtime
CLI 0.1.5 is current in the download manifest; all six platform checksum entries match the release. npm esp32agent 0.1.6 installs binary 0.1.5; dsh-esp32agent is 0.1.4. This release fixes macOS failed-connect crashes, stores calibration per phone and identifies unverified aimed taps. Follow the fixed CLI guide, verify the checksum and run esp32agent version. This site has not installed it.
The CLI uses a Bluetooth-capable computer and matching board firmware. USB input can operate without the phone app; Bluetooth HID also needs the phone’s mouse pairing and power setup. Since v0.2.10 the firmware remembers bonded phones that used the app as keyboard targets, rather than letting a previously paired Mac hold that role. This is separate from the CLI’s control connection. BLE CLI support starts at v0.2.2; CLI 0.1.2 with v0.2.3+ can use TCP 7202 on the same network, with BLE for pairing and fallback. Pair within three minutes of power-on. The agent itself runs on the computer.
CLI 0.1.5 includes #155, but #170 remains an unresolved Windows report. An included scan fix is not a compatibility guarantee; see troubleshooting.
On the iPhone, join the board’s network and enable Screen Mirroring and AssistiveTouch. On v0.2.3 or later, esp32agent net shows the link and can show hotspot credentials in AP mode. Keep the output private. On v0.2.2, use the app or the documented USB serial procedure and keep the full token-bearing reply private. With ffmpeg installed, check a fresh esp32agent screenshot and run esp32agent calibrate before using MCP. The app can take priority for input while it is controlling the phone.
Main also adds a Hermes Agent plugin bundling the esp32agent@0.1.5 MCP server and manina skill. This runs on the computer and still needs board pairing, mirroring, AssistiveTouch and ffmpeg. Tool calls do not ask for approval individually by default; the skill’s confirmation instructions are not a tool-enforced gate. The README documents trust: untrusted for approval of each call. This site has not installed the plugin.
Main now pins macOS 12 and Go 1.26.11, but the published manifest and binary checksums remain 0.1.5; source fixes are not a new CLI distribution. See launch and security boundaries. Firmware 0.2.14 adds USB serial for the web Playground, not a released CLI USB transport.
Configure your local build
From the project root:
cp ios/Config/Local.xcconfig.example ios/Config/Local.xcconfig
Open ios/Config/Local.xcconfig in an editor. Set your own signing team and a unique bundle identifier:
DEVELOPMENT_TEAM = YOUR_TEAM_ID
IA_BUNDLE_ID = com.yourname.esp32agent
Replace both example values. The widget identifier and App Group are derived from your app’s bundle identifier. Keep this local configuration private, especially if you add model credentials.
Free Apple ID and optional entitlements
A free Apple ID can sign a development build. Its signature expires after seven days, so re-sign and install again when needed.
The example configuration opts into entitlement files. If your signing team cannot provision the optional capabilities, use the opt-out supported by that file:
IA_ENTITLEMENTS =
IA_WIDGET_ENTITLEMENTS =
This removes those optional entitlement files from your local build. One-tap hotspot joining requires Hotspot Configuration and a paid developer account. Without it, join the hotspot manually using the credentials shown in the app. Optional App Group and notification features may also be unavailable in a build without their entitlements.
Do not fix a signing error by inventing an entitlement or copying someone else’s team identifier. Check Xcode’s Signing & Capabilities messages against your own account.
Build on the phone
open ios/IPhoneAgent.xcodeproj
This guide’s pinned build includes #117, which fixes ambiguous cos and .pi with newer Xcode versions. Older checkouts such as v0.2.4 lack the fix. The maintainer’s cloud signing change #152 is for App Store Connect distribution; it does not replace the personal-device signing below.
- Connect your iPhone to the Mac and trust the computer if prompted.
- Select the IPhoneAgent scheme and the physical iPhone as the destination.
- Confirm the signing team and bundle identifiers in Xcode.
- Build and run the app. Follow any development-app trust or Developer Mode prompts from your installed iOS and Xcode versions.
The pinned deployment target is iOS 16.4. A simulator can help with app UI development, but it does not replace the physical iPhone and board for this workflow.
Regenerate the project when needed
The Xcode project is generated from ios/project.yml using XcodeGen. If you change that project definition, regenerate from the ios directory:
cd ios
xcodegen
For an unmodified checkout with the project already present, start by opening the existing project.
Finish setup
Launch ESP32 Agent and move the board from the Mac to the iPhone. Continue with Bluetooth, mirroring, and pointer setup.
Source development builds and TestFlight use different release settings; development source does not establish App Store approval or every behavior of the distributed beta.
Extra conditions for experimental Screen Recording
1.0.14 build 30 announces Settings › Screen Source / setup’s See page › Screen Recording on iOS 27+ iPhone; the build is still in Beta App Review. It asks for Share Entire Screen for each task, and the board supplies input without AirPlay or board Wi-Fi. Models still need their own network. iPad stays on AirPlay, and AirPlay phone-audio listening does not carry over.
The pinned capture gate still needs Xcode 27+ SDK support, system recording permission and the screen-capture background mode. The source build defaults leave that mode off, and the device checklist still has unchecked background/provisioning/upload items. Thus the release announcement does not prove every source or distributed build offers recording. For a deliberate source test follow that checklist; otherwise use AirPlay. Starting recording from a background Shortcut requires opening the app for system sharing permission.