Loading video...
Video Failed to Load
Claude Code can use your iPhone! 📲 Introducing: phone-harness > Automate any iOS app like a human > native iPhone control → no API, no jailbreak > Connect once, control anytime Setup in one prompt. Try it now! ↓
717,189 views • 1 month ago •via X (Twitter)
62 Comments

Send your agent the setup prompt!

This is super interesting. Is there an Android version of this? If not, I’d be happy to help build one. Hope this ends up being useful for a lot of people.

Not yet- I’d love to add support for it! Feel free to make a PR

@khathahat3 Dude that is not a PR 😭

@khathahat3 Why not?

@khathahat3 Eh yeah ur right could be one pr but more efficient tools for android already exist lol

@khathahat3 lemme cook tho

wait hold on it controls the actual touch inputs?

Yup!

oh damn so is it possible to record/register user inputs as like a chain/automation? e.g. tap coordinate 1, then 2, then slide/something, etc. etc. is that doable?

definitely! i’ll showcase recording/rerunning a workflow

So I could literally have it live test for me on the phone with natural language?

Yep! I’ll showcase this soon

Very cool and clever way to do this

why is no one talking about $42 for 1.9 miles ride ?

these waymo prices are absurd…

can it send texts and monitor for replies?

Yes!

you have just opened pandora's box with this package and i love it thank you)

Thats called ADB and was already a feature you could use, for free, without a shady vibe coded plugin that calls itself harness.

1) ADB is only for Android, this uses your real iPhone 2) This is also free and open source 3) I love vibe coding!

It won’t let you have it play games for you though

Yes it can! I’ll demo this

Right, yeah I know it can but Claude won’t let you. At least the moment it finds out if the game is PVP. If it doesn’t know, it’s not PVP and it believes it to PVE then it will

@shawn_pana Its hard to have live interaction because of latency, it would most likely end up writing code that can read the game actions as they come in and process the result computationally.

@shawn_pana My computer use tool is able to play raid shadow legends using Claude cli on mac, but the only issue is Claude refuses to do any pve.

@shawn_pana Sorry it won’t do PVP, anything to benefit the player against other players. PVE it is fine with.

@ItsDomBtw_ @shawn_pana That’s one correctly worded prompt from getting it to do it

@ItsDomBtw_ @shawn_pana If you find out let me know I tried a few different ways. Even codex does the same non sense. Local models on the other hand….

Worth exploring for automating testing activities

@gregpr07 Awesome! Did screen viewing work much better than Mac use? Have you tried them combined/failover when needed?

wow love to see android version

Its out!

Thank you

insane how this is not a feature already in claude code ty ive been waiting for smthn like this for a while

i would rather use claude on my phone to control my computer lol

So like only when my phone is near my MacBook 🙄

Not necessarily! iPhone Mirroring works like Airplay

Yeah like on the same WiFi in the same house lol

For iPhone Mirroring, your Mac/iPhone don’t need to be on the same WiFi.

📡 Same Wi-Fi network: not explicitly required 📶 Wi-Fi and Bluetooth enabled: required 📍 Physical proximity, roughly 30 feet: required 🔒 iPhone locked: required 🌐 Remote over the Internet: no 🏢 Phone downstairs while the Mac is far across a large house: possibly outside range 🚗 Phone with you while the MacBook is at home: absolutely not working

can it play clash of clans?

emulator screencapture -> ocr -> analyze action -> screen tap with coordinates -> verify

Looks awesome. Does it work from iPhone itself or requires another computer? BTW building a bit of inside out version of this. App runtime designed from start to be editable by Claude/Codex. Would love to meet in SF to chat, I’m usually in @club_homebrew

This requires the iPhone mirroring feature to be available, right? At least that's what I'm getting from the README. Cries in EU.

@gregpr07 brooo. I’m using the family controls api and a lot of functionality is stripped from the simulator. This could be super useful!

EU people are kinda fxcked with this one since iphone mirroring is legit blocked here

I’ll enable this for those who don’t have iPhone Mirroring as well! Working on it

这波操作有点意思,但iOS的沙箱和权限控制摆在那,纯靠辅助功能API能控制多少app?先观望,别急着吹。

very interesting! 🤔

I'd clear my cache and photos before {I grant full control to it} OR {I die}, whichever comes first...🤪

what about android?

when are the zoom ins on these fuckass screen recordings going to stop

Like codex

Wow, that's cool. Kinda waited for it

Any agent with any harness can control a simulator. Are you saying this controls an actual phone?

Yep!

you inspired me to make the same thing but for windows, great idea!

@gregpr07 That's so cool

@agi_inc 👀

Browsers (several kind), IOS, Android, MacOS apps

My friend, you have unlocked a new era of spam and ad fraud. 🫡
