Introduction¶
DeepSeek Harness (DSH) agents run locally on your machine by default: files, tool permissions, and approvals all happen on the desktop. When you’re away from your computer, common approaches include SSH, remote desktop, or migrating the session to the cloud—either tying you to your desk or moving the execution environment off your local machine.
HarnessMate takes a different path: the agent still runs inside the local DSH, connected via a plugin to the self-hostable HarnessMate platform. You can send messages, transfer files, and approve or reject actions on your phone via the mobile app or a browser. The following section introduces the purpose, capabilities, and installation of the harness-mate-dsh plugin.
What Is This¶
harness-mate-dsh (npm package name harness-mate, current version 0.2.0) is a Cordis plugin for DeepSeek Harness, published by maintainer liaosiliangCodeLife under the MIT license. It connects the local DSH agent to the HarnessMate platform via WebSocket. The platform provides mobile and Web entry points but does not execute tools on your behalf remotely—tools still run on your computer under the permissions of your DSH profile.
The SkillHub directory classifies it as “client”; the GitHub repository has 0 stars (as shown on the directory page).
Core Features¶
The following capabilities are based on the project’s README:
- Chat anywhere: Send messages from the mobile app or Web UI, with streaming responses and input indicators.
- Bidirectional files: Files can be sent from the phone to the agent; the agent can also send files back.
- Mobile approvals: When the agent requests to execute a risky tool, a push notification is sent to your chat; you can approve or reject it on your phone without staying at your computer.
- Local-first: HarnessMate does not execute any tools itself; the model follows the DSH profile configuration and is independent of any specific model vendor.
- Platform support: macOS, Windows (as indicated by the README badges).
Installation and Activation¶
Prerequisites¶
- DeepSeek Harness desktop v0.2.0-rc.2 or newer, and it has been started at least once.
- Agent credentials from the HarnessMate platform:
bot_idandbot_key. The default platform address ishttps://harness.alltman.com. After logging in, go to Personal Space → Create Agent, copy both values; the key is shown only once. - The plugin depends on Node >=22.19.0 (see
package.json).
Method A: Install as a DSH plugin (Recommended)¶
Run the official command in a terminal:
dsh plugin --profile web add github:liaosiliangCodeLife/harness-mate-dsh
Once the package is published on npm, the README notes that the command can be simplified to dsh plugin --profile web add harness-mate.
Write the credentials into the profile configuration. On macOS the path is ~/.dsh/profiles/desktop/cordis.patch.yml, and on Windows it is %USERPROFILE%\.dsh\profiles\desktop\cordis.patch.yml:
- insert:
- id: harness-mate
name: 'harness-mate'
config:
gatewayUrl: 'wss://ws-agent.alltman.com:1443/ws'
botId: 'YOUR_BOT_ID'
botKey: 'YOUR_BOT_KEY'
Method B: Run the installation script¶
Download the zip from a Release, extract it, and run the installer in the plugin directory. It will register the plugin, write the profile, and back up the old configuration.
macOS:
cd harness-mate
./install.sh # or: ./install.sh <bot_id> <bot_key>
Windows:
powershell -ExecutionPolicy Bypass -File .\install.ps1
Final Step for Both Methods¶
Fully quit DeepSeek Harness (menu bar / tray → Quit, don’t just close the window), then restart it. Send a message to the agent from the mobile app or Web UI; a reply means the connection is working. Log path: ~/.harness-mate-trace.log (Windows: %USERPROFILE%\.harness-mate-trace.log).
For more detailed steps, FAQs, and full configuration instructions, see the repository’s INSTALL.md.
Configuration¶
Fields are written under config in the plugin’s cordis.patch.yml; restart DSH after making changes.
| Field | Default | Meaning |
|---|---|---|
gatewayUrl |
HarnessMate gateway | WebSocket gateway the plugin connects to |
botId / botKey |
— | The agent’s identity on the platform (required) |
workspace |
User home directory | Root directory the agent can read and write |
dmPolicy |
open |
open · allowlist (with allowFrom) · disabled |
approvalTimeoutMs |
300000 |
Tool approval timeout; timeout is treated as rejection |
maxReplyChars |
4000 |
Maximum length of a single reply |
forwardReasoning |
false |
Whether to forward the reasoning process to the chat |
Typical Usage¶
After installing and restarting DSH, everyday usage is: open the corresponding agent in the HarnessMate mobile app or browser, and issue commands just like chatting locally; upload files from your phone when needed; when the agent calls a tool that requires approval, tap approve or reject in the chat. The platform can also be self-hosted; the repository that pairs with the plugin is harness-mate-plat (Vue 3 + Flask + Go WebSocket gateway + Docker).
Use Cases and Notes¶
Who it’s for: Developers who already run agents with DSH locally and want to continue chatting, transferring files, and approving actions remotely while away, using the same local permissions and files.
Permissions and security: The plugin runs with the same privileges as the current DSH process; tools execute locally. Before installing, it is recommended to read the source code and the MIT license, and to keep botKey secure. The community plugin directory (such as SkillHub) is independent of DeepSeek / High-Flyer and is not an official app store.
Ecosystem: DSH-side plugins are injected via cordis.patch.yml; the same platform also has a Hermes channel adapter, located in the plugin/hermes/ directory of the harness-mate-plat repository.
Links¶
- SkillHub directory page: https://www.skillhub.cn/plugins/liaosiliangCodeLife/harness-mate-dsh
- GitHub repository: https://github.com/liaosiliangCodeLife/harness-mate-dsh