Skip to main content

AI-powered multi-agent system that automates real Android and iOS devices through low-level control using LangGraph.

Project description

mobile-use: automate your phone with natural language

mobile-use in Action

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.

Benchmarks

Project banner

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.

🚀 Getting Started

Ready to automate your mobile experience? Follow these steps to get mobile-use up and running.

🌐 From our Platform

Easiest way to get started is to use our Platform. Follow our Platform quickstart to get started.

🛠️ From source

  1. Set up Environment Variables: Copy the example .env.example file to .env and add your API keys.

    cp .env.example .env
    
  2. (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.jsonc to fit your needs.

    You can also use local LLMs or any other openai-api compatible providers :

    1. Set OPENAI_BASE_URL and OPENAI_API_KEY in your .env
    2. In your llm-config.override.jsonc, set openai as the provider for the agent nodes you want, and choose a model supported by your provider.

    [!NOTE] If you want to use Google Vertex AI, you must either:

    • Have credentials configured for your environment (gcloud, workload identity, etc…)
    • Store the path to a service account JSON file as the GOOGLE_APPLICATION_CREDENTIALS environment variable

    More information: - Credential types - google.auth API reference

Quick Launch (Docker)

[!NOTE] This quickstart, is only available for Android devices/emulators as of now, and you must have Docker installed.

First:

  • Either plug your Android device and enable USB-debugging via the Developer Options
  • Or launch an Android emulator

Then run in your terminal:

  1. 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"
  1. 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"

[!NOTE] If using your own device, make sure to accept the ADB-related connection requests that will pop up on your device.

🧰 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.

[!NOTE] Physical iOS devices are not yet supported.

2. Prerequisites

For Android:

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
    

    [!NOTE] idb_companion is required to communicate with iOS simulators. Make sure it's in your PATH after installation.

Common requirements:

Before you begin, ensure you have the following installed:

  • uv: A lightning-fast Python package manager.

3. Installation

  1. Clone the repository:

    git clone https://github.com/minitap-ai/mobile-use.git && cd mobile-use
    
  2. Setup environment variables

  3. 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
    
  4. 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 ./src/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 ./src/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"

[!NOTE] If you haven't configured a specific model, mobile-use will prompt you to choose one from the available options.

🔎 Agentic System Overview

Graph Visualization

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

Star History Chart

🏆 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:

Minitap, Inc. (2026). Mobile-Use: Achieving 100% on AndroidWorld. GitHub: https://github.com/minitap-ai/mobile-use

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minitap_mobile_use-3.4.0.tar.gz (136.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minitap_mobile_use-3.4.0-py3-none-any.whl (193.4 kB view details)

Uploaded Python 3

File details

Details for the file minitap_mobile_use-3.4.0.tar.gz.

File metadata

  • Download URL: minitap_mobile_use-3.4.0.tar.gz
  • Upload date:
  • Size: 136.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}

File hashes

Hashes for minitap_mobile_use-3.4.0.tar.gz
Algorithm Hash digest
SHA256 af034cdf5e55ba2de974d57df27e2f14c7b45c9167a54caf27bc1abdf3cdd951
MD5 7ff7afa41dd7ebc6d3ef2015ad69d453
BLAKE2b-256 ad771a43494d91dec82c30e19e07e7375d7d91730a4003e1951a0cb1fc0fd515

See more details on using hashes here.

File details

Details for the file minitap_mobile_use-3.4.0-py3-none-any.whl.

File metadata

  • Download URL: minitap_mobile_use-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 193.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}

File hashes

Hashes for minitap_mobile_use-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d4ed2e2ba2409896d26642bf967d7fcf96d6393648a5a841e80ef1ca09aeac0
MD5 cccddeb826ec751a5eb38106db9df70a
BLAKE2b-256 93fe507bc3a27c9fb083605a374c53636f790bf4db68b6ffad810c27198d215e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page