Skip to content

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/Droidline

Install

$git clone https://github.com/KnifeLemon/Droidline

Install command taken from the project's README or registry entry. Always review code before running it.

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.

  1. Run the server on your PC. Download the droidline archive for your system from Releases, put droidline on your PATH, and start it. Leave it running.

    droidline serve
    
  2. Install the app on the phone. Download droidline-agent.apk from 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.

  3. Pair them. Run this on the PC and scan the QR code with the app's Pair tab:

    droidline pair
    

    No camera? Tap Pair on this Wi-Fi in the app and type the 6-digit code it shows: droidline pair 482913.

  4. 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

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Π 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…

Explore related