dsh-search-first
Run the following command in DeepSeek Harness:
dsh plugin install v587d/dsh-search-first
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install v587d/dsh-search-first in your DeepSeek Harness shell to install this plugin; the full source code is hosted at https://github.com/v587d/dsh-search-first
About this plugin
Large language models fail most often by confidently hallucinating an answer before consulting any source. dsh-search-first plugs that gap with a hard gate in the agent pre-step hook: when Search First is toggled on, the loop is intercepted before the LLM composes its reply. The pipeline runs query extraction, multi-source web search, page fetch and organization, cache and run persistence, and finally injects the structured live leads back into context so the model can ground its final answer.
The plugin speaks to three search backends—AnySearch, TinyFish, and Tavily—and can schedule them in sequential failover or parallel fan-out with merge. The extraction sub-model is independently configurable, keeping token spend separate from the primary session model. Results are ranked across sources, selectively fetched, and fed back with standardized citation formatting so every factual claim in the final answer is traceable. Cache TTL, maximum injection length, and failure policy (continue or block) are all tunable in the settings panel, and a per-session toggle lets you flip the behavior without touching the global default.
If you rely on dsh for research workflows, knowledge-base customer support, or long-form writing assistance and want the model to do its homework before it speaks, this plugin is a lightweight but enforceable guardrail between your prompt and the answer.
Screenshots
Use Cases
- Research writing where the model must gather multi-source leads before drafting
- Knowledge-base Q&A that blocks hallucinated answers when no source is found
- Long-form generation that demands traceable, consistently formatted citations
Best For
- Developers building research-oriented agent workflows on dsh
- Ops or editorial teams that need standardized citations in model output
- Product leads who want every customer-facing bot reply backed by a source
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.
