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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
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