DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to have an agent order from your iPhone via Mac mirroring with Phone Harness

Let an agent drive your iPhone through the Mac's iPhone Mirroring window to finish an app errand.

Short answer: Install Phone Harness with uv using Python 3.12, for example uv tool install phone-harness; then Pair iPhone Mirroring on the Mac and grant Accessibility and Screen Recording, as the setup prompt in the README describes; run phone-harness skill and then phone-harness doctor to confirm the mirrored phone is found. All steps.

Credentials. The agent works inside your logged-in iPhone apps, so it can see and use saved accounts and payment details on the phone.

Who it is forAn iPhone owner with a Mac who wants an agent to finish a repetitive app task, such as booking a ride or placing a food order, while they stay at the desk.

The problemDoing a multi-screen app errand by hand takes attention for each tap and every confirmation screen.

The outcomeThe agent completes the errand in the iPhone app and reports the confirmed details from the final screen.

What you need first

  • uv installed, with Python 3.12 available
  • A coding agent such as Claude Code or Codex
  • Either a Mac with iPhone Mirroring, an Android phone with adb and developer options on, or a Phone Harness Cloud account
  • Your own hands to pair the phone, grant Accessibility and Screen Recording, or approve adb

Steps

  1. Install Phone Harness with uv using Python 3.12, for example uv tool install phone-harness. (inferred, check the README)
  2. Pair iPhone Mirroring on the Mac and grant Accessibility and Screen Recording, as the setup prompt in the README describes.
  3. Run phone-harness skill and then phone-harness doctor to confirm the mirrored phone is found.
  4. Ask the agent to find the app and step through the errand, keeping the iPhone unlocked because unlocking pauses mirroring.
  5. Review the confirmation screen the agent reports before any final payment step.

Prompt for your agent

Using the phone-harness repo at https://github.com/ShawnPana/phone-harness, use the iPhone Mirroring window on this Mac to complete the errand <errand description>. Stop before the final payment confirmation and report the screen text, then verify the order details match the request before approving the last step.

Caveat. Unlocking the iPhone pauses mirroring, so the phone must stay unlocked while the agent works.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ShawnPana/phone-harness and "Have an agent order from your iPhone via Mac mirroring"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer