Hand Your Phone to an Agent: phone-harness Hits 2,000 Stars in Two Weeks, and Your iPhone Can Be Fully AI-Driven Without a Jailbreak
ShawnPana/phone-harness (1,977 stars / 183 forks, MIT, Python; GitHub API snapshot 2026-08-22, created Aug 7 - two weeks old): let your agent control your phone. No iPhone jailbreak - macOS Sequoia+'s iPhone Mirroring window is the whole transport: screencapture plus Vision OCR for "the poor man's DOM," CGEvents for HID-level taps and keystrokes. Android goes over adb (USB/Wi-Fi) with screencap, the exact uiautomator accessibility tree, and input commands. Installation is a single prompt pasted into Claude Code or Codex, with a --doctor self-check. Philosophy: no prebuilt tools - whatever's missing, the model writes mid-task in ordinary Python (agent_helpers.py). Includes the learned-the-hard-way pitfall list (AppleScript clicks silently fail, unicode input impossible, slow drags don't move iOS lists) and three safety gates (spare phone / payment approval / API first).