mobilerun
Drive real Android and iOS devices with natural-language agents
Overview
mobilerun is an open-source framework for controlling real Android and iOS devices with AI agents, aimed at mobile app testing, QA, and automated device workflows. It gives agents mobile-native tools to read UI state, interpret screenshots, tap, swipe, type, plan multi-step tasks, and return results through a CLI or Python API.
The framework is meant to run on your own machine and your own hardware, spanning real Android devices, Android emulators, iPhones over USB, and the iOS Simulator. A Portal app on the device provides the control surface, and a separate hosted offering, Mobilerun Cloud, is positioned for those who prefer managed infrastructure for local or cloud-hosted phones.
What distinguishes mobilerun is its breadth across Android and iOS plus multiple ways to drive it: CLI, terminal UI, Docker, and Python. It combines accessibility trees with screenshots for visual understanding, offers optional vision-only and reasoning modes, supports model customization through custom tools, app cards, credentials, and structured output, and allows execution tracing with Arize Phoenix or Langfuse.
Best for
- Mobile QA engineers
- Mobile app testers
- Mobile automation engineers
- Software developers building test flows
- AI agent developers
- Release and quality leads
- Mobile software
- Application development
- Quality assurance and testing
- DevOps and automation
How to use
- Install mobilerun with uv, either as a CLI tool or together with the Python integration.
- Install the Portal app on the device by running the setup command, which also enables its accessibility service.
- Verify that the Portal is installed and reachable by running the ping command.
- Configure the LLM provider through the configure wizard, choosing provider, authentication method, and model.
- Run a natural-language task, adding flags such as vision, reasoning, iOS, or step and debug limits as needed.
What it can do
How it works
Setup installs the Mobilerun Portal app on the target device, enables its accessibility service, and prepares local control; a ping check confirms the Portal is reachable. Provider configuration then selects a model from the supported lineup through a wizard or environment variables. Android is reached through adb or the Portal app, iPhones through mobilerun-ios over USB, and the iOS Simulator through the iOS Portal app.
Agents act on user commands and return results through the CLI or Python API. Reasoning mode adds a manager-executor planning layer for complex tasks, while tracing through Arize Phoenix or Langfuse and saved trajectories let people review what happened. The choice of provider, model, vision or vision-only mode, reasoning mode, custom tools, and app cards remains with the user configuring and supervising the run.
The framework executes user-issued commands and multi-step plans, but provider, model, mode, and custom guidance are chosen by the operator, and tracing exists so runs can be reviewed.
Where it fits
- Open the settings app and report the device's Android version.
- Enable dark mode by describing the change in natural language.
- Find a contact by name and send that person an email.
- Take a screenshot from an iOS device through a single command.
Good fit
- Mobile QA and testing on real Android and iOS devices using natural language commands
- Automating multi-step mobile workflows from a CLI, terminal UI, Docker, or Python
- Teams that want to bring their own LLM provider such as OpenAI, Anthropic, Gemini, xAI, Ollama, DeepSeek, or OpenRouter
- Debugging agent runs with tracing tools like Arize Phoenix or Langfuse
Not a fit
- Environments limited to Python 3.14, which the documentation says is not currently supported
- Teams wanting managed infrastructure without running the agent locally; the source points those users to Mobilerun Cloud instead
- Anyone expecting app automation without device-side setup, since iOS requires mobilerun-ios over USB or the iOS Portal app and Android requires ADB or the Portal app
How to evaluate
- Confirm your target platforms are covered: Android real devices and emulators, iOS real devices, and iOS Simulator are listed as supported with specific setup paths
- Check that your Python version falls within the supported range of 3.11 up to but not including 3.14
- Verify device prerequisites, including ADB with Developer options and USB debugging for Android, or mobilerun-ios or the iOS Portal app for iOS
- Decide whether vision, reasoning, or vision-only modes are needed, and confirm they suit the apps you plan to automate
- Confirm which LLM provider you will use and whether the optional Anthropic extra or provider environment variables fit your setup
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| hermes-agent | — | Supervised | AI researchers, Developers, System administrators, DevOps engineers, Technical founders |
| deer-flow | — | Supervised | Software developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders |
| OpenMausBot | — | Supervised | Developers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools |
| Toonflow-app | — | Supervised | Short drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators |
| rowboat | — | Supervised | Software engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers |
| artemis | — | Supervised | Mobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers |
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/mobilerun"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.