Droid Agent

io.github.hyusbandPublished by GitHub account hyusbandv0.2.0Updated Nov 19, 2026

Give AI agents hands on a real Android device over stock adb — no on-device install

The publisher's own server: droid.monster — specs

VerifiedSTDIODesktop onlyBrowser AutomationDeveloper Tools

Overview

AI-generated overview

Lets an AI assistant control a real Android phone or emulator over stock adb, with no app installed on the device.

What you can do
  • Inspect the screen as a short numbered list of interactive elements, then tap, long-press, type, swipe or send keyevents by reference
  • Run compound actions in one call: tap by visible text, type into a field, wait for or scroll until an element appears, and query the UI tree
  • Capture screenshots as real image content, read foreground app and screen state, and pull logcat
  • Manage apps and files: open, close, install, uninstall, push and pull
  • Run raw adb shell commands as an escape hatch, with JSON output for every command
When to use it
Useful when an assistant must operate Android apps end to end on a physical device, emulator, TV or Android Auto unit, for example UI testing, repetitive in-app tasks, or verifying what is on screen after an action.
Requirements
Runs locally as a Python package (droid-agent, launched with uvx or pipx, with an extra for the MCP server). Needs Android platform-tools (adb) on the PATH and a device with USB or wireless debugging enabled; no root and no on-device install. No accounts or API keys declared.
Before you install
The assistant can act on the device: taps, typing, app install/uninstall, file push/pull and arbitrary adb shell commands all change device state. Dumps are written to a local session file, and elements flagged as password fields are masked and not persisted. Wireless pairing connects over the network to the device.

Installation

In SourceWeft

  1. Open Droid Agent in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

🤖 droid-agent

Give any AI agent hands on a real Android device — zero install on the phone.

dump a screen → get numbered interactive elements → tap 3. That's it.

[CI] [PyPI] [Python] [License: MIT]

[demo]

Why

Every other Android-agent tool makes you install something on the phone first — an Appium server, a companion APK, an accessibility service. droid-agent needs nothing on the device. Just adb, which you already have:

  • 🔢 browser-use for Android — dump distills the uiautomator tree into a short numbered list of actionable refs, not a 500-line XML blob
  • 📦 zero dependencies — pure stdlib, installs in <1s, works offline
  • 🤖 agent-first — every command has --json; ships a built-in MCP server
  • 📱 anything with adb — real phones, emulators, Android TVs, Android Auto, WSA, even Android-x86 VMs

Install

bash
pipx install droid-agent          # recommended# or: pip install droid-agent
pipx install 'droid-agent[mcp]'   # + MCP server for Claude Code / Cursor / Devin

Prerequisite: platform-tools (adb) on your PATH, and a device with USB or wireless debugging enabled.

60-second tour

bash
droid-agent devices                 # what's attacheddroid-agent connect 192.168.1.42    # wireless adb (or just plug USB)droid-agent dump                    # see the screen the way an agent does

Real output, straight off a POCO F5:

text
[ 1] ()    Search settings                                  ( 540, 497)[ 2] |||   recyclerview                                     ( 540,1487)[ 3] ()    About phone                                      ( 540, 663)[ 4] ()    System apps updater                              ( 540, 817)[ 5] ()    Security status                                  ( 540, 971)[ 6] ()    Wi-Fi                                            ( 540,1159)[ 7] ()    Bluetooth                                        ( 540,1313)[ 8] ()    Mobile networks                                  ( 540,1467)[ 9] ()    Interconnectivity                                ( 540,1621)
15 elements · tap with `droid-agent tap <ref>`
bash
droid-agent tap 3                   # taps "About phone"droid-agent type "[email protected]"         # types into the focused fielddroid-agent swipe up                # scroll the listdroid-agent key back                # keyevents by namedroid-agent open com.whatsapp       # launch any appdroid-agent screenshot shot.png     # PNG capturedroid-agent state                   # foreground app, screen on/off, size

For agents, everything is one flag away from JSON: droid-agent --json dump.

Use it with your agent (MCP)

json
{  "mcpServers": {    "droid-agent": { "command": "droid-agent", "args": ["mcp"] }  }}

29 tools exposed — the primitives (tap, swipe, key, dump_ui, shell) plus compound workflows that save agent round-trips: tap_text ("tap the Allow button" in one call), type_into (tap field + type), wait_for / scroll_until (dynamic waits), find (query the UI tree), screenshot (real image content for vision), logcat, install/uninstall, and file push/pull. A built-in android_task prompt teaches any agent the dump → act → verify loop.

Also listed in the official MCP Registry as io.github.hyusband/droid-agent.

Commands

CommandWhat it does
deviceslist attached devices + state
connect / pair / disconnectwireless adb (Android 11+ pairing supported)
dumpnumbered interactive elements → ~/.droid-agent/session.json
tap <ref|x,y> / long-presstouch by ref from last dump, or raw coords
type <text>input text (spaces handled) into focused field
swipe up|down|left|right or x1 y1 x2 y2scroll / gestures
key back|home|enter|tab|del|power…keyevents by name
open / close / install / uninstallapp lifecycle
screenshot / statePNG capture · foreground app + screen info
shell <cmd>raw adb escape hatch
mcpstdio MCP server

How it compares

droid-agentdroidrun/mobilerunmobile-mcpAppium
On-device installnonePortal APK + accessibility svcAppium driverAppium server + settings app
Time to first tapsecondsminutesminutes~30 min
What it isprimitive layerfull agent frameworkMCP bridgetest framework
Deps0 (stdlib)LLM SDKs, uv, portalnode, appiumjava/node stack
LLM couplingnone — BYO agentbuilt-in providersnonenone

Different tool for a different job: they're agent frameworks; this is the curl of Android control — a primitive layer any agent (or human) can call.

Agent workflow pattern

text
dump → read refs → tap/type → wait → dump → verify → repeat

The dump warns when refs are >120s old (the UI may have moved). tap on a missing ref tells you to re-dump instead of tapping blind.

FAQ

Does it need root? No — just USB/wireless debugging enabled.

iOS? No. Use iphone-cli — this one is Android-only by design.

Passwords? Elements flagged password="true" are masked in dumps and never persisted to the session file.

CI? Point it at an emulator (emulator-5554) — same interface, --json for parsing.

Contributing

See CONTRIBUTING.md. Bug reports and false-positive element-detection reports especially welcome — attach droid-agent dump --json plus a screenshot.

License

MIT — see LICENSE.


If this saved you a setup afternoon — drop a ⭐

Source: README.md at commit 879717c

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.0LatestNov 19, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Droid integrations