# DSHA

> An Android APK that runs the full DeepSeek Harness coding agent on a phone — no root, no Termux

- Category: AI Coding / Coding-Agent Harnesses & Runtimes
- Language: Java
- Licence: MIT
- Repository: https://github.com/DSH-APP/DSHA
- Website: https://dsha.cc
- Canonical page: https://ai-tldr.dev/tools/dsha/

## In short

DSHA is an Android launcher for DeepSeek Harness (`@deepseek-ai/dsh`), DeepSeek's official coding-agent harness. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in Java and licensed MIT. To get started: install the Standard APK.

## Overview

DSHA is an Android launcher for DeepSeek Harness (`@deepseek-ai/dsh`), DeepSeek's official coding-agent harness. The harness is written for glibc Linux, and on Android it runs into native modules that will not compile, SELinux blocking `link(2)`, sandboxes that will not start and a desktop-only front end. DSHA wraps all of that into a single MIT-licensed APK: install it, let it prepare the environment, open the web UI and configure a model — no Termux, no root and no commands to type.

Inside the APK is an offline Ubuntu 24.04 arm64 root filesystem run under proot by default, with proroot as an option, plus Node.js 24, pnpm 10 and the harness itself. Because it is a full glibc environment, `apt`, interactive PTYs, Python, git and native modules work as they would on a server, and upstream dsh plugins run unmodified. A six-step install pipeline checks and repairs each component on its own, and managed updates boot a new environment in isolation before committing it.

The phone also becomes the agent's hands. Through a token-gated local bridge the agent can read the screen via the accessibility service, tap, type and swipe, take screenshots, pair wireless ADB without Shizuku, send notifications and exchange files, with every capability off by default and device commands filtered through an allowlist. The README is direct about the limits: arm64 only, a roughly 279 MiB APK, and no bash sandbox isolation, because Android's policy refuses the user namespaces bubblewrap needs — dsh's own permission modes are the only guard.

## What it does

- One APK with a bundled offline Ubuntu 24.04 arm64 environment, Node.js 24 and DeepSeek Harness — no root or Termux
- Mobile-adapted web UI (dsh-web-mobile), LAN access from a laptop or tablet, and a streaming overlay that shows agent output and lets you approve commands
- Real PTY terminal with an extra key row, multiple tabs and a simple-terminal fallback
- Device tools for the agent: accessibility screen control, wireless ADB pairing, notifications, files and opt-in sensors, behind a command allowlist
- In-app plugin manager for dsh plugins from GitHub links, archives or the dsha.cc catalogue
- Scheduled and scoped backups, config snapshots, startup diagnostics and an independent recovery environment

## Getting started

DSHA needs an arm64 Android phone; the Standard build targets Android 11 and later. Download the APK from the project's GitHub Releases page and verify it against the published SHA-256.

1. Install the Standard APK

   Download the latest Standard APK from GitHub Releases and install it. The first launch extracts the bundled offline environment.

2. Open the web UI and pick a model

   After extraction, the web service starts in the background from the home screen. Open the web UI when it is ready and configure your model provider there.

3. Pair wireless ADB (optional)

   To let the agent operate the phone beyond the accessibility tools, enable Wireless debugging in Developer options, choose 'Pair device with pairing code', and enter the IP:port and six-digit code under 'Device capability grants' in DSHA. Check the pairing from the built-in terminal.

```bash
adb shell id
# uid=2000(shell) means success
```

4. Give the agent the device skills

   Copy the bundled skill packs into the agent's skill directory so it knows how to use the device shell and screen OCR actions.

```bash
cp -r agent-skills/device-shell ~/.agents/skills/
cp -r agent-skills/screen-ocr-operator ~/.agents/skills/
```

## When to use it

- Running DeepSeek Harness as a coding agent on a phone when no laptop is at hand
- Letting an agent automate the phone it runs on — reading screens, tapping and installing apps
- Hosting a dsh instance on a spare Android device and using it from a laptop browser over Wi-Fi
