dsh-superagent: A Proactive Coding Agent for DeepSeek Harness

Introduction

DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture, enabling developers to extend capabilities through plugins. However, in real-world engineering, getting an agent to proactively monitor a single GitHub repository, evaluate requests, and execute tasks still requires considerable configuration and engineering effort. DSH’s official catalog only includes the @deepseek-ai/dsh-* series, leaving the community with no standard way to publish plugins outside of it.

dsh-superagent is a proactive coding agent targeting a single GitHub repository, packaged as a DSH plugin. It listens to GitHub events and optionally to Feishu, creates tickets for policy-compliant requests, executes tasks in isolated DSH sessions and directories, and returns results (such as PRs) through the original conversation. It works by minimizing human intervention and maximizing delivered value, making it well-suited for teams that want agents to handle day-to-day development tasks.

What Is It

  • Name: dsh-superagent
  • Maintainer: DASHAN-0079
  • Positioning: A community plugin adapted for DeepSeek Harness 0.2.2-rc.3, packaging the “Super-agent” prototype into an installable DSH bundle
  • Core capabilities: Listening to GitHub/Feishu, evaluating requests by policy, creating tickets, executing in isolated sessions and directories, returning results via the original conversation, and providing a web dashboard for pending tasks

Core Features

1. Event Source Listening

  • GitHub: Monitors events from a specified repository and identifies requests that require handling
  • Feishu: Optionally listens to Feishu messages, incorporating them into the evaluation and execution pipeline

2. Policy Evaluation and Ticket Creation

  • Evaluates requests against team-defined policies, processing only authorized work
  • Converts authorized requests into Tickets, registering them as pending tasks in the DSH system

3. Isolated Execution Sessions and Directories

  • Each Ticket is executed in its own dedicated DSH Session
  • Each execution takes place in an independent directory, preventing interference between tasks
  • Execution results are returned through the original conversation (e.g., creating a Pull Request)

4. Web Dashboard

  • Provides a visual dashboard displaying tasks that require human intervention
  • Enables team members to quickly review current pending items and execution status

5. Adaptation and Testing

  • Adapted for DeepSeek Harness 0.2.2-rc.3
  • Includes 5 source code changes, new tests, and provides equivalence evidence against the official prototype
  • Documentation covers philosophy, domain model, authorization, execution, prompting, dashboard, deployment, architecture, and a Cookbook (adding a Source)

Installation and Enablement

Install from the Plugin Index

The plugin is listed in the community plugin index:

https://raw.githubusercontent.com/DASHAN-0079/dsh-plugin-market/main/index.json

Steps:

  1. Open the DSH Plugins page and select the Discover tab
  2. Click Manage index sources… (or Add index source in the empty state)
  3. Paste the URL above and click Add
  4. Find Superagent in the Discover list and click Install
  5. After installation, restart the DSH host

Manual installation command:

dsh plugin add "git+https://github.com/DASHAN-0079/dsh-superagent-adapt.git#v0.1.1"

Using a Pre-built Tarball

Each release ships with a pre-built bundle, so no build step is required:

dsh plugin add https://github.com/DASHAN-0079/dsh-superagent-adapt/releases/latest/download/dsh-superagent.tgz

Building from Source

When building from source, the plugin must be added to the DSH workspace:

  1. Add dsh-superagent as a sub-package in pnpm-workspace.yaml
  2. Set linkWorkspacePackages: true at the top level
  3. Run pnpm update --filter dsh-superagent
  4. Run pnpm build in the plugin directory
  5. Reinstall or restart the DSH host

The build locks versions of engines.dsh, @deepseek-ai/dsh-* dependencies, cordis@4.1.0, schemastery@3.19.0, and other pinned packages.

Configuration and Deployment

Before the plugin starts, you need to configure the GitHub token, model roles, and permissions. Refer to SETUP.md in the repository for the full walkthrough. It is recommended to let DSH’s coding agent handle the configuration automatically:

Read SETUP.md in this repository and set up dsh-superagent with me.

It will ask questions one by one, present a complete plan, and then automatically install and configure all components.

Typical Usage

  1. Install the plugin: Add dsh-superagent using any of the installation methods above
  2. Configure GitHub: Provide a GitHub token with repository access and the required permissions
  3. Configure policies: Define in DSH which requests can be processed and when tickets can be created
  4. Initiate a request: Issue a task to the agent in the original conversation, or send a request via Feishu
  5. Review pending items: Check current tickets and execution status through the web dashboard
  6. View results: The agent completes the task in an isolated session and returns the result via the original conversation (e.g., a PR)

Use Cases and Caveats

  • Best for: Teams that need proactive development work on a single repository; scenarios where agents handle repetitive, standardized tasks; development pipelines requiring unified policy and permission control
  • Caveats:
  • The plugin runs with the permissions of the current DSH process. Review the source code and license (MIT) before installation
  • The code is a research prototype, not an official DeepSeek product, and may contain bugs or engineering inconsistencies
  • You must manually enable the plugin manager (Discover) feature via Settings → Plugins

Conclusion

dsh-superagent provides a workflow solution for integrating a “proactive coding agent” into DeepSeek Harness. By listening to events, evaluating against policies, executing in isolation, and providing feedback, it enables agents to deliver more value with limited human intervention. For further details, visit the plugin catalog page and the GitHub repository.

  • Catalog page: https://www.skillhub.cn/plugins/DASHAN-0079/dsh-superagent-adapt
  • GitHub: https://github.com/DASHAN-0079/dsh-superagent-adapt
羽毛球分组比赛记分
小程序二维码

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

Xiaoye