返回目录
模型与 MCP 插件

deepseek-harness-mobile

sorsama/deepseek-harness-mobile

Android companion for DeepSeek Harness | chat, goals, approvals & notifications from your phone, over your LAN. Kotlin + Jetpack Compose.

Stars
338
Forks
52
Issues
11
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:sorsama/deepseek-harness-mobile

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DSH Mobile, the DeepSeek Harness on your phone

DSH Mobile

An Android app for driving a DeepSeek Harness from your phone.

Website Latest release CI Android 8.0+ MIT

English · 中文 · हिन्दी · Español · Français · ไทย

The DeepSeek Harness is an AI coding agent that runs on your computer and has a web interface. DSH Mobile connects to that harness and gives you the same controls in a native Android app. You can start a task at your desk, then follow it, answer its questions and approve its commands from your phone.

You do not need a computer. On most Android phones the app can run the harness itself: tap Set up once and the phone has its own harness. If you already run the harness on a computer, the app connects to that one instead, over your Wi-Fi or from anywhere through a relay.

This is an unofficial, community-built app.

The project site has a one-page overview, and the wiki has the full user guide.

Screenshots

Connect Chat Trajectory Details
Connect screen with the harness address filled in A reply streaming in while the top bar says Working and the stop button is showing Trajectory tab listing every tool call of the first turn Details panel with the session, its model, context use and activity
Paste the link the harness prints, and you are connected and signed in. Replies stream in. Tool calls fold into one row you can open. Every tool call, turn by turn. The session's model, context, goal, plan mode and jobs.
Subagents Terminal Sessions Preview
A subagent's transcript with its findings and a box for a follow-up message A terminal on the harness computer showing a passing test run The sessions drawer grouped by project, with a drag handle on every row A README in full-screen preview, drawn like GitHub draws it, with badges, a table and a code block
Read what a subagent did and send it a follow-up. A real shell on the harness computer. Group sessions by project and drag them into your own order. A README drawn the way GitHub draws it, on its own screen.
Appearance Color picker Light theme Dark theme
Appearance settings with a custom accent color, text size and the haptics options The custom color picker with a hue strip, a brightness area and a hex field The chat in the light theme The chat in the dark theme
Seven accent colors or any color you like, and haptics you can try. Pick a color with the strip and the area, or type a hex code. Light, with a warm paper look. Dark, or follow the system.

What you can do

  • Chat with the agent. Replies stream in with their reasoning, code blocks and tool calls. You can attach photos and files, reference files with @, and run commands and skills with /.
  • Press and hold a message, a tool call or a file to see what else you can do with it. Copy it, fix a message you sent and send it again, or mention a file in your next message.
  • Answer what the agent needs from you: approve or reject a command, answer its questions, and review a plan before it starts.
  • Keep an eye on long work. Goals, todo lists, queued messages, background jobs and subagents each have their own view, and you can pause, steer or stop them.
  • Keep your sessions the way you like them. Drag them into your own order, or group them by project and fold the groups you are not using.
  • Find things with one search field that works the same everywhere: sessions, models, commands, plugins, scheduled tasks and workspace files.
  • Get a notification when a turn finishes, a goal completes or gets blocked, or the agent is waiting for an answer. The connection stays up in the background.
  • Browse and preview the workspace files, and open a terminal on the harness computer.
  • Open files full screen in Preview: CSV tables, JSON trees, notebooks, PDFs, pictures, video, audio and archives, with find in file. Save a copy puts any file on your phone.
  • Manage the harness itself: models, agent presets, plugins, scheduled tasks and archived sessions.
  • Make it yours. The Ink design comes in light and dark, with accent presets or a colour of your own, true black for OLED screens and a text size you can change.
  • Use the app in English, Chinese, Hindi, Spanish, French, Arabic, Bengali, Portuguese, Russian, Urdu or Thai. Right-to-left languages are supported.
  • Update the app from inside the app: it downloads the new version, checks it, and hands it to Android's installer.

The changelog lists what changed in each release.

No computer needed: the harness on your phone (Beta)

Connect Set-up Harness page Projects Approval
The Connect screen on This phone, with the built-in harness card and its Set up button The set-up page unpacking, with the explanation of how commands work on a phone The harness page with the command choice, projects and harness updates Projects on this phone, with a cloned repository A command waiting for Allow once or Don't allow, shown in full
A new install opens here. Download, check, unpack, start, sign in. Start, stop, commands, updates, storage, log. Clone, import, share and open in Files. With Ask me first, every command waits for you.

Beta. The built-in harness is new in 0.22.0 and was tested on emulators and one Samsung phone, so it may not work on every phone yet. A harness on your computer (Local network, Relay) or in Termux works as before.

The app can run the DeepSeek Harness inside itself: a small Linux system with Node.js and the harness, downloaded once, checked against a signature, and run with proot. It is the same harness you would run on a computer, with the same sessions and tools.

  • What it costs. About 155 MB to download the first time and about 1.1 GB on the phone (1.4 GB free while it sets up). The harness uses about 300 to 400 MB of memory while it runs. It needs a 64-bit phone with Android 8.0 or newer, and an API key for a model provider, which you add in the app (Settings, Models).
  • What it can do. Chats, agents and subagents, files and shell commands (git, node, npm, curl, more through apt-get), cloning Git repositories, and everything the app does with a harness on a computer.
  • What it cannot do. Run commands in a sandbox (Android allows none inside an app), reach your photos, downloads or other apps, or run a model on the phone. It talks to your model provider over the internet.
  • Commands. You choose what happens when the agent wants to run a command: Run it, or Ask me first, which shows each command in full and waits for Allow or Reject. Either way the harness stays inside the app; a command can use the internet and change the harness's own files and projects.
  • Your files. Projects live in the app and show up in the system Files app under DSH Mobile, so you can open them, copy files in and out, or share a project as a zip.
  • Updates. New harness versions arrive without an app update: the app tells you once and installs them when you tap Update (or by itself on Wi-Fi, if you turn that on). If a new version does not start, the previous one comes back. The app itself updates from Settings, About. The two are separate.
  • Keeping it running. Android stops background work. The harness page has a checklist (notifications, battery, the background process limit), and some phone makers need their own setting.

The full guide, with troubleshooting by the messages the app shows, is harness/ON-DEVICE.md.

Getting started

1. Install the app

Download the APK from the latest release and install it. You need Android 8.0 or newer.

2. Make the harness reachable

With the built-in harness (above) there is nothing to set up here: choose This phone and tap Set up. To use a harness on a computer instead, it only listens on that computer by default. Pick the setup that matches where your phone will be.

Same Wi-Fi as the computer

Start the harness on the computer's local network address. On harness 0.2.1-alpha.2 and newer:

dsh web --host 192.168.1.20

Use your computer's real address instead of 192.168.1.20. The harness prints a line like dsh web: http://192.168.1.20:3080/?token=…. In the app, choose Local network, paste that whole link into the address field (or tap the paste button), and tap Connect. The token in the link signs the phone in, and the harness then appears under Recent for next time. Older harness versions need a small patch instead of --host; see harness/README.md.

Away from home

Install dsh-relay, a harness plugin that adds a password, encryption and device pairing. Then choose Relay in the app and scan the pairing QR code. The Relay wiki page walks through it.

USB cable or emulator

Run dsh web on the computer and adb reverse tcp:3080 tcp:3080. In the app, choose This phone and sign in with the link dsh web printed.

On the phone itself

Choose This phone and tap Set up: the app downloads and runs the harness itself, then signs in. See harness/ON-DEVICE.md.

If you prefer your own Node and harness versions, the harness can also run in Termux (open Use Termux instead on the same screen), and the app can start and stop it and sign in for you. Setting up Node in Termux does not work on every device yet; read harness/TERMUX.md first.

Your own HTTPS reverse proxy

Paste its https:// address in Local network mode. The proxy encrypts the connection, but it does not check who is connecting. See harness/README.md.

3. Start working

Pick a session from the list (swipe in from the left edge) or start a new one. If a connection fails, the app says why, and the wiki's troubleshooting page is organized by those messages.

Security

Read docs/SECURITY.md before you connect over a network. A signed-in phone can do anything the agent can do, and the agent runs commands on your computer. Treat signing in like giving out shell access.

  • Local network mode checks the sign-in token but does not encrypt anything. Use it only on a network you trust.
  • Relay mode adds encryption and a pinned certificate, and works from outside your network.
  • Keep the dsh web link private. Anyone who has it can sign in until the harness restarts.
  • The built-in harness stays inside the app and cannot see your photos, contacts or other apps, but there is no sandbox for its commands: a command can use the internet and change the harness's own files, settings and saved API keys. Choose Ask me first to read each command before it runs.

Compatibility

DSH Mobile is tested against DeepSeek Harness 0.2.2-rc.1. Older harness versions back to 0.1.6 still work for the most part, but newer features need a newer harness. The compatibility table lists which app version goes with which harness.

Building from source

./gradlew :app:assembleDebug      # debug APK
./gradlew :app:assembleRelease    # release APK, signed when the keystore environment is set
./gradlew :core:jvmTest :app:testDebugUnitTest

To check the app against a real harness, build a harness checkout and run the conformance suite:

DSH_HARNESS_SRC=/path/to/deepseek-harness ./gradlew :conformance:test

Release builds take their version from the git tag. CONTRIBUTING.md covers the development loop, the module layout and the release steps.

Path Contents
app/ The Android app: screens, connection, notifications, translations
core/ Plain Kotlin protocol code: wire types, RPC and stream clients, reconnect logic, the session event fold
conformance/ Tests that start a real harness and check every call the app makes
mock-harness/ A small fake harness server for tests
tools/capture/ Records real harness traffic as test fixtures
harness/ Setup guides for the built-in harness, local network and Termux
docs/ Architecture, protocol notes, compatibility, security

The relay plugin lives in its own repository, sorsama/deepseek-harness-relay.

License

MIT. Third-party material bundled with the app is listed in THIRD_PARTY_NOTICES.md. DeepSeek Harness and its brand belong to their owners. This project is not affiliated with them.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。