This guide explains how to use the Droidrun framework with OpenAI-compatible APIs (such as OpenAI, Azure OpenAI, OpenRouter, LM Studio, etc.). By integrating these LLMs with Droidrun, you can automate Android devices, build intelligent agents, and experiment with advanced workflows using any OpenAI-like endpoint.
“OpenAI-like” refers to any API that implements the OpenAI REST API standard. This includes:
Make sure you’ve set up and enabled the Droidrun Portal.
Get your API key for the provider you’ve choosen
Here is a minimal example of using Droidrun with an OpenAI-compatible LLM backend:
api_base
to https://openrouter.ai/api/v1
and use your OpenRouter API key.api_base
to your local server URL (e.g., http://localhost:1234/v1
).vision=False
unless you know your model supports it.With this setup, you can use any OpenAI-compatible LLM for Android automation and agent-based workflows using Droidrun!
This guide explains how to use the Droidrun framework with OpenAI-compatible APIs (such as OpenAI, Azure OpenAI, OpenRouter, LM Studio, etc.). By integrating these LLMs with Droidrun, you can automate Android devices, build intelligent agents, and experiment with advanced workflows using any OpenAI-like endpoint.
“OpenAI-like” refers to any API that implements the OpenAI REST API standard. This includes:
Make sure you’ve set up and enabled the Droidrun Portal.
Get your API key for the provider you’ve choosen
Here is a minimal example of using Droidrun with an OpenAI-compatible LLM backend:
api_base
to https://openrouter.ai/api/v1
and use your OpenRouter API key.api_base
to your local server URL (e.g., http://localhost:1234/v1
).vision=False
unless you know your model supports it.With this setup, you can use any OpenAI-compatible LLM for Android automation and agent-based workflows using Droidrun!