adbutils
adbutils lets you control Android devices (install apps, run shell commands, transfer files) directly from Python without writing ADB command-line strings.
- •You need to automate testing or data collection on phones from a Python script.
- •Your startup builds a mobile‑backend service that must push updates or pull logs from many devices.
- •You want to embed Android device control in a web service or AI agent without spawning subprocesses.
python - <<'PY'
from adbutils import adb
# Connect to a device over Wi‑Fi
adb.connect('192.168.1.42:5555')
dev = adb.device()
# Install an APK, launch it, and pull the logcat output
dev.install('app-release.apk')
dev.shell('am start -n com.example/.MainActivity')
log = dev.shell('logcat -d')
open('logcat.txt', 'w').write(log)
print('Installed, launched, and saved logcat')
PYSkip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adbutils && curl -fsSL https://workflowstacks.com/api/skills/adbutils/claude-skill -o ~/.claude/skills/adbutils/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Adbutils is a medium Python project (~4.1k lines across 31 code files, plus 6 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2adbutils/__main__.pyWhere the program starts running
- 3requirements.txtDependencies and the commands it exposes
- 4adbutils/__init__.pyInside adbutils/ — the main logic begins here
- 5examples/reset-offline.pyA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adbutils && curl -fsSL https://workflowstacks.com/api/skills/adbutils/claude-skill -o ~/.claude/skills/adbutils/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/adbutils?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.