DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page