Phone Harness is a lightweight system that lets AI coding agents interact directly with a real iPhone through macOS iPhone Mirroring. It requires no jailbreak, Xcode project, WebDriverAgent, or custom software installed on the phone. Screenshots of the mirrored window provide visual input, while Apple's Vision framework extracts visible text and tap-ready coordinates. macOS CGEvents supply taps, long presses, drags, scrolling, keyboard input, and iPhone Mirroring shortcuts. After performing an action, the agent captures the screen again to verify the actual resulting state. The harness can be installed as an agent skill for systems such as Claude Code or Codex. Its editable helper workspace also lets an agent create missing automation functions during execution.

Features

  • Real iPhone control through iPhone Mirroring
  • Vision-framework OCR with screen coordinates
  • Automated taps, drags, scrolling, and typing
  • Screenshot-based visual state verification
  • Claude Code and Codex skill integration
  • Agent-editable automation helper functions

Project Samples

Project Activity

See All Activity >

Categories

AI Agents

License

MIT License

Follow Phone Harness

Phone Harness Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Phone Harness!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Python

Related Categories

Python AI Agents

Registered

2026-08-10