droidrun/mobile-harness
Skills for controlling Android, iOS and cloud phones
What it solves
AI agents often need to interact with mobile apps and devices for testing, UI automation, or evaluation. Mobile Harness provides a standardized layer of instructions and a Python control API so agents can reliably operate Android and iOS devices, whether they run locally or in the cloud. It also ships with benchmark results that show very high success rates on AndroidWorld and iOSWorld tasks.
How it works
Mobile Harness is a compact Markdown-based harness rather than an agent runtime. The main control path is Python's mobilerun_core package, which exposes a connect() method to reach devices through different backends: local ADB for Android, a local HTTP server for iOS, or a cloud service. After connecting, agents use common device helpers like find_nodes, tap, scroll, type, and screenshot. Detailed platform guides (e.g., platforms/android/GUIDE.md, platforms/ios/GUIDE.md) route agents to the right instructions, and an AGENTS.md file points them to the smallest needed file. Setup is done either via a simple prompt, a manual Python install, or a plugin for Claude Code. The harness keeps local state (memory, credentials, app overrides) separate from the repository's shipped content.
Who it’s for
Developers building AI agents that need to control mobile devices for UI testing, app verification, or any task requiring real device interaction. It is especially useful for those using LLM agents in coding tools like Claude Code, where the agent can be given the setup prompt and then operate the device with minimal supervision.
Highlights
- Supports both Android and iOS, with local (ADB, HTTP) and cloud backends
- Achieved 100% mean score on AndroidWorld (116 tasks) and 98.34% mean score on iOSWorld (133 tasks)
- Simple Python API:
Mobilerun().connect(...)then use device helpers liketap_text,scroll_until, andtype - Routes agents to the right guide automatically via
AGENTS.md - Local state (
local/) is git-ignored so user-owned data stays separate from updates
Related
- Project
- Project
- Project
- Project
- Project