phone-harness/phone-harness

▲ 78 stars today★ 5,120⑂ 529

let your agent control your phone

About phone-harness/phone-harness

phone-harness/phone-harness is an open-source project on GitHub, mainly written in Python. let your agent control your phone It currently holds 5,120 stars and 529 forks with 100 open issues, and was last pushed on 2026-11-09 (repository created 2026-08-07).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #27 with 78 new stars today.

GitHub Repository Details

Repository phone-harness/phone-harness · default branch main · size 1020 KB · watchers 25 · source: GitHub REST API and repository README

README

https://github.com/phone-harness/phone-harness/blob/HEAD/phone-harness
https://github.com/phone-harness/phone-harness/blob/HEAD/Let your agent use your phone.

---

https://github.com/phone-harness/phone-harness/blob/HEAD/Docs https://github.com/phone-harness/phone-harness/blob/HEAD/Phone Harness Cloud https://github.com/phone-harness/phone-harness/blob/HEAD/Try your own cloud Android phone for free! https://github.com/phone-harness/phone-harness/blob/HEAD/Discordhttps://github.com/phone-harness/phone-harness/blob/HEAD/LinkedInhttps://github.com/phone-harness/phone-harness/blob/HEAD/GitHubhttps://github.com/phone-harness/phone-harness/blob/HEAD/X

---

Enable Claude Code, Codex, or any agent to use your real phone. The agent can scroll, tap, type, and read your phone with no jailbreak, no Xcode, and nothing installed on the phone.

iPhone through the Mac's iPhone Mirroring window
Android over adb from macOS, Linux or Windows
Phone Harness Cloud phone: an Android over adb, or an iPhone over HTTPS
  ● agent: wants to open Weather
  │
  ● find_text("Weather") → (400, 468)
  │
  ● tap(400, 468) → reads the screen → forecast is up
  ✓ done

Try Phone Harness Cloud → Hosted iPhones and Androids with stealth, real numbers, 2FA, and unlimited devices

Get started by sending the setup prompt to your coding agent.

Demo

Task: "Buy me a Waymo to Delah Coffee from my current location."

https://github.com/phone-harness/phone-harness/blob/HEAD/An agent orders a Waymo to Delah Coffee on a real iPhone through phone-harness

Setup

For the CLI, send this setup prompt to your agent (Claude Code, Codex, Grok Bot, and more):

Install or upgrade phone-harness to the latest stable version with uv using Python 3.12, register the skill from phone-harness skill, then read https://github.com/phone-harness/phone-harness/blob/main/onboarding.md and walk me through it. Follow https://github.com/phone-harness/phone-harness/blob/main/install.md if setup or connection fails.

The agent installs the CLI, asks which phone to use, and walks you through the steps that need your hands. What each phone needs:

| Phone | Needs | | --- | --- | | iPhone | macOS 15+, iPhone Mirroring paired to an iOS 18+ iPhone, Accessibility and Screen Recording permission | | Android | adb and USB debugging, on macOS, Linux or Windows | | Cloud Android / iPhone | Phone Harness Cloud account; cloud Android also needs adb |

phone-harness doctor checks the setup. Full details: install.md and setup/.

MCP: add https://mcp.phone-harness.com/mcp to any MCP client (setup). Cloud Android and iPhone only for now.

Hermes Agent: hermes plugins install phone-harness/phone-harness/integrations/hermes. See integrations/hermes.

OpenClaw: openclaw plugins install clawhub:phone-harness. See integrations/openclaw.

Usage

phone-harness <<'PY'
open_app("Notes")
tap_text("New Note")
type_text("hello from the harness")
print([o["text"] for o in screen()][:10])
PY

Helpers are pre-imported; helpers.py has the full list. The agent saves its own helpers in ~/.phone-harness/agent-workspace.

Phone Harness Cloud

No phone on your desk, or need more than one? Phone Harness Cloud hosts them for you:

phone-harness cloud login            # once: approve in your browser
phone-harness cloud ls               # phones on the account, and any live session
phone-harness cloud start            # cloud.phone if set, else a temporary Android; 15 min (--for 90s, 15m)
phone-harness cloud start ios        # the account's iPhone, when only one is listed
phone-harness <<'PY'
print(screenshot())
PY
phone-harness cloud stop             # ends the session; a saved Android is written back

The same helpers drive a cloud phone: an Android over adb, an iPhone over HTTPS. cloud start takes a phone's name or id from cloud ls, or ios / android; with none it starts a temporary Android. phone-harness cloud lists every command.

How it works

Every phone sits behind the same helpers, so a script written for one runs on the others.

phone-harness config set platform ios|android picks the default phone. phone-harness update upgrades the CLI, and it prints one line when a new version is out (PHONE_HARNESS_NO_UPDATE_CHECK=1 silences it).

Limits

vision-capable model.

Sponsor

phone-harness is free and maintained in my own time. Sponsoring keeps it that way.

GitHub Stars & Activity

5,120Stars
529Forks
100Open issues
PythonLanguage

GitHub Popularity

GitHub stars5,120
Forks529
Open issues100
Primary languagePython
LicenseMIT
Stars gained today78
Created2026-08-07
Last pushed2026-11-09

Trending History

Daily boardrank #27 · ▲ 78 stars

Related AI Projects

1

mvanhorn / last30days-skill

Python★ 73,326⑂ 6,477▲ 790 stars
→
2

jingyaogong / minimind

Python★ 69,370⑂ 9,058▲ 828 stars
→
3

HKUDS / CLI-Anything

Python★ 63,464⑂ 5,767▲ 783 stars
→
4

wshobson / agents

Python★ 42,840⑂ 4,534▲ 48 stars
→
5

agentscope-ai / agentscope

Python★ 36,554⑂ 3,910▲ 78 stars
→
6

Tracer-Cloud / opensre

Python★ 14,743⑂ 1,986▲ 438 stars
→
7

zhouxiaoka / autoclip

Python★ 14,301⑂ 2,202▲ 908 stars
→
8

SWE-agent / mini-swe-agent

Python★ 10,007⑂ 1,362▲ 43 stars
→

More AI Rankings