Skip to main content

A framework for controlling mobile devices through LLM agents

Project description

Mobilerun a powerful framework for controlling Android and iOS devices through LLM agents. It allows you to automate device interactions using natural language commands. Checkout our benchmark results

  • 🤖 Control Android and iOS devices with natural language commands
  • 🔀 Supports multiple LLM providers (OpenAI, Anthropic, Gemini, Ollama, DeepSeek)
  • 🧠 Planning capabilities for complex multi-step tasks
  • 💻 Easy to use CLI with enhanced debugging features
  • 🐍 Extendable Python API for custom automations
  • 📸 Screenshot analysis for visual understanding of the device
  • 🫆 Execution tracing with Arize Phoenix

📦 Installation

Note: Python 3.14 is not currently supported. Please use Python 3.11 – 3.13.

pip install mobilerun

🚀 Quickstart

1. Install the portal on your device

mobilerun setup

2. Configure your LLM provider

mobilerun configure

This walks you through choosing a provider (Gemini, OpenAI, Anthropic, etc.), auth method (API key or OAuth), and model.

3. Run a command

mobilerun run "open settings and turn on dark mode"

Read the full guide in our docs!

Quickstart Video

🎬 Demo Videos

  1. Accommodation booking: Let Mobilerun search for an apartment for you

    Mobilerun Accommodation Booking Demo


  1. Trend Hunter: Let Mobilerun hunt down trending posts

    Mobilerun Trend Hunter Demo


  1. Streak Saver: Let Mobilerun save your streak on your favorite language learning app

    Mobilerun Streak Saver Demo

💡 Example Use Cases

  • Automated UI testing of mobile applications
  • Creating guided workflows for non-technical users
  • Automating repetitive tasks on mobile devices
  • Remote assistance for less technical users
  • Exploring mobile UI with natural language commands

👥 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Security Checks

To ensure the security of the codebase, we have integrated security checks using bandit and safety. These tools help identify potential security issues in the code and dependencies.

Running Security Checks

Before submitting any code, please run the following security checks:

  1. Bandit: A tool to find common security issues in Python code.

    bandit -r mobilerun
    
  2. Safety: A tool to check your installed dependencies for known security vulnerabilities.

    safety scan
    

Download files

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

Source Distribution

mobilerun-0.6.0rc3.tar.gz (517.9 kB view details)

Uploaded Source

Built Distribution

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

mobilerun-0.6.0rc3-py3-none-any.whl (289.9 kB view details)

Uploaded Python 3

File details

Details for the file mobilerun-0.6.0rc3.tar.gz.

File metadata

  • Download URL: mobilerun-0.6.0rc3.tar.gz
  • Upload date:
  • Size: 517.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mobilerun-0.6.0rc3.tar.gz
Algorithm Hash digest
SHA256 ead4e8cf0e6fe8bb6a00f3501dc11837e6a0ed863f3579e41bc68b90fa9c15b1
MD5 8070ebc8eeb2fee354a6f12dbe983cbe
BLAKE2b-256 f0aef9d1a5ffd08b68e763ace2372b7acd0099d1eeb9c6ca991f2ba12c6d0bf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobilerun-0.6.0rc3.tar.gz:

Publisher: publish.yml on droidrun/mobilerun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mobilerun-0.6.0rc3-py3-none-any.whl.

File metadata

  • Download URL: mobilerun-0.6.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 289.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mobilerun-0.6.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 0e16d32a4a0dbca4fe3a440fcfe09a2fdd65c91aa42f72c001403c77860c44e3
MD5 3917f612119e09984fddda2e12fa960f
BLAKE2b-256 7300f28bb9cde64cd777e218b3629410c80d4dcb975058cefd175d25f76980bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobilerun-0.6.0rc3-py3-none-any.whl:

Publisher: publish.yml on droidrun/mobilerun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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