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

How to run a phone task on a rented cloud phone with Phone Harness

Rent a cloud Android or iPhone by the session and let an agent work on it without owning a device.

Short answer: Install Phone Harness with uv using Python 3.12, for example uv tool install phone-harness; then run phone-harness cloud login and approve the request in your browser; run phone-harness cloud ls to see the phones on your account, then phone-harness cloud start or phone-harness cloud start ios. All steps.

Credentials. The agent signs in to apps on the cloud phone, so only use test accounts or credentials you are willing to expose to the session.

Who it is forA user with no phone on the desk, or an iPhone user who wants to test on Android, who needs an agent to complete an on-phone task.

The problemOwning a spare test phone or working from a Mac with a phone paired is not always possible.

The outcomeThe agent completes the task on a cloud phone and the session is stopped cleanly, with a saved Android written back if one was used.

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. Run phone-harness cloud login and approve the request in your browser.
  3. Run phone-harness cloud ls to see the phones on your account, then phone-harness cloud start or phone-harness cloud start ios.
  4. Run phone-harness <<'PY' on one line, then print(screenshot()) on the next, and then PY to confirm the phone responds.
  5. Run phone-harness cloud stop when the task is finished.

Prompt for your agent

Using the phone-harness repo at https://github.com/ShawnPana/phone-harness, start a cloud phone, complete the task <task description>, and return the final screen text. Verify with `cloud ls` that the session is stopped before you report completion.

Caveat. Only cloud Android bills by the minute, so stop the session with `phone-harness cloud stop` when the task ends.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ShawnPana/phone-harness and "Run a phone task on a rented cloud phone"

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