AprilWizard/dsh-multi-cot

Multi-CoT plugin for DeepSeek Harness: multi-sampled test-time compute, internal voting, and a plan/execute/re

Multi-CoT gives dsh an approximation of parallel test-time compute by repeatedly generating and sampling reasoning chains: samples byte-identical calls explore several chains, internal voters pick the best result, and that result drives execution. Modes: off, first-plan (first chain's plan wins), and workflow (full multi-sample voting). Verified against the published @deepseek-ai/dsh-* npm packages with unit + integration + baseline/workflow comparison tests, real cache experiments, and end-to-end workflow runs.

Coding & Development ★ 2 updated 2026-08-13 ✅ runtime-tested
View on GitHub ↗

Install

npm install @aprilwizard/dsh-multi-cot

npm package @aprilwizard/dsh-multi-cot 0.1.0 (registry-verified 2026-08-27): npm install @aprilwizard/dsh-multi-cot, then compose it in a cordis.yml (- id: multi-cot, name: '@aprilwizard/dsh-multi-cot', config: {mode: workflow, samples: 3}). Peer requirements: @deepseek-ai/cordis, dsh-agent, dsh-invariants, dsh-llm, dsh-session, dsh-system-prompt. Caveat per README: published dsh rc.1 packages peer-depend on the unpublished type-only @deepseek-ai/dsh-type-meta, so npm's automatic peer install fails — install with pnpm (autoInstallPeers: false) or wait for newer dsh packages.

Compatibility

DeepSeek Harness with the @deepseek-ai/dsh-* rc.1 packages (npm 0.0.1-rc.1 + @deepseek-ai/cordis 4.0.1).

Details

Recent updates

multi-sample reasoning chains; internal voting; off/first-plan/workflow modes; sample count config; verified against published dsh rc.1 packages.

FAQ

What does Multi-CoT actually do?
Samples several reasoning chains (byte-identical calls), has internal voters pick the best result, and drives execution from that result — an approximation of parallel test-time compute.
Which modes are available?
off, first-plan (use the first chain's plan), and workflow (full sampling + voting).
Why might npm install fail?
The published dsh rc.1 packages peer-depend on the unpublished type-only @deepseek-ai/dsh-type-meta; install with pnpm (autoInstallPeers: false) or wait for newer dsh packages.

Alternatives

xuluobo-dsh-reasoning-settings · cyberlieflife/dsh-model-thinking · googol-dsh-llm-fallbacks

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins