返回目录
模型与 MCP 插件

duo

CZ-ZL/duo

DSH plugin for testing and comparing candidate changes, with recorded results, decisions and costs. Adoption remains under user control. / 在 DSH 中测试和比较候选修改,记录结果、选择依据与费用;是否采用由用户决定。

Stars
1
Forks
0
Issues
0
更新
15 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:CZ-ZL/duo

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DUO

English · 简体中文

Product verification

DUO is a DeepSeek Harness (DSH) plugin that lets an Agent propose changes, compare the original and candidates using supplied tests, and return candidates, decisions and cost reports. The original stays in place; adoption is the user's decision.

Quickstart: download v0.6.3 → free run → saved report

Supports Linux and Node 24+; verified with DSH 0.1.2-rc.1 / Cordis 4.0.2. For a fresh host, follow installation. v0.6.3 Release includes the archive, checksum and verification receipt. DSH remains an upstream preview; DUO does not sandbox arbitrary providers.

A concrete task

The document-QA starter supplies a prompt, a deployment runbook, four questions and an evaluator. With authorized model access, DUO measures the original, generates one prompt change, executes it and checks the answers. The caller supplies model configuration and a budget; installation grants no spending authority.

In a recorded run, both original and candidate scored 4/4, so DUO retained the original. Three inner requests cost ¥0.00735072. No independent Slow/final test was present; this is not a claim of improvement. See the actual candidate, per-task checks and usage. Calling Agent inference and local compute are outside that inner cost.

Supported work

  • Experiments: prompt/persona overlays, custom evaluators and matching execution providers.
  • Two loops: Fast searches candidates; Slow acquires planned additional evidence and feeds it back. Basic mode also works independently.
  • Records: retain failures, decisions and costs; reuse compatible development history while keeping final results out of search.
  • Bounded execution: inspect plans and budgets, stop on unknown costs, and recover at supported settled checkpoints.

The configuration adapter covers one fetch setting. Other Targets need their own adapters and work providers. See current support, architecture and diagrams, and security.

Documentation and research

Purpose Entry
Agent tools and results Agent Guide, API reference
Extend or replace components Provider contracts
Understand the comparator Shared Simple method and diagram
Inspect research conclusions Experiment index
Develop DUO Contributing, testing, layout
Find other documentation Documentation map, releases

Simple is a strong single-loop baseline shared across experiments, documented independently of any one study. Completed task research supports retaining Simple rather than adopting the evaluated full or aligned DUO. The aligned study's strict scientific status remains UNRESOLVED. Product operation and method superiority are separate claims.

The two-loop idea was inspired by Wang et al.'s Self-Evolving Recommendation System. This independent adaptation does not inherit the paper's results. MIT license · origins and notices.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。