dsh-devflow: Running Multi-Agent Delivery Workflows in DSH Sessions

Preface

When performing complex development in DeepSeek Harness (DSH), common practices include repeatedly modifying prompts, manually splitting tasks, or tracking progress personally within a single session. As tasks accumulate, it becomes unintuitive to track who is responsible for which part, whether the current state is “development” or “audit,” or if concurrency limits have been reached. DevFlow (@xiaoxie-ide/dsh-devflow) is a workflow plugin released by the maintainer BinXie-lixiangdehua. It organizes a DSH session into a multi-agent orchestration with a visible control plane: role division, state machines, scheduling tools, and a right-side panel are implemented together, with state persisted in the .devflow directory within the workspace.

What is this

DevFlow is a multi-agent workflow orchestration plugin for DeepSeek Harness. The version noted in the current README is 1.5.1 (2026-10-11). Repository: BinXie-lixiangdehua/dsh-devflow; Community directory page: SkillHub Plugin Page. The license is MIT.

Core Features

The following introduces capabilities explicitly stated in the README and does not expand on usage not found in the provided materials.

Roles and Organization

  • Commander: Planning and dispatching.
  • Fixed Staff: Fixed roles such as architect, backend, frontend, and code-auditor.
  • Temporary Sub-agents: Created according to tasks, used and discarded (ephemeral).

State Machine and Persistence

The process stages are: Dispatch → Execution → Audit → Rework → Acceptance. Each step corresponds to a persisted business entity. The directory is located at <workspace>/.devflow, accompanied by an append-only journal.

Scheduling Plane (devflow_* Tools)

Provides the devflow_* series of tools (task / scope / assignment / dispatch / transition / roster, etc.). The concurrency limit is 5; tasks exceeding this will queue. Each hand-off includes scheduling diagnostic information.

Visualization Panel

Mounted on the DSH right sidebar: Each edge on the canvas represents a dispatch; the organization bar displays fixed / temporary and real-time concurrency N/5; nodes can be clicked to open an inspector for details.

Environment Requirements

Item Requirement
Node ^22.19.0 or >=24
pnpm Any relatively new version
dsh Installed and editable profiles (e.g., ~/.dsh/profiles/web); Target range >=0.1.7-rc.1 <0.3.0 (dsh 0.1.5 is no longer supported)
OS Windows is the platform explicitly tested in the README; Presets use tool-pwsh on win32 and tool-bash on other platforms

Installation and Activation

The official recommendation is a single PowerShell command (verbatim from source; clones first then executes the install script):

git clone https://github.com/BinXie-lixiangdehua/dsh-devflow.git "$env:USERPROFILE\.dsh\local-plugins\dsh-devflow"; & "$env:USERPROFILE\.dsh\local-plugins\dsh-devflow\install.cmd"

If the directory already exists, you can run install.cmd separately within the plugin directory (which internally calls install.ps1).

Common parameter examples:

# Preview files to be modified only, do not write to disk
.\install.ps1 -DryRun

# Specify dsh directory and profile, or skip preset steps
.\install.ps1 -DshHome 'C:\Users\me\.dsh' -Profile 'web'
.\install.ps1 -SkipPreset

# Install specific tag/branch
.\install.ps1 -Ref 'v1.5.1'

Five things the installation script modifies (README summary): Place the plugin in ~/.dsh/local-plugins/dsh-devflow (default); Run pnpm install inside the plugin directory (to avoid profiles linking without missing @deepseek-ai/* peers); Register the link: dependency for @xiaoxie-ide/dsh-devflow and dsh.profile.bundles in the profile’s package.json; Run pnpm install again within the profile; Deploy agent presets according to the detected DSH generation (paths differ for 0.1.5 and 0.1.7+). Overwritten files are backed up with a timestamped .bak-devflow-* extension.

After the above steps, restart dsh, create or open a session, and select DevFlow in the preset to complete activation.

Typical Usage (From Official Instructions)

The materials do not provide a “one-sentence conversation example,” but the workflow after enabling the preset can be summarized as:

  1. Initiate a requirement under the DevFlow preset; the Commander plans and dispatches.
  2. Advance task, scope, assignment, dispatch, transition, and roster via devflow_* tools; tasks automatically queue when concurrency exceeds 5.
  3. View dispatch edges, organization, and concurrency usage in the right-side DevFlow panel; open the inspector for nodes if necessary.
  4. Check state and journals under <workspace>/.devflow in the project workspace to trace auditing and rework phases.

If you need to modify src/ from source and publish, the repository convention order is: pnpm typecheck → pnpm build → pnpm check → pnpm test; after modifying lib/, you need to bump the ?rev= in the preset or restart dsh to load new modules (as per README).

Uninstallation (Brief)

  1. Delete ~/.dsh/.agent-presets/devflow/.
  2. Remove the dependency and bundle items from the profile’s package.json, or restore package.json.bak-devflow-<timestamp>.
  3. Run pnpm install in the profile directory again, then delete the plugin folder.

.devflow is located inside the project workspace and needs to be cleaned up manually.

Use Cases and Notes

Who is it for: Developers already doing multi-step delivery on DSH who want fixed roles + state machines + visual scheduling, rather than purely chat-based task splitting.

Permissions and Security: The plugin runs with the permissions of the current dsh process; please review the GitHub source code and MIT license yourself before installation. Do not blindly enable it in production environments without checking.

Ecosystem Note: The DSH community plugin directory (such as SkillHub) is an independent site and has no official affiliation with DeepSeek / High-Flyer; the facts in this article are based on the repository README and package metadata.

Conclusion

DevFlow turns a dsh session into a small delivery organization with a Commander, fixed staff, and temporary sub-agents, utilizing .devflow to persist the state machine, and employing devflow_* tools and the right-side panel to provide an observable scheduling plane. For further information, visit the SkillHub Directory Page and the GitHub Repository.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye