Introduction¶
In DeepSeek Harness (DSH), you often have multiple Providers and models already configured. However, orchestrating them to engage in multi-round debates around a single topic with different personas, while aggregating context and scores into an archivable report, usually requires manually stitching together call chains, tracking history, and calculating costs. The following introduces the community plugin dsh-roundtable-harness (Maintainer: HSM266, Category: Workflow). It transforms the process of “enumerating locally registered models → sharing historical utterances → six-dimensional judge scoring → real-ledger cost-performance → Markdown/docx battle reports” into a fixed pipeline. It uses the same implementation in both the settings page and Agent tools.
What is this¶
dsh-roundtable-harness is a bundle plugin for DSH: it automatically reads all registered Providers and models in the DSH LLM service. You bind a provider/model and persona for each participant to conduct a controllable number of rounds of multi-turn discussion on the same topic; every historical utterance is fully packaged for the next speaker. After the discussion concludes, a judge model performs weighted scoring across six dimensions, and a separate cost-performance ranking is generated using the real ledger from dsh-cost-meter (Experimental). Outputs include a Markdown “Cyber Roundtable Battle Report” and an exportable docx. Concluded discussions can also be “continued” to add more rounds.
The plugin does not store API endpoints or keys in its own configuration; credentials and Provider configurations inherit from the DSH core. The current package version is 0.3.14 (subject to the repository’s package.json), License MIT, declared DSH compatibility range >=0.2.0-rc.1 <0.3.0-0, and runtime requirement Node.js >= 20.
Directory Page: SkillHub Plugin Page. Source Code & Docs: GitHub — HSM266/dsh-roundtable-harness.
Core Features¶
Participants & Context¶
- Unlimited number of participants; each participant’s independent persona is injected into the system prompt’s high-priority slot and mirrored to
personas/<id>.md. Modifying the file takes effect as well. - Supports avatar images (local paths or
http(s)URLs) for use in docx exports (e.g., cover page); remote fetching has security restrictions regarding timeout, size, and private network addresses. - Context sharing is structural: every call includes “Topic + All Historical Utterances”.
Rounds, Budget & Judge¶
maxRoundsis configurable between 1–20; the settings page allows temporary overrides.- When context estimation exceeds
tokenBudget, earlier rounds are compressed into summaries by the cheapest model, retaining the original text of the most recent N rounds; if compression fails, hard truncation is applied and logged. - The judge can be overridden via environment variables
JUDGE_MODELandJUDGE_PERSONA; if unset, it defaults to resolving to the qwen route. - Six-dimensional scoring: Aggressiveness / Logic / Persona Fidelity / Fun Factor / Strategy / Depth. Weights are adjustable in the settings page, and the total score is the weighted average of these six dimensions.
- If none of the participant IDs returned by the judge can be matched, it is recorded as a Degradation. The battle report and docx will be marked “Word count estimation, not model scoring”; all sections declare that AI judge conclusions are not authoritative.
Cost-Performance & Battle Report¶
- Cost-performance is a separate leaderboard: The cost-meter ledger is read before and after each call, attributed by
provider:model; if attribution fails for any round, that participant is excluded entirely, with the reason explained. If cost-meter is not installed, it degrades to a proxy metric based on output tokens, which is indicated in the battle report. - Discussions automatically write out
roundtable-<timestamp>-战报.mdupon conclusion; docx files containing covers, avatars, round-by-round details, and exception sections can be exported. - Built-in sensitive word filtering (Chinese/English lexicons + custom words/regex) with replacement upon match; 429 / 5xx errors terminate the entire session; “Terminate Discussion” interrupts in-flight requests via AbortSignal and skips the judge, but completed utterances are still written to the report.
UI & Agent¶
- Settings Entry: Settings → Roundtable; there is also a draggable floating widget that opens the same panel.
- Optional registration of three Agent tools:
roundtable_start,roundtable_status,roundtable_export(controlled byexposeToolsincordis.patch.yml).
Installation & Activation¶
The README emphasizes: To ensure Harness resolves modules from the profile’s package scope, install via tarball, npm, or GitHub. Do not use local directory mounts like dsh plugin add ./dsh-roundtable-harness (link:). If failed to import occurs after installation or version change, you must restart dsh web. When installing via tarball, the profile records the absolute path of the tgz; do not delete this file after installation.
Install from GitHub¶
dsh plugin --profile <PROFILE> add github:HSM266/dsh-roundtable-harness
If pnpm ≥10 refuses to execute the git dependency’s prepare, follow the prompt to add allowBuilds: dsh-roundtable-harness: true to the profile’s pnpm-workspace.yaml and re-run add; it is recommended to pin the version to a commit: github:HSM266/dsh-roundtable-harness#<sha>.
Install from npm¶
dsh plugin --profile <PROFILE> add dsh-roundtable-harness
Install from Local Tarball (Self-use)¶
Run npm install && npm pack in the plugin source directory to obtain dsh-roundtable-harness-<version>.tgz, then:
dsh plugin --profile <PROFILE> add ./dsh-roundtable-harness-<version>.tgz
dsh --profile <PROFILE> --dump-config | grep roundtable
After installation, restart dsh web and open “Settings → Roundtable” to confirm the bundle is active.
Optional Dependencies: It is strongly recommended to install dsh-cost-meter simultaneously for the real-ledger cost-performance ranking; docx is a runtime dependency (loaded lazily when exporting docx).
Configuration Essentials¶
Main configuration file (no API Key fields):
$DSH_HOME/roundtable.json # When DSH_HOME is set
~/.dsh/roundtable.json # Fallback when unset
Persona mirror directory: $DSH_HOME/roundtable/personas/<id>.md. See examples/roundtable.example.json in the repository for examples.
Common environment variables:
| Variable | Function |
|---|---|
JUDGE_MODEL |
Override judge model (formats like provider/model); judge is forced enabled when set |
JUDGE_PERSONA |
Override judge persona |
ROUNDTABLE_OUTPUT_DIR |
Override export directory |
ROUNDTABLE_LEDGER_SETTLE_MS |
Milliseconds to wait before reading ledger, default 2200 |
Plugin row configuration snippet (cordis.patch.yml):
- id: roundtable-harness
name: 'dsh-roundtable-harness'
config:
exposeTools: true
injectPromptSection: true
promptOrder: 1
Typical Usage¶
- Configure the keys for various Providers and models in DSH first; install dsh-cost-meter as needed.
- Install the plugin as described above and restart
dsh web. - Open “Settings → Roundtable”: Test connectivity in the Provider directory; in “Participants”, select provider/model, fill in persona, and optional avatar for each participant; in “Judge” and “Six-Dimension Weights”, set the judge and weights; in “Discussion Parameters”, fill in the topic, rounds,
tokenBudget, etc. - In the “Start a Session” panel, enter the topic and click start; during the process, you can view the real-time utterance stream and leaderboards. You can “Terminate Discussion” if needed, or “Continue Previous Discussion”, “Export docx”, “View Battle Report” after it ends.
- If
exposeToolsis enabled, you can callroundtable_start/roundtable_status/roundtable_exportfrom the Agent side, which follows the same logic as the settings page.
Use Cases & Notes¶
Who it is for: Developers or teams who need to compare the viewpoints and writing styles of multiple configured models within the same DSH environment and wish to produce structured battle reports and docx archives; classified as a “Workflow” type plugin, not a single-point model wrapper.
Permissions & Security: The plugin runs with the permissions of the current dsh process. It initiates multi-round LLM calls, reads/writes local configurations and reports, and fetches avatar URLs under allowed conditions. Please read the source code and the MIT license before installation to ensure compliance; sensitive word and content filtering can reduce some risks but do not replace business-side review.
Ecosystem Notes: The DSH community plugin directory (such as SkillHub) is an independent site and has no official affiliation with DeepSeek / HFQY. The facts in this article are based on the plugin README and package.json.
Conclusion¶
dsh-roundtable-harness connects multi-model, shared context, six-dimensional judging, and cost-meter ledgers into a reproducible roundtable process, suitable for controlled multi-round “same-stage” comparisons within DSH. For further information, please visit the SkillHub Directory Page and the GitHub Repository.