> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobilerun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Run your first AI agent on a real mobile device, in the cloud or on your own hardware.

Mobilerun runs AI agents that control real Android and iOS devices. Give the agent a natural language goal such as *"open Settings and turn on dark mode"* and it taps, swipes, and types its way to the result.

There are two ways to use Mobilerun. Pick the path that matches your project and then follow its quickstart.

> [card] [Cloud API, SDK and MCP](https://docs.mobilerun.ai/cloud/quickstart.md)
>
> Hosted devices with zero local setup. Authenticate with a `dr_sk_` key and call the REST API, the TypeScript or Python SDK, or the MCP server. **Start here for most integrations.**

> [card] [Framework, open source and local](https://docs.mobilerun.ai/framework/quickstart.md)
>
> Run the open source `mobilerun` Python package on your own machine against your own Android device over adb. Bring your own LLM provider key.

> [!NOTE]
>
> Prefer starting from working code? The [mobilerun-examples repository](https://github.com/droidrun/mobilerun-examples) has production-minded, runnable integrations, including a TypeScript task runner with a live device stream and a Python signed-webhook receiver.

## Which path is right for me?

| | Cloud | Framework |
| - | - | - |
| Where it runs | Mobilerun's hosted devices | Your machine and your device |
| Setup | None, you provision a device in the dashboard | Install Python, adb, and the Portal APK |
| Auth | Mobilerun key (`dr_sk_...`) plus [credits](https://docs.mobilerun.ai/credits.md) | Your own LLM provider key |
| Languages | TypeScript, Python, REST, MCP | Python |
| Best for | Production automation, CI, scaling | Local development, full control, self hosting |

## Two kinds of API keys

Mobilerun involves two **separate** credentials. Knowing which one you need avoids the most common setup mistake.

* **Mobilerun cloud key (`dr_sk_...`)** authenticates you to the Cloud API, SDK, and MCP server. The agent's LLM calls are billed from your [credit](https://docs.mobilerun.ai/credits.md) balance, so you do **not** need your own model key. Create one on the [API Keys](https://docs.mobilerun.ai/api-keys.md) page.
* **LLM provider key (`GOOGLE_API_KEY`, `OPENAI_API_KEY`, and similar)** is used only by the open source [Framework](https://docs.mobilerun.ai/framework/quickstart.md) running on your own machine. The Framework calls the model provider directly, so there are no Mobilerun credits and no `dr_sk_` key involved.

> [!NOTE]
>
> If you use the Cloud you only need a `dr_sk_` key. If you run the Framework locally you only need an LLM provider key. A single path never needs both.

## Next steps

> [card] [Cloud Quickstart](https://docs.mobilerun.ai/cloud/quickstart.md)
>
> Run your first cloud task in TypeScript, Python, or cURL.

> [card] [Framework Quickstart](https://docs.mobilerun.ai/framework/quickstart.md)
>
> Install the open source package and run a local agent.

> [card] [API Keys](https://docs.mobilerun.ai/api-keys.md)
>
> Create and manage your `dr_sk_` cloud keys.

> [card] [Agent configuration](https://docs.mobilerun.ai/agent.md)
>
> Every task parameter, including models, vision, reasoning, humanize, memory, and structured output.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.