DroidRun lets you control Android devices using natural language and LLM agents. This guide explains how to use the CLI with three popular LLM providers: OpenAILike, Ollama, and Gemini.
Install DroidRun and its dependencies.
Ensure your Android device is connected and the DroidRun Portal is installed
Download & Install the Droidrun Portal APK
Check if everything is set up correctly
Install the required LlamaIndex LLM integrations for your provider
The main command to run is:
Key options:
--provider/-p
: LLM provider (OpenAILike
, Ollama
, GoogleGenAI
, etc.)--model/-m
: Model name (varies by provider)--base_url/-u
: Base URL for API (for Ollama/OpenAILike)--api_base
: API base URL (for OpenAI/OpenAILike)--temperature
: LLM temperature (default: 0.2)--vision
: Enable screenshot-based vision (flag)--reasoning
: Enable planning with reasoning (flag)--reflection
: Enable reflection step (flag)--tracing
: Enable tracing (flag)--debug
: Verbose logging (flag)Here you can see a bunch of provider specific droidrun cli usage examples
droidrun devices
to list connected devices.--vision
to enable screenshot-based vision for more complex tasks.--debug
for detailed logs if troubleshooting.--ios
and specify the device URL.Happy automating!
DroidRun lets you control Android devices using natural language and LLM agents. This guide explains how to use the CLI with three popular LLM providers: OpenAILike, Ollama, and Gemini.
Install DroidRun and its dependencies.
Ensure your Android device is connected and the DroidRun Portal is installed
Download & Install the Droidrun Portal APK
Check if everything is set up correctly
Install the required LlamaIndex LLM integrations for your provider
The main command to run is:
Key options:
--provider/-p
: LLM provider (OpenAILike
, Ollama
, GoogleGenAI
, etc.)--model/-m
: Model name (varies by provider)--base_url/-u
: Base URL for API (for Ollama/OpenAILike)--api_base
: API base URL (for OpenAI/OpenAILike)--temperature
: LLM temperature (default: 0.2)--vision
: Enable screenshot-based vision (flag)--reasoning
: Enable planning with reasoning (flag)--reflection
: Enable reflection step (flag)--tracing
: Enable tracing (flag)--debug
: Verbose logging (flag)Here you can see a bunch of provider specific droidrun cli usage examples
droidrun devices
to list connected devices.--vision
to enable screenshot-based vision for more complex tasks.--debug
for detailed logs if troubleshooting.--ios
and specify the device URL.Happy automating!