Give your AI agent access to Android — over Wi-Fi or USB.
.
ADB SSH Tunnel is the Linux companion for autonomous Android workflows. Connect your Android phone to a trusted Linux computer by USB or through an already configured Wi-Fi ADB connection. Your AI agent can then reach that computer's local SDK ADB server through a restricted, key-only SSH gateway and carry out the Android tasks you assign.
.
You choose the trusted computers and import their OpenSSH public keys. Only the username adb and the exact forwarding target 127.0.0.1:5037 are accepted. SSH shell, PTY, SFTP/SCP, agent, X11 and reverse forwarding are rejected. The system SSH service stays independent. Keep the gateway on trusted networks and retain Android's ADB authorization.
.
The app provides the connection; use your own AI agent and review the access you grant it. Initial Android debugging and computer authorization still require confirmation on the phone. If your agent runs on the same computer as a USB-connected phone, ordinary USB ADB works without an SSH tunnel.
.
The adaptive GTK 4 / Libadwaita window has a large round power button, four status tiles and plain-language problem screens. The tunnel runs as your user: closing the window keeps an enabled tunnel running, and Start at sign-in brings it back after login.
.
Snap settings live separately under ~/snap/adb-ssh-tunnel and are never migrated from the Debian package.
.
Setup instructions and a prompt to copy for your AI agent: https://github.com/krotname/AdbSshTunnel