mobilerun-docs
Skill9.6k starsChanged 3 months agoMITView on GitHub
Mobilerun documentation reference. Use when users ask about Mobilerun setup, configuration, SDK usage, CLI commands, device setup, agents, architecture, app cards, credentials, tracing, Docker, migration, structured output, or any Mobilerun "how do I..." questions.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about droidrun/mobilerun
- droidrun/gists“chore: map mobilerun 0.6.19 to portal 0.7.25”GitHub · Sep 10, 2026 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.droidrun.mobilerun: 0.6.21 → 0.6.22”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.droidrun.mobilerun: 0.6.19 → 0.6.21”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.droidrun.mobilerun: init at 0.6.19”GitHub · Sep 27, 2026
- punkpeye/awesome-mcp-servers“Add droidrun/mobilerun (mobile device automation for LLM agents) 🤖🤖🤖”GitHub · Jul 23, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Read the relevant file(s) from docs/v5/ based on the user's question.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mobilerun
Mobilerun is an open-source (MIT) framework for controlling Android and iOS devices through LLM agents. It enables mobile automation using natural language commands.
- GitHub: https://github.com/droidrun/mobilerun
- Docs site: https://docs.mobilerun.ai
- License: MIT
- Install:
uv tool install mobilerun(Google Gemini, OpenAI, DeepSeek, Ollama, OpenRouter included by default) - Optional extras:
anthropic,langfuse - Requires: Python 3.11+, ADB, Portal APK on device
Architecture
Mobilerun uses a multi-agent architecture coordinated by MobileAgent:
- Reasoning mode (
reasoning=True): Manager plans → Executor acts → loop until done - Direct mode (
reasoning=False): CodeActAgent generates and executes Python code directly
Key agents: ManagerAgent (planning), ExecutorAgent (actions), CodeActAgent (direct execution), ScripterAgent (off-device computation), StructuredOutputAgent (typed data extraction).
Atomic actions available to agents: click, long_press, type, system_button, swipe,
open_app, get_state, take_screenshot, complete.
Repository Structure
Source code is at mobilerun/ (Python package). Key locations:
| Path | Description |
mobilerun/agent/droid/ | MobileAgent orchestrator |
mobilerun/agent/codeact/ | CodeActAgent (direct mode) |
mobilerun/agent/scripter/ | ScripterAgent (off-device scripts) |
mobilerun/agent/oneflows/ | StructuredOutputAgent |
mobilerun/agent/utils/ | Tools, executor, tracing, async utils |
mobilerun/tools/ | Device tools (ADB, iOS, portal client) |
mobilerun/cli/ | CLI entry point (click-based) |
mobilerun/config/prompts/ | Jinja2 prompt templates per agent |
mobilerun/config/app_cards/ | App-specific instruction cards |
mobilerun/credential_manager/ | YAML-based credential storage |
mobilerun/telemetry/ | Phoenix tracing integration |
Documentation
Read the relevant file(s) from docs/v5/ based on the user's question. Do not guess — always
read the doc before answering.
| Topic | File |
| Overview | docs/v5/overview.mdx |
| Quickstart | docs/v5/quickstart.mdx |
| Concepts | |
| Architecture & agents | docs/v5/concepts/architecture.mdx |
| Events & workflows | docs/v5/concepts/events-and-workflows.mdx |
| Prompts | docs/v5/concepts/prompts.mdx |
| Scripter agent | docs/v5/concepts/scripter-agent.mdx |
| Shared state | docs/v5/concepts/shared-state.mdx |
| Features | |
| App cards | docs/v5/features/app-cards.mdx |
| Credentials | docs/v5/features/credentials.mdx |
| Custom tools | docs/v5/features/custom-tools.mdx |
| Custom variables | docs/v5/features/custom-variables.mdx |
| Structured output | docs/v5/features/structured-output.mdx |
| Telemetry | docs/v5/features/telemetry.mdx |
| Tracing | docs/v5/features/tracing.mdx |
| Guides | |
| CLI usage | docs/v5/guides/cli.mdx |
| Device setup | docs/v5/guides/device-setup.mdx |
| Docker | docs/v5/guides/docker.mdx |
| Migration v3→v4 | docs/v5/guides/migration-v3-to-v4.mdx |
| SDK | |
| MobileAgent | docs/v5/sdk/droid-agent.mdx |
| ADB tools | docs/v5/sdk/adb-tools.mdx |
| iOS tools | docs/v5/sdk/ios-tools.mdx |
| Base tools | docs/v5/sdk/base-tools.mdx |
| Configuration | docs/v5/sdk/configuration.mdx |
| API reference | docs/v5/sdk/reference.mdx |
For deeper implementation details, check the source code directly in mobilerun/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

