EveryDev.ai
Subscribe
Home
Tools

3,505+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Phone Harness
    Phone Harness icon

    Phone Harness

    Agent Harness

    An open-source CLI harness that lets an LLM agent control a real iPhone via macOS iPhone Mirroring using screencapture, Vision OCR, and HID-level CGEvents — no jailbreak required.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT license. Clone, use, modify, and distribute freely.

    Engagement

    Available On

    macOS
    iOS
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent HarnessBrowser AutomationAutonomous Systems

    Alternatives

    Browser Use DesktopBrowser HarnessCLI-Anything
    Developer
    ShawnPanaShawnPana builds open-source developer tooling focused on te…

    Listed Aug 2026

    About Phone Harness

    Phone Harness is a lightweight, open-source Python tool that connects an LLM agent directly to a real iPhone through macOS's iPhone Mirroring window. It requires no jailbreak, no Xcode, and no WebDriverAgent — just the standard macOS Sequoia+ mirroring feature, a terminal with the right permissions, and a vision-capable model. The project is MIT-licensed and hosted on GitHub by ShawnPana.

    What It Is

    Phone Harness is an agent skill harness that gives an LLM "eyes" and "hands" on a physical iPhone. It uses screencapture to grab the iPhone Mirroring window, Apple's Vision framework for OCR to locate on-screen text with tap-ready coordinates, and HID-level CGEvents to post taps, long-presses, drags, flicks, scrolls, and unicode typing. The result is a thin, stateless transport layer: every invocation re-queries the window bounds and captures fresh, so there is no background daemon.

    How the Transport Works

    iPhone Mirroring (macOS Sequoia+) renders the phone as a Mac window and forwards real mouse and keyboard input as actual touches on the device. Phone Harness exploits this to give an agent a complete interaction loop:

    • See — captures the mirroring window and runs Vision-framework OCR, returning every visible string with a screen coordinate. The README describes this as "the poor man's DOM."
    • Act — posts CGEvents at the HID tap layer: taps, long-presses, drags/flicks, scroll gestures, unicode typing, and built-in shortcuts (Cmd+1 Home, Cmd+2 App Switcher, Cmd+3 Spotlight).
    • Verify — takes another screenshot. Because there is no DOM, the capture is the ground truth.

    The README documents several things that do NOT work: AppleScript click at (silently ignored because the window is a video stream with no accessibility tree), unicode key payloads (mirroring forwards raw HID keycodes), slow touch-drags on iOS lists, and input while the window is not frontmost.

    Architecture and Codebase

    The core is roughly 500 lines of Python in src/phone_harness/:

    • mirror.py — window discovery, focus, capture, CGEvent input
    • ocr.py — Vision-framework text recognition mapped to screen-point boxes
    • helpers.py — primitives pre-imported into every script
    • admin.py — the --doctor health-check command
    • run.py — the CLI (exec stdin with helpers in scope)

    An agent-workspace/agent_helpers.py file is intentionally editable by the agent at runtime and auto-loaded into every script's namespace, enabling the agent to write missing helpers during execution.

    Setup Path

    Installation is designed to be bootstrapped by an LLM agent (Claude Code or Codex) using a single paste-in prompt. The only steps that require the human are: pairing iPhone Mirroring with the physical phone once, and granting the terminal Accessibility and Screen Recording permissions in macOS System Settings → Privacy & Security. After that, ./phone-harness --doctor verifies the full chain. The tool also registers itself as an agent skill (phone-harness skill) so the agent reaches for it automatically.

    Known Limits

    • One phone per session; unlocking the physical phone pauses mirroring.
    • No multi-touch (no pinch), no camera/Face ID flows, DRM video renders black.
    • OCR sees text, not semantics — unlabeled icons require a screenshot plus a vision-capable model to interpret.

    Current Status

    The repository was created in August 2026 and had accumulated 763 stars and 58 forks within days of its initial push, according to the GitHub project metadata. The project is actively maintained under the MIT license with 9 open issues at the time of indexing.

    Phone Harness - 1

    Community Discussions

    Be the first to start a conversation about Phone Harness

    Share your experience with Phone Harness, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT license. Clone, use, modify, and distribute freely.

    • Full source code access
    • iPhone control via macOS iPhone Mirroring
    • Vision OCR screen reading
    • HID-level CGEvent input
    • Agent skill registration

    Capabilities

    Key Features

    • Control real iPhone via macOS iPhone Mirroring — no jailbreak required
    • Vision-framework OCR returns on-screen text with tap-ready coordinates
    • HID-level CGEvents for taps, long-presses, drags, flicks, scrolls, and typing
    • Stateless transport — no background daemon, every invocation is self-contained
    • Agent-editable helper file (agent_helpers.py) auto-loaded at runtime
    • Built-in --doctor health-check command
    • Registers as an agent skill for automatic LLM invocation
    • Supports Home Screen, App Switcher, and Spotlight shortcuts
    • MIT-licensed open-source Python codebase (~500 lines of core)

    Integrations

    Claude Code
    OpenAI Codex
    macOS iPhone Mirroring
    Apple Vision framework
    macOS Accessibility API
    macOS Screen Recording API
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Phone Harness and help others make informed decisions.

    Developer

    ShawnPana

    ShawnPana builds open-source developer tooling focused on terminal automation and AI agent workflows. The smux project provides a one-command tmux setup with a CLI bridge enabling multi-agent communication across terminal panes. The project is hosted on GitHub under the MIT License and supports macOS and Linux environments.

    Read more about ShawnPana
    WebsiteGitHub
    2 tools in directory

    Similar Tools

    Browser Use Desktop icon

    Browser Use Desktop

    A desktop app that runs a team of browser agents on your computer, porting your cookies into a fresh Chromium so agents are logged in everywhere you are.

    Browser Harness icon

    Browser Harness

    A self-healing, minimal browser automation harness that gives LLMs complete freedom to complete any browser task, built directly on Chrome DevTools Protocol (CDP).

    CLI-Anything icon

    CLI-Anything

    An open-source framework that auto-generates agent-native CLI harnesses for any software, making any application controllable by AI agents through structured command-line interfaces.

    Browse all tools

    Related Topics

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    137 tools

    Browser Automation

    AI-powered agents that autonomously navigate and interact with web applications to automate repetitive tasks, extract data, fill forms, and perform web-based workflows using intelligent understanding of page structure and content.

    122 tools

    Autonomous Systems

    AI agents that can perform complex tasks with minimal human guidance.

    374 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions