Introduction

DeepSeek Harness (DSH) has incorporated agent loop as a plugin capability, but the actual slot remains a single entry point. When multiple agents use it simultaneously, they often still fall onto the same loop.

dsh-loop-dock addresses this issue of “one harness, multiple agent loops.” Instead of redesigning the agent loop, it provides a loop dock: register loops, select loops, bind agents to loops, and delegate execution to the corresponding driver.

What Is This

euuuuuuzer/dsh-loop-dock is a plugin for DeepSeek Harness, currently at version 0.1.0 under the MIT license.

The current state is pre-alpha but functional. Its purpose is to allow multiple agent loops to coexist within a single DSH harness, enabling different agents to choose different loops.

Core Features

dsh-loop-dock provides the following capabilities:

  • loop registration: Register loops with the dock.
  • loop selection: Choose which loop to use.
  • agent-loop binding: Bind agents to the selected loop.
  • driver delegation: Delegate execution to the driver.
  • strategy loop protocol: Provide a protocol for strategy loop integration.
  • driver loop protocol: Provide a protocol for driver loop integration.
  • default headless driver: Provide a default headless driver.
  • official standard strategy slot: Provide the official standard strategy slot.

Installation and Activation

First, prepare the runtime environment:

  • Node >=22.19
  • DeepSeek Harness 0.1.0-rc.6
  • pnpm

Follow the Quick Start to install the local plugin package:

  1. Download dsh-loop-dock-0.1.0.tgz from the latest GitHub Release.

  2. Install the local package in the web profile:

dsh plugin --profile web add ./dsh-loop-dock-0.1.0.tgz
  1. Start DSH web:
dsh web

Local Model-Free Check

After completing the installation above, you can perform a check that does not rely on models or network.

  1. Open Settings → General → Default driver.
  2. Select fake-driver.
  3. Create a new session and send any message.

fake-driver is a local debugging driver that does not call models or access the network; it returns [FAKE-DRIVER].

The bundled patch registers fake-driver alongside the real default driver. This check is for observing loop and driver routing immediately.

Applicable Scenarios and Notes

Suitable for the following situations:

  • Choosing different loops for different agents within DSH.
  • Verifying loop registration, selection, binding, and driver delegation first.
  • Using the default headless driver or the official standard strategy slot for local integration testing.

Note the following:

  • This is currently pre-alpha; while functional, do not treat it as a stable production component.
  • The plugin runs with the current dsh process permissions. Before installation, it is recommended to review the source code and ensure the MIT license meets your usage requirements.
  • It disables the official line and takes over a single AgentFactory slot; the default driver is a vendored headless derivative.

Links

  • GitHub: https://github.com/euuuuuuzer/dsh-loop-dock
  • Directory page: https://www.skillhub.cn/plugins/euuuuuuzer/dsh-loop-dock (this address comes from plugin prompts and is not displayed in the scraped README/package.json)