Introduction¶
In the DeepSeek Harness (DSH) plugin ecosystem, integrating device-side capabilities into agents is a common requirement. Existing solutions often require manual IP and port configuration, or only support one-way screen mirroring, lacking real-time device state awareness and an interactive control interface. This article introduces a DSH plugin that automatically discovers devices, provides live screen streaming with tap interaction, supports AI vision-based decision-making, and enables bidirectional screen casting.
What It Is¶
This is a Android phone / TV remote control console plugin for the DSH right sidebar. It provides automatic connection, live screen with tap interaction, AI vision-based control, screen casting, and APK file transfer, along with a set of control tools for agents. The same package provides both the Host half (ADB routes under /api/phone-remote) and the browser half (a tab in the right sidebar).
Maintainer: femnn
Category: Client
Core Features¶
- Auto-discovery & connection: mDNS auto-discovers the wireless debugging port on phones and ADB broadcasts on TVs. Once connected, devices are remembered by name per model, so they can be re-found even after an IP change.
- AI vision-based control: Describe a task to the LLM, and it will actually look at screen screenshots before deciding the next step (where to tap / what to type / which key to press), then check the result after execution and self-correct with retries — not keyword-based blind translation.
- Interactive live screen: Low-resolution screen stream (~10 fps). Tapping the image taps the phone.
- Works on both phones and TVs: The same control panel; TVs use directional keys, phones use touchscreen.
- Bidirectional casting: PC screen → phone/TV; Device A’s screen → Device B.
- No residuals: Both streaming and reinstall automatically reap capture processes and restore device screen-on settings. It won’t lock up the device encoder or leave the phone screen permanently lit.
Installation & Activation¶
Install the local directory via DSH’s Plugins section, or use plugin_manager:
install_bundle → target = <absolute path to this directory>
Requires local adb (auto-detected) and ffmpeg (auto-detected; needed for live screen and casting). You can specify adbPath / ffmpegPath / downloadDir in the plugin configuration.
Device-side requirements: “Wireless debugging” must be enabled and this computer authorized; TVs must have ADB broadcast enabled.
Typical Usage¶
- Panel: The “Remote Control” tab in the right sidebar. Select a device on the left, live screen in the center, control panel on the right; “All Devices” shows a device card grid and group chat.
- AI control: Type a command in the “Control with AI” box (e.g., “Open Bilibili and search for Jay Chou”), and the model will perform step-by-step screen-reading operations. The panel displays what it “saw → did”.
- Agent tools:
phone_devices,phone_apps,phone_launch,phone_command,phone_cast, etc.
Use Cases & Notes¶
Suitable for developers who need to integrate Android devices or TVs into agent workflows with real-time screen feedback and tap control. The plugin runs with the current dsh process privileges; review the source code and license before installing.
In Short¶
This plugin provides device-side capabilities in the DSH right sidebar, including auto-discovery, live screen with tap interaction, AI vision-based control, and bidirectional screen casting. It is well-suited for scenarios where Android devices or TVs need to be incorporated into agent workflows. For details and source code, see the catalog page and GitHub.
- Catalog: https://www.skillhub.cn/plugins/femnn/dsh-plugin-remote-control
- GitHub: https://github.com/femnn/dsh-plugin-remote-control