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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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

3 days ago