DSH PUA plugin

A DeepSeek Harness plugin that makes the agent change approach after failures and verify results before finishing.

  • 71 ★ on the repository
  • Last commit
  • Apache-2.0
Plugin

Extended access

Why this level

  • Loop mode repeatedly runs the verification command and edits until the check passes.
  • The plugin injects extra instructions into the agent session.
All reasons and checks

michengai/dsh-pua

Install

Manual install

dsh plugin --profile web add @michengai/dsh-pua@latest --registry=https://registry.npmjs.org/

Replace the `web` profile with your own. Node.js 22.19 or newer is required. After installing, wait for the current task to end and reload DSH, then check `/pua help`.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Loop mode repeatedly runs the verification command and edits until the check passes.
  • The plugin injects extra instructions into the agent session.

This is third-party code. Review the repository files before installing.

What it does

DSH PUA brings the ideas of the PUA project to DeepSeek Harness: when the agent fails repeatedly, gives up too early or hastily declares work finished, the plugin steers it to change method, find the cause and bring evidence. Behaviour is configured through the interface: fifteen corporate-tone styles and the P7, P9, P10, praise and mom roles. For persistence there is a Loop mode: the agent keeps fixing until a verification command passes, the round limit is reached or the task is cancelled. An optional anti-cheat gate blocks reading hidden reference answers and adds a warning when tests, scoring or CI assets change. The authors note that the outcome depends on the model and the task.

Who it is for. DeepSeek Harness users whose agent often gives up or reports completion without verification.

Good fit when

  • The agent failed the same edit three times and repeats the old path.
  • Before handing in a task you need to check that tests really passed.
  • A fix runs in a loop verified with `npm test` and capped at ten rounds.
  • The agent must be stopped from peeking at hidden benchmark reference answers.

Not a fit when

  • The environment is not DeepSeek Harness, since the plugin is built for it.
  • The model fails from lack of context and style pressure will not help.
  • You need a neutral tone with no role styles.

Example request

Turn PUA on for this session with the default style and run a loop: fix the failing tests, verify with `npm test`, ten rounds at most.

Limitations

Node.js 22.19 or newer and DeepSeek Harness 0.2 are required; earlier 0.1 hosts work with plugin version 0.3.28. The outcome depends on the model and the task, and the authors do not guarantee solving every problem. A Loop without a verification command judges completion only from the model report, and a limit of 0 removes the round cap. Closing the session cancels the loop but does not roll back actions already taken. The community maintains the plugin on its own, and it is not an official DeepSeek or PUA product.

How to disable. Remove the plugin with DSH tooling, restart DSH and stop active loops with `/pua cancel-loop`.

FAQ

How do I turn the plugin on in a session?

Allow PUA in settings, then press the PUA button in chat or run `/pua`. A session is off by default, so injection starts only after you enable it.

Which commands exist?

`/pua on` and `/pua off` toggle the session, `/pua flavor huawei` sets a style, `/pua again` asks for a new approach, and `/pua done-check` and `/pua evidence` verify completion.

How do I run a loop until tests pass?

With `/pua loop "fix tests" --verify "npm test" --max-iterations 10`. Stop the loop with `/pua cancel-loop`.

Is a separate key needed?

No, the plugin uses the DSH model configuration already set up and uploads no feedback.

Is the plugin active for subagents?

Not by default. It can be enabled for subagents separately and also depends on the parent session switch.

Discussion

No questions or reviews yet.

Plugins

A DeepSeek Harness plugin: Claude Code, Codex, Antigravity and Grok dispatch work to DSH agents, progress in the native task panel

PluginExtended access212Repository stars

A DeepSeek Harness plugin for a standing team of agents with memory, projects, task owners and verification by a second member

PluginBroad access92Repository stars

dsh-baton hands tasks from Claude Code or Codex to a local DeepSeek Harness and brings the result back with checks.

MCP serverBroad access216Repository stars

A skill for coding agents that pushes them to finish the job: keep trying after failures, switch approaches and prove the result

SkillExtended access19.8KRepository stars
Official

DeepSeek Harness is an open-source AI agent from DeepSeek where every feature is a plugin. It runs in the browser, on macOS and on Windows.

CLIBroad access280.3KRepository stars

A plugin opening DeepSeek Harness, Codex, Cursor and Claude Code workspaces from a phone or browser over encrypted P2P.

PluginBroad access2.7KRepository stars

README in short

The `@michengai/dsh-pua` package belongs to an ecosystem of eleven DSH plugins listed in the README. The project builds on the original PUA and is distributed separately under Apache-2.0. Documentation is translated into eight languages, including Russian.

README badge

Report a problem