Article
The Ultimate Mobile Agent Has Arrived? DIYgod Open-Sources Pinky, Handing Both iPhone and Android Over to AI
Beating AI Flash News: RSSHub author DIYgod has open-sourced Pinky, enabling AI Agents such as Codex and Claude Code to directly operate real iPhones and Android phones. The desktop side supports Mac, Windows, and Linux. Once connected via MCP, the AI can view the screen, open apps, tap, swipe, and input text.
Previously, we have introduced quite a few iPhone Use projects. Some rely on the XCTest/WDA testing interface, some simulate keyboard and mouse input via Bluetooth, and others require external hardware. Pinky integrates multiple technical approaches into a single desktop tool.
On the Android side, it uses ADB + scrcpy, combined with an optional accessibility assistant app to read UI elements. On Android 13 and above, it can also create a hidden virtual screen, allowing the AI to operate apps in the background while the user continues using the phone normally. This part is quite similar to the previously introduced Mika.
For iPhone, it selects different approaches based on the system version. iOS 27 and above directly calls Apple's CoreDevice developer protocol to read the interface and send touch commands, without needing to install a test program. The technical approach is similar to Poki. iOS 17.4 to 26 still relies on WDA and requires signing and installation via Xcode.
Pinky also specifically addresses the problem of AI misoperations. It identifies sensitive buttons such as "Pay" and "Transfer," pauses before actually tapping them, and waits for the user to manually approve. If there is no confirmation within 60 seconds, execution is rejected. After approval, it rechecks the interface to prevent changes in the amount or button. Sending messages and deleting content can also be set to ask first.
This approval mechanism is written into the control program and does not rely on the model following prompts. Banking apps, wallets, and password managers are hidden from the Agent by default, and password and verification code input fields are also prohibited from being auto-filled. Users can take over operations at any time, and every step is screen-recorded, with recordings saved on the user's own computer.
Project: https://github.com/DIYgod/pinky
Original link: https://m.theblockbeats.info/flash/376241