DuckFleet: A Master Controller Driving Multiple DSH Machines via Natural Language

Preface

Running agents in DeepSeek Harness (DSH) typically involves single-machine sessions: tasks are completed on a single machine. When you have multiple development machines, test servers, or a home NAS, you often have to launch DSH separately on each, duplicate commands, or switch back and forth between SSH and local sessions. DuckFleet is a community plugin dsh-duck-fleet (repository new-sailfish/duck-fleet), maintained by new-sailfish and categorized as a Workflow on SkillHub. It is installed only once on the Controller Machine, registering multiple machines into the same “Fleet.” Each machine automatically corresponds to a task dispatch tool. Afterward, you can use natural language to specify “a specific one / several / all” to execute tasks, with the controller side dispatching concurrently and aggregating the results.

What is this

DuckFleet’s positioning can be summarized by a sentence in the README: A fleet of machines, one command. It is a DSH plugin, not an orchestration service installed on the controlled machines; controlled machines only need sshd, the installed dsh, and an acp profile. The controller machine initiates remote ACP sessions via SSH and registers a tool name for each machine (derived from the label, e.g., Home Server → pc_home_server). The machine list is centralized in $DSH_HOME/fleet.json, which can also be visually edited in Settings → Fleet. After adding, deleting, or modifying host fields, you do not need to restart DSH to re-register the provider and dispatch tools (note that the panel UI requires a DSH restart to refresh after initial installation or plugin upgrade; see installation instructions below).

The npm package name is dsh-duck-fleet, the version in current materials is 0.4.0, and the license is MIT. The Node engine requirement is ^22.19.0 || >=24.

Core Features

Fleet Manifest & Instant Registration

  • Manifest file: $DSH_HOME/fleet.json; shared default values are in defaults, and single machine fields include label, host, user, port, toolName, remoteCommand, platform, etc. (see README “Machine Fields” for details).
  • After adding a machine, the ACP provider and dispatch tool for that machine are registered immediately without needing to restart the process (server-side tools are already active; the client-side “Fleet” settings page requires a DSH restart to load the new bundle).

Adding Machines & Verification

  • Settings → Fleet: Auto-fetch Config (Recommended) — generates a prompt sent to the controlled machine, where the remote agent checks the environment and reports back, and the controller automatically writes and verifies it; or Manual Entry / JSON view. After saving, click Test (SSH + ACP handshake).
  • The prompt can be sent via Copy/Paste or a LAN Link (formatted like http://192.168.1.10:<port>/abcd, temporary, lasts ~1 minute, accessible only to the host retrieving the prompt).
  • Agent-side tools: fleet_list, fleet_add, fleet_remove, fleet_test, fleet_setup, fleet_defaults, fleet_version, etc.; the model can call fleet_list first and then concurrently invoke tools for various machines in the same turn.

Dispatch Methods

Multiple machines execute concurrently. Example (from README):

You: Have all machines report current CPU and memory usage

DuckFleet: → Concurrently dispatches to 3 machines → Aggregates results back from each

Natural language examples:

Intent Example Phrasing
Single Ask desktop-01 to report disk usage
Multiple Have both laptop-01 and desktop-01 check the Node version
All All machines, pack up the log directories and send them to me

For long-running tasks, you can use run_in_background: true when invoking, and then collect results with job_output. Each dispatch automatically appends environment and working specifications relevant to that machine’s platform, so you don’t need to repeat these when writing tasks.

Session Pruning (Experimental, Windows)

Addresses the issue of ACP dispatch sessions accumulating in “Ungrouped” on Windows controlled machines by providing fleet_prune (and a panel entry). Not implemented for macOS / Linux; calls will be rejected immediately. The cleanup process briefly pauses the controlled machine’s DSH for about 30 seconds, during which dispatch will be interrupted.

Installation & Enablement

The plugin is installed only on the Controller Machine. Install from npm (command from source material):

dsh plugin --profile desktop add dsh-duck-fleet

After installation, a DSH restart is required for the client-side “Fleet” settings page to appear. If the fleet_* tools are already available, it indicates the server-side half is loaded; a restart is only needed if the panel is still the old version.

An equivalent approach is to declare dependencies and include dsh-duck-fleet in dsh.profile.bundles within the profile’s package.json. The material also mentions installing from a local path dsh plugin --profile desktop add /path/to/duck-fleet (you need to clone the repository yourself; cloning steps are not expanded upon in this article).

Typical Usage

1. Install on Controller and Open Fleet Page

After installation and restart, open Settings → Fleet. The plugin will prompt the system with registration usage instructions and expose management tools like fleet_list / fleet_add.

2. Prepare Controlled Machines

Controlled machines require: sshd, dsh, an acp profile (the README emphasizes the profile cannot be omitted, otherwise sandboxing in SSH unattended sessions may prevent subprocess execution), and the controller’s public key written to the controlled machine. The above steps can be completed by the controlled machine’s agent itself using the prompt generated by Auto-fetch Config.

3. Add a Machine

In the panel, select Auto-fetch Config, copy the prompt or use a LAN link; or say in conversation:

Use fleet_add to add a machine: Name laptop-01, Host 192.168.1.10, User dev

Non-Windows controlled machines should explicitly set platform in the config (default can be assumed as windows). remoteCommand usually needs to be the absolute path to dsh on the controlled machine (as dsh is often not in the PATH for non-interactive SSH).

4. Dispatch Tasks

Confirm with fleet_test or actually run a command once to verify it can work (a successful handshake does not equal command execution capability). Then, in the controller session, simply name the machine or say “all machines” in natural language.

Use Cases & Caveats

Who it is for: Multiple DSH-installed machines under your control within the same trusted internal network; users who want to dispatch tasks concurrently via conversation from a single controller DSH instead of manual SSH operations machine by machine.

Capability Boundaries (by design, not defects):

  • Designed for Intranet, LAN links have no TLS and no account system; do not reverse proxy to the public internet.
  • Trust is built on SSH private keys; the controlled end ACP defaults to permission: allow, tasks run with SSH user privileges, and the controller side is responsible for the commands.
  • fleet.json stores hosts, users, private key paths, etc. in plaintext.
  • No task queuing, retries, or cross-machine file proxying; if not transferring files, ask the remote agent to handle it within the task.

Before Installing: The plugin runs with the current dsh process. Before installing, you should review the GitHub Source Code and the MIT license to ensure it meets your security and compliance requirements. The DSH ecosystem is “everything is a plugin”; the SkillHub Directory Page is a community site and has no official affiliation with DeepSeek / Hiu-Fung.

Conclusion

DuckFleet consolidates multi-machine DSH into a single fleet.json and a set of dispatch tools: install once on the controller, register upon adding machines, and drive single, multiple, or the entire fleet to execute concurrently using natural language. To try it out, install from the npm package dsh-duck-fleet, or refer to the official documentation and issues:

  • Directory Page: https://www.skillhub.cn/plugins/new-sailfish/duck-fleet
  • GitHub: https://github.com/new-sailfish/duck-fleet
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye