Your Android device, one console away.

An extensible CLI/TUI toolbox for controlling connected Android devices on Windows, Linux and macOS. Device interaction goes through pluggable device tools, actions are configuration-driven, an AI mode generates new ones from a plain-text description, and a built-in emulator manager creates and runs Android Virtual Devices without touching Android Studio.

Get the binary See how actions work
windows/amd64 · linux/amd64 · darwin/amd64 · darwin/arm64
v1.0.3 · released via GitHub Releases, kept current with self-update
atbx — dashboard
android-toolbox sdk_gphone16k_x86_64 (emulator-5554) Android 17 (SDK 37) Battery 100% 10.0.2.16
All LogsShellFilesApps…
View Logs (Snapshot)
[Logs] Shows the last 500 logcat lines from the device
Follow Logs Live
[Logs] Streams logcat live until stopped with Ctrl+C
Clear Log Buffer
[Logs] Clears the device's logcat buffer
View Logs (Snapshot)
Shows the last 500 logcat lines from the device
Category:Logs Tool:adb Command:logcat -d -t 500
[enter] run
enter run· / search· tab next category· a AI action· ctrl+t switch tool· ctrl+g switch device
01 / FEATURES

Everything the device work needs

[TUI]

Three tools, one dashboard

Healthcheck → tool selection (Devices, APK Info, Emulators) → a two-pane dashboard where the action list stays visible on the left while the right pane's border color reflects its state: preview, params, confirm, running, done. ctrl+t switches tools anywhere, cleaning up running streams as it goes.

[TOOLS]

Portable tooling

The binaries an action needs — today adb and scrcpy — are fetched from their official sources and isolated in their own tool cache. No dependency on a system-wide install.

[YAML]

Configuration-driven actions

Logs, file transfer, shell commands, screen mirroring — every action lives in an editable actions.yaml. A new action is a new entry, no code required.

[AI]

AI mode

Describe what you need in plain text and the configured AI provider generates a matching action — with a preview and confirmation step before anything is saved. New providers plug into a registry.

[AVD]

Emulator manager

Create, list, start/stop and delete Android Virtual Devices from inside the app, with live GPS/network/battery simulation and a richer detail view than any physical device gets. See Emulators.

[SAFE]

Backup & recover

Every change to actions.yaml or settings.yaml is preceded by an automatic timestamped backup, restorable at any time.

[i18n]

Multilanguage support

Built on a translation table, so new languages can be added without touching the rest of the app. Switchable from the Settings screen, where the AI provider, timeouts and resolved tool paths also live.

[UPDATE]

Self-update, always in view

A background check (at most once every 24h) watches for new android-toolbox, adb and scrcpy releases and surfaces a dismissible notice on the healthcheck screen and dashboard header — applying an update always stays a manual, explicit step.

APP TOOLSDevices · APK Info · Emulators
DEVICE TOOLSadb · scrcpy
AI PROVIDERClaude Code CLI
UI LANGUAGESEnglish · German
Currently implemented — each of these is built to grow beyond what's there today.
02 / INSTALL

Build and run

$ go build -o android-toolbox ./cmd/android-toolbox
$ ./android-toolbox

On first run a healthcheck verifies the configuration, the required tools and the AI provider. Anything missing is fetched once from its official source, and the app offers to register itself system-wide on PATH — including the short alias atbx, or to stay fully portable. From then on self-update keeps the binary and its tools current.

Release binaries are unsigned, so macOS Gatekeeper and Windows SmartScreen warn on first run. The README has the one-line workaround.

CONFIG DIRECTORY
actions.yaml  Actions, editable, seeded on first run
settings.yaml  AI provider, refresh intervals, …
ai/system_prompt.md  Base prompt for AI mode
state.json  First-run / install status
.backup/  Timestamped automatic backups
tools/  Downloaded, portable adb/scrcpy binaries
tools/sdk/  Bootstrapped Android cmdline-tools + emulator/system images
logs/  Log file
03 / ACTIONS

One YAML entry is a new tool

Every action is a YAML entry with a stable id, a category, the tool it runs through and a command. Placeholders like {serial} and declared params are substituted at run time. Invalid individual entries are reported by the healthcheck without invalidating the rest of the file. The full schema is documented in the README.

format
Highlights streamed output: logcat colors by log level, keyvalue bolds keys, packages strips the prefix.
live_preview
Runs automatically on highlight — for fast, side-effect-free reads. Ignored for anything that takes params, needs confirmation or hands over the terminal.
actions.yaml
- id: battery-info        # unique, stable
  name: "Battery Status"  # shown in the TUI
  description: "Shows detailed battery status"
  category: Device        # grouping in the list
  tool: adb               # how it runs
  command: "shell dumpsys battery"
  params: []
  confirm: false           # ask before running
  interactive: false       # terminal handover
  format: keyvalue         # highlight output
  live_preview: false
04 / CLI

Scriptable without the TUI

android-toolbox healthcheck
Runs all checks once
android-toolbox devices [-v]
Lists connected devices
android-toolbox tools update
Updates adb / scrcpy if a newer version is available
android-toolbox run <action-id>
Runs an action non-interactively
android-toolbox ai "<request>"
Generates an action via AI and saves it
android-toolbox backup / recover
Manual backup, or list/restore a backup
android-toolbox self-update
Checks for a new version and installs it
android-toolbox apk-info <path>
Analyzes an .apk file
android-toolbox emulator create
Creates an AVD, downloading its system image first if needed
android-toolbox emulator start <name>
Starts an emulator by AVD name
android-toolbox dangerous-reset
Deletes all local android-toolbox data and reinstalls everything
A selection — the full, current command reference lives in the README.
enterrun action
/search
tabnext category
aAI action
eedit action
bbackups
ssettings
xdismiss update notice
ctrl+gswitch device
ctrl+tswitch tool
qquit
05 / EMULATORS

A full AVD manager, built in

Creating and running Android Virtual Devices needs a real SDK. If ANDROID_HOME / ANDROID_SDK_ROOT already has one, it's used directly; otherwise android-toolbox emulator setup bootstraps a bundled copy — AVDs land in the standard ~/.android/avd location either way, so they stay visible to Android Studio too.

The AVD list shows specs parsed straight from config.ini (RAM, CPU cores, storage, density), plus — while running — live simulation of GPS position, network speed/latency and battery level/charging, all driven through the emulator's own console. A missing system image downloads automatically with a live progress bar, and an AVD whose image was removed shows up clearly as Broken instead of failing silently.

emulators — Pixel_8_API_35
status  ● running
specs  4 cores · 4096 MB RAM · 8192 MB storage
image  android-35 · google_apis · arm64-v8a
gps    48.2082° N, 16.3738° E
network  LTE · 40 ms latency
battery  87% · charging
$ android-toolbox emulator stop Pixel_8_API_35
06 / APK INFO

APK analysis without the SDK

Reads package name, version, min/target SDK, requested permissions, hardware features, activities and — if present — the signing certificate from the APK Signing Block v2/v3.

Deliberately uses no external tools, no aapt, no Android SDK — a pure Go implementation of Android's binary XML and signing block formats, so analysis works identically on every supported platform.

apk-info
$ android-toolbox apk-info app.apk --json
package  com.example.app
version  3.4.1 (3401)
sdk      min 24 · target 35
signing  v3 · SHA-256 9f:2c:…:4e
BUILT WITH AI ASSISTANCE

This project was developed with significant help from AI tools. The usual caveats apply: review anything before you rely on it, especially destructive actions (confirm: true entries, dangerous-reset, AI-generated commands) and anything touching a device or data you care about.