ChatGPTClaudeGrok / X / CursorGemini

dsh-agent-compare: A Blind-Pick Comparison DSH plugin for DeepSeek Harness

lijiaqi-ai-product-manager/dsh-agent-compare

Skills & AgentsVerified
Listed on 2026-11-03
Page last updated 2026-11-23

AgentCompare is a DeepSeek Harness plugin that builds two live implementations of one frontend request, lets you blind-pick after trying both, then reveals the model and strategy and safely applies the verified winner to your project.

dsh-agent-compare is a comparison-focused DSH plugin for DeepSeek Harness that hands one frontend request to two implementations and actually runs both. It addresses the fact that interface quality can only be judged by human experience while tests merely check whether something was done, starting both versions from the same baseline with their own dependencies, builds and ports shown side by side. You try both, pick blind, then see the strategy, actual model and token usage, and only versions that pass acceptance can be reviewed and safely adopted with repository verification and a recovery record.

How to Install

install
npmdsh plugin --profile web add dsh-agent-compare

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Skills & Agents
Platform
DSH Plugin
Author
lijiaqi-ai-product-manager
Distribution
Plugin

dsh-agent-compare Key Features

Two parallel builds per requestBlind A/B on live appsReveal model and strategyBound acceptance and safe applyUndo and recovery support
Listed on dsh-plugin.org

dsh-agent-compare Repo Summary

What Does It Do?

AgentCompare is a DSH plugin for DeepSeek Harness that builds two live implementations of the same frontend request, lets you try both and pick blind, and only then reveals which model or strategy produced each. It solves the problem that UI quality can only be judged by human experience while tests merely check whether something was done, collapsing the manual work of running two sessions, two dependency installs, two builds and two ports into one step. Maintained by lijiaqi-AI-Product-Manager under the MIT license, it is a 0.2.0 preview that currently supports root-level Vite frontends in local Git repositories and reuses the model already configured in DSH.

Core Features

  • Two live candidates: each version runs in its own git worktree copy with its own dependencies, build and port, shown side by side in two iframes that are interactive by default and can switch between desktop and phone viewports.
  • Two comparison modes: the default same-model/two-strategies mode keeps model, request and acceptance identical while varying the approach; the two-models mode lets you pick two configured models for the same requirement.
  • Bound acceptance and frozen verification: acceptance commands (typecheck, lint, test, build plus page checks) are fixed from the baseline with content hashes of scripts and configs, so a candidate that edits the acceptance files does not pass; installs are frozen to the lockfile and never fall back to a non-frozen install.
  • Blind pick, then reveal: candidates are labeled only A and B until you choose, after which the strategy, actual model and token usage are revealed along with whether the program's acceptance verdict matched your pick.
  • Safe adoption and undo: before writing, the plugin verifies the target repository and rehearses the combined result, persists a recovery record and holds a repository-level lock, never committing or touching the index; failed writes recover automatically and adoption can be undone later.
  • Comparison history and built-in sample: records keep the request, checks, choice, adoption and undo events with acceptance screenshots, and the built-in sample spins up a separate sample repository without touching your draft.

How to Use This Plugin?

After enabling it in DSH, click A|B at the lower-left of the main chat input to enter comparison mode: a settings bar opens above the input where you choose same-model/two-strategies or two-models and set a per-version time limit from 5 to 120 minutes (30 by default), saved with the current conversation. Then type your request in the original input and send it, with no commands or parameters needed, and an A|B card appears in the same conversation showing both live builds. Try both, pick one blind, see the revealed model and strategy, expand the code diff and click review-and-adopt; files are written only after the target repository and checks are confirmed, and after adoption you can continue the main conversation on top of the result. Versions that fail acceptance can only be saved to a branch for inspection. It suits interface and interaction work such as search and filtering, form flows, landing pages, dashboard layouts and component redesigns, while single-answer bug fixes or refactors are better handled by one agent with tests.

How to Troubleshoot This Plugin?

When a candidate hits its time limit without declaring completion, the plugin stops it and still seals and verifies whatever was written, with the card showing how many rounds it ran and what it was doing. If the build fails, only a development-mode preview is offered and marked as observation-only; dependency changes, a missing lockfile or skipped basic page-load checks produce warnings rather than a pass. During adoption, if a file changed by the candidate was also edited by you after the baseline, the plugin blocks outright and writes nothing; failed writes recover automatically, and after a host interruption reopening shows a needs-attention state where you can restore the pre-adoption state or keep current files. If a copy's Git directory pointer, links or ownership marker are tampered with, sealing and preview reopening are refused until the copy is repaired as described in the official documentation.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: lijiaqi-ai-product-manager/dsh-agent-compare. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ