Introduction¶
When calling models in DeepSeek Harness (DSH), the conventional approach is to query multiple models sequentially, read each answer one by one, and then summarize the differences yourself. This requires switching between models multiple times, making multiple API calls, and risks overlooking divergences between models.
The dsh-llm-council plugin turns “seeking a second opinion” into a single parallel call. The plugin sends the same question to multiple models simultaneously, displays their answers side by side, and finally a “chair” model reads all answers and delivers a ruling.
Plugin Overview¶
dsh-llm-council is a DeepSeek Harness plugin belonging to the workflow category. It is maintained by Hans-wan and licensed under the MIT license. It encapsulates “multi-model comparison” into a single tool and a single command, allowing developers to directly initiate a multi-model council in a conversation or script.
Core Features¶
The plugin provides two usage modes: as a tool and as a command.
As a Tool¶
Call the llm_council function in a conversation or script with the following parameters:
| Parameter | Description |
|---|---|
question |
The question each member answers; required |
members |
Number of models to convene, 2–6; defaults to saved settings |
models |
Specific models to fill the seats, formatted as "provider/model" or just a model id; leave empty to distribute seats evenly across available providers |
chair |
The model responsible for writing the ruling; leave empty to use the session default |
The result is rendered as a council table, one column per member, with the chair model’s ruling below. The entire council is also retained in the session log and will be fully reproduced when replaying the conversation.
As a Command¶
Type /council followed by your question in the conversation:
/council Should I make the cache write-through or write-back?
This executes the same council process as the tool call, with the result output as plain text.
Calling from Other Tools¶
The plugin exposes the llm_council tool definition, so you can programmatically initiate a council in scripts or larger workflows, not limited to the chat interface.
Installation & Activation¶
Install the plugin:
dsh plugin add dsh-llm-council
Or install under a specific profile:
dsh plugin --profile <profile> add dsh-llm-council
Restart Harness after installation to load the new host half.
Configuration¶
Navigate to Settings → LLM council in the Harness UI to configure:
- Seats: Default number of models to convene (2–6)
- Chair: Whether the chair model writes the ruling
- Instruction: A fixed instruction prepended to every council question (e.g., “Answer in at most 150 words”)
- Models: The list of models eligible for a seat, selected from all providers configured in Harness
Settings are saved to ~/.dsh-llm-council/settings.json and re-read on every council invocation, so adjustments can be made without modifying profile files.
How It Works¶
- The host half registers a tool
llm_counciland a command/council, usingctx.llm.stream(...)to stream each member’s answer in parallel - Seats are prioritized to spread across different providers, avoiding three seats all pointing to the same model
- When a member fails, it is displayed as a failure column without affecting other members’ output
- The client half registers a tool view for
llm_council, rendering it as a council table without relying on external client code - Adapter failures arrive as terminal
finishchunks; the plugin uses this to determine whether a member actually produced content
Requirements¶
- DeepSeek Harness >= 0.2.2-rc.1
- Node >= 20.3.0
- At least two available providers/models configured in Harness
No runtime dependencies. The host half uses only Node built-in modules; the client half depends solely on the React instance already loaded by Harness.
Use Cases & Notes¶
Suitable when you need to compare multiple models’ perspectives on the same question, such as diagnostic confirmation, solution selection, or sanity checks before risk-sensitive changes.
The plugin runs with the current DSH process privileges. It is recommended to review the source code and license before installation.
Summary¶
dsh-llm-council encapsulates a “multi-model council” into a single call, allowing developers to quickly obtain multi-model comparison and a chair’s ruling in a conversation or script, without manually switching models, reading multiple answers, and summarizing differences on their own.
Plugin directory: https://www.skillhub.cn/plugins/Hans-wan/dsh-llm-council
GitHub: https://github.com/Hans-wan/dsh-llm-council