dsh-tool-bandit-search
Run the following command in DeepSeek Harness:
dsh plugin install siruignaw-sys/dsh-tool-bandit-search
Paste the following prompt into your AI chat to install this plugin:
To install this plugin in DeepSeek Harness, run the command dsh plugin install siruignaw-sys/dsh-tool-bandit-search with the full source code URL at https://github.com/siruignaw-sys/dsh-tool-bandit-search.
About this plugin
In web searches, users often face a dilemma: quick and simple queries yield fast answers but may lack comprehensive coverage, while broader, multi-angle queries provide better results at the cost of latency. Hard-coding a single strategy fails to adapt to all scenarios, leading to over-processing of simple questions or under-delivery on complex ones. The dsh-tool-bandit-search plugin addresses this by employing a contextual multi-armed bandit mechanism to dynamically optimize search strategy selection. It features two internal strategies—'quick' for single queries capped at 5 results, and 'thorough' for parallel multi-query variants merged to up to 10 results—leveraging Thompson sampling to balance exploration and exploitation. After each call, a reward is computed based on result quality (relative to the strategy's own cap) and speed (response latency), updating the bandit's beliefs in real time. This allows the search tool to learn and adapt to different query types without manual tuning, naturally favoring the strategy that performs best under current conditions. Ideal for frequent DeepSeek Harness users such as researchers, developers, or content creators, the plugin optimizes the trade-off between result quality and response time, integrating seamlessly into workflows to enhance efficiency and let models focus on core tasks rather than strategy decisions.
Use Cases
- Automatically selecting efficient queries for quick fact retrieval.
- Dynamically adopting thorough strategies for complex or multi-perspective questions.
- Balancing search latency and result quality in real-time interactive scenarios.
Best For
- Researchers and developers frequently using DeepSeek Harness for web searches.
- Content creators or data analysts seeking to automate and optimize search workflows.
- Technical users requiring efficient, adaptive search tools to enhance productivity.
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.