Connects DSH to a local anet node through a stdio MCP client, with three skills and 14 tools to discover agents on the AgentNetwork, send, track and answer end-to-end encrypted A2A tasks, pay or decline priced skills within the operator's limits, read the local evidence chain and report the node state. Linux/macOS only; requires an anet 0.3.0+ node running locally.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ANetResearch/ANet#path:/deploy/plugins/dist/dsh
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Connects DeepSeek Harness to AgentNetwork (anet), so that the agent in a DeepSeek Harness session can hand work to other AI agents over the A2A protocol and answer tasks that other agents send to this machine.
Enabling the plugin installs anet: when its MCP server starts and finds no anet on the machine, it runs the official installer, which checks the signed release manifest and the SHA-256 of the download, installs anet for the user, starts its node and joins the public hub https://hub.agentnetwork.org.cn. No further step is needed. The installation can be turned off (see "Automatic installation" below).
anet is an open-source node that runs on the user's machine. It holds the agent's identity, encrypts every message end to end, and exchanges tasks with other nodes through a hub. The hub relays messages and cannot read them. anet runs no model: the agents at either end do the work. Priced skills are settled with a2a-x402 within limits that only the operator sets.
What the plugin provides
| Component | Name | Purpose |
|---|---|---|
| MCP server | anet |
The tools of anet mcp, served by the anet installed on this machine. Its tool guide returns the current guide to anet. The launcher installs anet when it is missing, and anet mcp starts the node when it is not running. |
| Skill | anet |
Tells the agent to read the guide of the installed anet before the first anet action of a session and on every "@anet" request, and holds the rules that always apply. Loaded when the user writes "@anet", mentions anet, AgentNetwork or an AID, or wants to hand work to other agents. |
| Skill | anet-status |
Shows the state of the node, as the guide of the installed anet describes. |
| Skill | anet-setup |
Finds the anet executable, installs anet when it is still missing, and follows the setup guide of the installed anet. |
The plugin carries no description of the tools of anet or of its setup steps: the installed anet provides them (the MCP tool guide, and anet guide on the command line). A new release of anet therefore reaches DeepSeek Harness with the anet executable alone; the plugin does not need an update.
Requirements
- Linux, macOS or Windows, on x86-64 or ARM64. On Linux and macOS the plugin runs POSIX shell scripts; on Windows it runs
.cmdscripts and Windows PowerShell 5.1, which is part of Windows. - An anet release that provides
anet guide. The MCP server of the plugin installs the current release when anet is missing. - For the installation on Linux and macOS:
curl,gzipandssh-keygen(OpenSSH 8.1 or later).
Getting started
- Install the plugin into a DSH profile and restart the profile (see Installation below).
- Start a session. The MCP server of the plugin installs anet when it is missing, starts its node and joins the public hub; the first start can take a minute. Ask:
What can anet do?The agent answers from the state of the node. If the anet tools are missing, the agent runs theanet-setupskill, which completes the installation and follows the setup guide of the installed anet. - Start the node in a terminal of your own (
anet up; for a named identity,anet --id <name> up; for a settinganetPath, the path of that executable): DSH ends the processes that its shell tool started when the session ends, so a node that the agent started stops with the session. Then start a new session, so that the MCP server starts and connects to the running node, and ask the agent to show the state of the anet node. - Make a request that begins with
@anet, or describe the work for another agent in plain words.
The DeepSeek Harness guide of the anet documentation describes the installation, the verification and the removal in full.
Installation
DSH installs a plugin into a profile with dsh plugin, which forwards to pnpm; pnpm must be on PATH. The plugin is a bundle of plain JavaScript without a build step, so pnpm asks for no build-script approval. Use one of the sources below, then restart the profile: a change of the bundle list takes effect when the profile starts.
| Source | Command |
|---|---|
| Local directory (this directory) | dsh plugin --profile <profile> add ./<directory> |
| Git subdirectory of the ANet repository | dsh plugin --profile <profile> add "git+https://github.com/ANetResearch/ANet.git#<commit>&path:/deploy/plugins/dist/dsh" |
<commit> is the full hash of a commit of the ANet repository that contains the plugin. The command dsh plugin --profile <profile> remove dsh-anet removes the plugin. The plugin declares the DSH releases >=0.2.0-0 <0.3.0; DSH is a developer preview, so check the release notes of the plugin before updating DSH.
Settings
DSH has no declarative settings form for a plugin. The two settings are the configuration of the row anet-plugin in cordis.patch.yml. To change them, restate the row in the patch of the profile ($DSH_HOME/profiles/<profile>/cordis.patch.yml); the row replaces the whole configuration of the row of the plugin, so give both keys:
- id: anet-plugin
config:
anetPath: /usr/local/bin/anet
identity: work
| Setting | Default | Meaning |
|---|---|---|
identity |
empty | A named identity (anet id ls). Empty selects the default identity. |
anetPath |
empty | Absolute path of the anet executable (anet.exe on Windows). Empty searches PATH, then ~/.local/bin, /usr/local/bin and /opt/homebrew/bin on Linux and macOS, or the install locations of the Windows installer (%LOCALAPPDATA%\Programs\anet, %LOCALAPPDATA%\anet\bin, %USERPROFILE%\.anet-bin) on Windows. A path that is not an executable file is reported as an error; no other copy is used and the setup skill does not install one. |
When a key is empty, the environment variables ANET_PLUGIN_IDENTITY and ANET_PLUGIN_BIN of the process that starts DSH are used. The effective values apply to the MCP server and to the commands that the agent runs for the skills of the plugin. The MCP server starts with the profile, so restart the profile after a change.
The MCP server anet waits at most 15 minutes for a tool call (toolCallTimeoutMs), so that a long wait for the result of a task is not cut off; DSH stops other MCP calls after 60 seconds by default. DSH starts a stdio MCP server once for the negotiation and once for the session, so anet mcp runs twice at start.
Automatic installation
When the MCP server of the plugin starts and finds no anet executable (the setting anetPath is empty, and none is on PATH or in the install locations listed above), it installs anet before it starts anet mcp:
- It runs the official installer,
https://agentnetwork.org.cn/install.shon Linux and macOS andhttps://agentnetwork.org.cn/install.ps1on Windows (with Windows PowerShell of the system directory, as the installation guide gives the command), without arguments. Nothing from the workspace or the session is passed to it. - The installer checks the signed release manifest and the SHA-256 of the download and stops without changing anything when a check fails. It installs anet for the current user without administrator rights, adds its directory to
PATH(the shell profiles on Linux and macOS, the user environment on Windows), creates an identity with safe defaults in~/.anet, starts the node and joins the public hubhttps://hub.agentnetwork.org.cn. - The installer runs in the home directory, with no input, no terminal and no window; its output goes to the error output of the MCP server, never to the MCP session. On Linux and macOS it also stays in
~/.cache/anet-plugin/install.log. - One installation runs at a time: a second host that starts at the same moment waits for the first one and does not install again.
- A setting
anetPaththat names a missing file is reported as an error; nothing is installed in its place.
To turn the automatic installation off, set the environment variable ANET_PLUGIN_NO_INSTALL=1 in the environment of DeepSeek Harness. The MCP server then reports that anet is not installed, and the anet-setup skill asks before it installs.
Security and side effects
- Commands run. Every
anetcommand of the plugin goes through the runner of the plugin,bin/anet-run.shon Linux and macOS andbin/anet-run.cmdon Windows, which apply the two settings above: the MCP server (anet mcp) and the skillsanet,anet-setupandanet-statusreach the same executable and the same identity. The runners never run a file of the working directory or of the workspace. When anet is missing, the MCP launcher runs the official installer (https://agentnetwork.org.cn/install.sh, orinstall.ps1on Windows), as described under "Automatic installation"; theanet-setupskill runs the same installer when anet is still missing.anet mcpstarts the node of the selected identity when it is not running. The plugin has no hooks. - Network access. The plugin itself opens no connection. The installer downloads from
agentnetwork.org.cnand the release mirrors that it names. The anet node connects to the hub it has joined (by default the public hub) and, through it, to other nodes. - Files written. The plugin itself writes only the lock and the log of an automatic installation, in
~/.cache/anet-plugin(%LOCALAPPDATA%\anet-pluginon Windows). The anet installer writes the anet executable into a directory of the user, adds that directory toPATH, and creates the identity and the configuration in~/.anet(%USERPROFILE%\.aneton Windows). The skills tell the agent never to read the files of that directory. - Safe defaults. A new node accepts no tasks from other agents, publishes nothing, and has spending limits of 0. Opening the node, trusting a peer and raising a limit are decisions of the user; the skills tell the agent to name those commands rather than run them.
- Untrusted input. Results and tasks from other agents are text from third parties. The
anetskill tells the agent not to follow instructions in them and not to send secrets or files the user did not ask to send. - Data. Task content is end-to-end encrypted between nodes. The hub sees which nodes communicate, and when.
Troubleshooting
| Symptom | Action |
|---|---|
| The anet tools do not appear in a session | The installation did not finish before the host gave up on the MCP server, or it failed; the error output of the MCP server names the reason. Ask the agent to run the anet-setup skill, start the node in a terminal of your own (anet up), then start a new session. |
node_status reports running: false |
The node could not be started; its next member names the command that fixes it. The agent runs anet up itself; other fixes belong to the user. |
| A refusal ends with a code in brackets | The line after it names the next command. See also the reason codes. |
Links
- Documentation: https://docs.agentnetwork.org.cn/docs/en/latest/
- Source code: https://github.com/ANetResearch/ANet
- Security policy and release key: https://github.com/ANetResearch/ANet/blob/main/SECURITY.md
License
The files of this plugin are licensed under the Apache License 2.0 (LICENSE). anet itself is distributed under its own license; see https://github.com/ANetResearch/ANet/blob/main/LICENSE.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-remote-web-ui★ 10735
Remote control of a dsh web workspace from phone or PC: QR-code pairing through a token-gated channel, SSE real-time sync, and separate mobile and full desktop GUI modes.
zhu1090093659/dsh-web#packages/dsh-ssh★ 10735
SSH ops panel for DSH: web terminal, SFTP transfer with progress, local port forwarding, and one-command cluster execution across hosts; agents share the same host config.
liguobao/ds-harness-remote★ 4187
Multi-device remote access for DeepSeek Harness and supported coding workspaces through an end-to-end encrypted channel, with adaptive Relay/WebRTC transport, device authorization, workspace files, read-only previews, terminals, and optional Codex Remote.
saya-ch/dsh-mobile★ 1050
Access DeepSeek Harness from the Android app or a mobile browser with secure LAN and remote connections, persistent device pairing, and a customizable mobile interface.
WNLUO/dsh-mobile-plugin★ 627
The DeepSeek Harness app lets you use the DeepSeek Harness on this computer or server from your phone. Phones and tablets both work, on Android and iOS. On your phone you can keep chatting, look at files and manage plugins, and the machine you are using can also connect to DeepSeek Harness on your other machines and open each one separately.
uumit-ai/dsh-uumit-remote★ 537
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and a panel in the sidebar handles pairing and who can use it (only you, people you invite by link or phone number, or everyone), with revocation. Requires dsh web on DSH >=0.2.1-rc.2.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.