Open-Source App Lets LLMs Control iPhone Without Mac or Extra Hardware
This open-source app allows large language models to control an iPhone without requiring a Mac or additional hardware during runtime, relying on Apple’s accessibility features and WebDriverAgent over USB for interaction.
No Mac or Extra Hardware Required at Runtime
This open-source application enables large language models (LLMs) to control an iPhone without requiring a Mac or additional hardware during runtime. According to the project's documentation, the agent operates directly on the iPhone, eliminating the need for jailbreaking or external devices. A Mac is only necessary once to generate the initial pairing file, after which the app functions independently on the iPhone. Users can initiate the agent from multiple entry points, including the chat interface, Siri, a dedicated shortcut, or a custom URL link formatted as iphoneuse://run?prompt=…. This approach simplifies the setup process and broadens accessibility for users who may not have a Mac available.
How the App Compares to Similar Projects
The open-source app offers a distinct approach compared to similar projects like TapKit and esp32-iphone-agent. Unlike TapKit, which relies on a Mac for runtime operations and requires a computer at run time, this app eliminates the need for a Mac entirely after initial setup. It also avoids the extra hardware requirement of esp32-iphone-agent, which necessitates an ESP32-S3 board. Instead, it leverages Apple’s accessibility features and WebDriverAgent over USB for interaction, making it more streamlined for iPhone use. The app requires iOS 26 or later with Developer Mode enabled, and a Mac is only needed once to create the pairing file or build the app. However, there are limitations, such as the need for a shortcut to manage cellular data, as iOS blocks new loopback VPN connections on cellular networks. This workaround ensures the app can function properly without requiring constant internet access.
Installation and Setup Process
The installation and setup process for the open-source app requires users to either add the source via SideStore or AltStore using the provided URL: https://raw.githubusercontent.com/EliotAndres/iphone-use-app/main/source.json, or sideload the .ipa file from the Releases section. For users who want to build from source, a prebuilt Rust library (45 MB) is available from the latest release, though this step is not required for basic functionality. Once the app is installed, users may need to copy a pairing file using the command: xcrun devicectl device copy to --device <udid> --domain-type appDataContainer --domain-identifier blog.eliot.iphoneuse --source pairingFile.plist --destination Documents/pairingFile.plist. This step is optional and depends on the specific features being used.
Technical Implementation and Limitations
The technical implementation of the open-source app relies on several key components and permissions. It requires Developer Mode to be enabled, along with a VPN configuration, Local Network access, and Location set to 'Always' to maintain background activity and silent audio playback [Hacker News Show]. The app is sideloaded only, as it necessitates Developer Mode and developer services, making it incompatible with the App Store [Hacker News Show]. The app functions by mounting a developer image and using a loopback VPN (10.7.0.1) to control the iPhone remotely. It communicates with an LLM via OpenRouter, receiving commands such as screenshots, tap, swipe, and typing actions [Hacker News Show]. However, this approach has limitations, including dependency on sideloading, the need for specific permissions, and potential instability due to the use of experimental features like loopback VPN and developer image mounting.
Testing and Development Workflow
The testing and development workflow for the open-source app relies on scripted runs and simulator checks. Scripts like scripts/eval.sh replay 11 recorded steps (such as opening Lyft, searching a destination, and writing a note) against each model through OpenRouter, with each step repeated twice (22 decisions per row) [Hacker News Show]. For development without LLM involvement, the command DEV= scripts/runscript.sh launches the app with -agentScript, waits for confirmation in Documents/agent.log, and captures screenshots [Hacker News Show]. The simulator is used for layout checks only, as it cannot access a physical device, though it provides visual feedback on the UI [Hacker News Show].
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.