In the development practice of DeepSeek Harness (DSH), dynamically adjusting runtime capabilities without restarting the process, and configuring differentiated thinking-mode routing for different models, are key to building complex agents. yjh051108/dsh-routing-suite aims to solve this problem by combining a runtime injector with routing presets, providing a practical solution.

Core Features

This plugin includes three components: a runtime injector, thinking-mode routing presets, and a graded task protocol.

  • Runtime Injector: Provides a complete dev_* toolset, supporting runtime injection, hot reload, sidecar regularization, unloading, and routing self-healing, allowing DSH processes to be managed without a restart.
  • Thinking-Mode Routing Presets: Includes the built-in router-standard and router-spec presets. The routing logic classifies by model persona, has been tested across scenarios P1–P23, and supports close-range guidance and a single-task three-anchor mechanism.
  • Graded Task Protocol: Provides the graded mode, establishing a session-level two-tier task protocol. The flow includes brainstorming and task generation, specification-based planning, check-in-based execution, group finalization, and final validation, with red-team gates and audit endpoints.
  • AI Self-Optimization Tools: Provides tools such as dev_router_status, dev_router_mode, and dev_mode_subagent, allowing the routing state and mode to be self-optimized through AI instructions.

Installation and Configuration

One-Click Installation
Use the official installation command to add the full suite (including injector, preset, and graded) to DSH:

dsh plugin --profile web add github:yjh051108/dsh-routing-suite

Manual Installation
If step-by-step installation is required, first install the runtime injector, then manually install the routing presets.

  1. Assemble the runtime injector:
    dsh plugin --profile web add .\injector
  1. Install the routing presets (note: DSH only scans first-level subdirectories; do not copy the entire preset directory):
    # 复制 router-standard
    Copy-Item -Recurse .\preset\router-standard $env:USERPROFILE\.dsh\.agent-presets\router-standard

    # 复制 router-spec
    Copy-Item -Recurse .\preset\router-spec $env:USERPROFILE\.dsh\.agent-presets\router-spec

Enabling Graded Mode
If you need to use the graded task protocol, you can directly install its release package:

dsh plugin --profile web add graded/dsh-external-dsh-graded-mode-0.0.1-rc1.tgz

Notes

  • DSH Version Requirement: This plugin is compatible with DSH versions >=0.1.0-rc.6 <0.2.0.
  • Developer Preview: DSH is currently in the developer preview stage. The official notes indicate that breaking changes may occur, and the plugin contents may also be adjusted accordingly.
  • Directory Structure: When installing presets, ensure they are copied flat into the .agent-presets directory to avoid creating an additional nested level inside the preset directory.
  • License: This plugin uses the MIT License.

Ecosystem Background

The core philosophy of DSH is “everything is a plugin.” This plugin is maintained by the community and has no affiliation with DeepSeek or the official High-Flyer team; it exists solely as part of the developer toolchain.