mobile-use: automate your phone with natural language
Mobile-use is a powerful, open-source AI agent that controls your Android or IOS device using natural language. It understands your commands and interacts with the UI to perform tasks, from sending messages to navigating complex apps.
Mobile-use is quickly evolving. Your suggestions, ideas, and reported bugs will shape this project. Do not hesitate to join in the conversation on Discord or contribute directly, we will reply to everyone! ❤️
✨ Features
- 🗣️ Natural Language Control: Interact with your phone using your native language.
- 📱 UI-Aware Automation: Intelligently navigates through app interfaces (note: currently has limited effectiveness with games as they don't provide accessibility tree data).
- 📊 Data Scraping: Extract information from any app and structure it into your desired format (e.g., JSON) using a natural language description.
- 🔧 Extensible & Customizable: Easily configure different LLMs to power the agents that power mobile-use. Supports OpenAI, Google, xAI, OpenRouter, MiniMax, and more.
Benchmarks
We stand as the top performers and the first to have completed 100% of the AndroidWorld benchmark.
Get more info about how we reached this milestone here: Minitap Benchmark.
The official leaderboard is available here.
Check out our research paper here.
🚀 Getting Started
Ready to automate your mobile experience? Follow these steps to get mobile-use up and running.
🛠️ Run locally
Mobile-use runs on your own Android or iOS device with your choice of supported LLM provider. Start with the local quickstart.
-
Set up Environment Variables: Copy the example
.env.examplefile to.envand add your API keys.cp .env.example .env
-
(Optional) Customize LLM Configuration: To use different models or providers, create your own LLM configuration file.
cp llm-config.override.template.jsonc llm-config.override.jsonc
Then, edit
llm-config.override.jsoncto fit your needs.You can also use local LLMs or any other openai-api compatible providers :
- Set
OPENAI_BASE_URLandOPENAI_API_KEYin your.env - In your
llm-config.override.jsonc, setopenaias the provider for the agent nodes you want, and choose a model supported by your provider.
Using MiniMax:
MiniMax provides high-performance, OpenAI-compatible LLMs for agentic and coding tasks. To use MiniMax as your provider:
- Set
MINIMAX_API_KEYin your.env - Copy the contents of the
minimaxpreset object fromllm-config.defaults.jsoncinto yourllm-config.override.jsonc, or set"provider": "minimax"on individual agent nodes.
Available models:
MiniMax-M2.7(200K context, recommended),MiniMax-M2.7-highspeed(200K context, faster inference). - Set
Quick Launch (Docker)
First:
- Either plug your Android device and enable USB-debugging via the Developer Options
- Or launch an Android emulator
Then run in your terminal:
- For Linux/macOS:
chmod +x mobile-use.sh
bash ./mobile-use.sh \
"Open Gmail, find first 3 unread emails, and list their sender and subject line" \
--output-description "A JSON list of objects, each with 'sender' and 'subject' keys"
- For Windows (inside a Powershell terminal):
powershell.exe -ExecutionPolicy Bypass -File mobile-use.ps1 `
"Open Gmail, find first 3 unread emails, and list their sender and subject line" `
--output-description "A JSON list of objects, each with 'sender' and 'subject' keys"
🧰 Troubleshooting
The script will try to connect to your device via IP. Therefore, your device must be connected to the same Wi-Fi network as your computer.
1. No device IP found
If the script fails with the following message:
Could not get device IP. Is a device connected via USB and on the same Wi-Fi network?
Then it couldn't find one of the common Wi-Fi interfaces on your device.
Therefore, you must determine what WLAN interface your phone is using via adb shell ip addr show up.
Then add the --interface <YOUR_INTERFACE_NAME> option to the script.
2. Failed to connect to <DEVICE_IP>:5555 inside Docker
This is most probably an issue with your firewall blocking the connection. Therefore there is no clear fix for this.
3. Failed to pull GHCR docker images (unauthorized)
Since UV docker images rely on a ghcr.io public repositories, you may have an expired token if you used ghcr.io before for private repositories.
Try running docker logout ghcr.io and then run the script again.
Manual Launch (Development Mode)
For developers who want to set up the environment manually:
1. Device Support
Mobile-use currently supports the following devices:
- Physical Android Phones: Connect via USB with USB debugging enabled.
- Android Simulators: Set up through Android Studio.
- iOS Simulators: Supported for macOS users.
2. Prerequisites
For Android:
- Android Debug Bridge (ADB): A tool to connect to your device.
For iOS (macOS only):
-
Xcode: Apple's IDE for iOS development.
-
fb-idb: Facebook's iOS Development Bridge for device automation.
# Install via Homebrew (macOS) brew tap facebook/fb brew install idb-companion
Common requirements:
Before you begin, ensure you have the following installed:
- uv: A lightning-fast Python package manager.
3. Installation
-
Clone the repository:
git clone https://github.com/minitap-ai/mobile-use.git && cd mobile-use
-
Create & activate the virtual environment:
# This will create a .venv directory using the Python version in .python-version uv venv # Activate the environment # On macOS/Linux: source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
# Sync with the locked dependencies for a consistent setup uv sync
👨💻 Usage
To run mobile-use, simply pass your command as an argument.
Example 1: Basic Command
python ./minitap/mobile_use/main.py "Go to settings and tell me my current battery level"
Example 2: Data Scraping
Extract specific information and get it back in a structured format. For instance, to get a list of your unread emails:
python ./minitap/mobile_use/main.py \
"Open Gmail, find all unread emails, and list their sender and subject line" \
--output-description "A JSON list of objects, each with 'sender' and 'subject' keys"
🔎 Agentic System Overview
This diagram is automatically updated from the codebase. This is our current agentic system architecture.
❤️ Contributing
We love contributions! Whether you're fixing a bug, adding a feature, or improving documentation, your help is welcome. Please read our Contributing Guidelines to get started.
⭐ Star History
🏆 Attribution & Licensing
mobile-use is the first agentic framework to achieve 100% on the AndroidWorld benchmark.
This project is licensed under the Apache License 2.0.
If you use this code, or are inspired by the architecture used to reach our benchmark results, we kindly request that you credit Minitap, Inc.
How to Cite
If you use this work in research or a commercial product, please use the following:
Pierre-Louis Favreau, Jean-Pierre Lo, Clement Guiguet, Charles Simon-Meunier,
Nicolas Dehandschoewercker, Allen G. Roush, Judah Goldfeder, Ravid Shwartz-Ziv.
Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decomposition.
arXiv preprint arXiv:2602.07787 (2026).
https://arxiv.org/abs/2602.07787
Bibtex
@misc{favreau2026multiagentsdreamelectricscreens,
title = {Do Multi-Agents Dream of Electric Screens? Achieving Perfect Accuracy on AndroidWorld Through Task Decomposition},
author = {Pierre-Louis Favreau and Jean-Pierre Lo and Clement Guiguet and Charles Simon-Meunier and Nicolas Dehandschoewercker and Allen G. Roush and Judah Goldfeder and Ravid Shwartz-Ziv},
year = {2026},
eprint = {2602.07787},
archivePrefix= {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2602.07787}
}
Metadata
Release files for minitap-mobile-use 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minitap_mobile_use-4.0.0.tar.gz | 142.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minitap_mobile_use-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 342.3 kB
Release files / minitap_mobile_use-4.0.0.tar.gz
| Download URL | minitap_mobile_use-4.0.0.tar.gz |
|---|---|
| Size | 142.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b537f977809e32d9e09d7e05625e2fa146cfbad02e354f475318bac2aee1305
|
|
BLAKE2b-256 checksum How to use checksums |
6a34e6785d8ebc70df600d837c0d518c0c0f04675d28581bb3c62b53c679cd26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / minitap_mobile_use-4.0.0-py3-none-any.whl
| Download URL | minitap_mobile_use-4.0.0-py3-none-any.whl |
|---|---|
| Size | 199.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65e6a8aa447d25257a6dbe99723f2ca5092d901ee447e78be44385144bb7b99e
|
|
BLAKE2b-256 checksum How to use checksums |
c12db7c9ffa91ab8bb0de1adad562904727f1caaca79d913c6ecf3005b122e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|