Droidline
Android automation from code. Test your apps on real phones, script the tasks you repeat, run a shelf of phones, or let an AI agent use one, from Python, Node.js, the CLI, HTTP…
Install
git clone https://github.com/KnifeLemon/DroidlineInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Automate real Android phones from your code. Test your apps, script the tasks you repeat, run a shelf of phones, or let an AI agent use one. Python, Node.js, the shell or HTTP. No ADB, no USB cable, no root.
Website · Docs · Download · Sponsor · Quick start · Languages · Guides
English · 한국어 · 简体中文
What people use it for
- Testing your own app on real phones, including flows that cross into other apps, such as a login with a code from a text message.
- A shelf of phones running the same routine every day, each through its own network or proxy.
- Giving an AI agent hands: through MCP, Claude, ChatGPT, Cursor and other agents can look at a phone screen and act on it.
- Small personal automations, such as turning Wi-Fi off at night or collecting a value from an app every hour.
Droidline uses only permissions an ordinary app can get, so a few things are out of reach: see What it cannot do.
See it in action
Try the same demo in your browser, and pick elements on a simulated screen, on droidline.dev
Quick start
You need a PC (Windows, macOS or Linux) and an Android phone with Android 9 or later, on the same Wi-Fi for a first try. The installation guide walks through each step with screenshots.
Run the server on your PC. Download the
droidlinearchive for your system from Releases, putdroidlineon yourPATH, and start it. Leave it running.droidline serveInstall the app on the phone. Download
droidline-agent.apkfrom the same release page and open it. On the app's Setup tab, turn on the accessibility service, the Droidline keyboard, notifications and unrestricted battery use. On Android 13 and later, allow restricted settings for the app first; the app shows where.Pair them. Run this on the PC and scan the QR code with the app's Pair tab:
droidline pairNo camera? Tap Pair on this Wi-Fi in the app and type the 6-digit code it shows:
droidline pair 482913.Send a command.
droidline launch com.android.settings droidline touch text "Network & internet"
No phone at hand? droidline-fakephone, included in every release, simulates one with a small demo app. The first-script tutorial builds a complete login script against it.
Use it from your language
Every interface talks to droidline serve on localhost:8780 and uses the same command names.
Python (pip install droidline, Python 3.9+)
from droidline import connect
Similar plugs
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
An open-source AI agent that brings the power of Gemini directly into your terminal.
Π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection, all without a single pixel of video.
Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex…