ai-agent

Adbutils

Pure python adb library for google adb service.
1,071 stars226 forksPythonUpdated 8/10/2026100% free · open source
What it does

adbutils lets you control Android devices (install apps, run shell commands, transfer files) directly from Python without writing ADB command-line strings.

When to use it
  • 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.
Ready-to-paste prompt
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')
PY
Heads up: adbutils only talks to the ADB daemon; you must have the Android platform‑tools installed and the ADB server running, and on Linux you may need proper udev rules (or `sudo adb`) for USB devices.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/adbutils && curl -fsSL https://workflowstacks.com/api/skills/adbutils/claude-skill -o ~/.claude/skills/adbutils/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

Quick Actions
Details
Creator
openatx
Language
Python
Category
ai-agent
Published
3/19/2019

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.