Preface

DeepSeek Harness (DSH) uses a plugin-based architecture, aiming to expand the capability boundaries of intelligent agents through modularization. When performing web searches, results from a single search engine may be biased or incomplete. To address this pain point, the plugin bryan-cmf/dsh-cross-search provides multi-engine parallel retrieval and cross-validation, helping developers build more reliable search workflows.

Plugin Overview

  • Plugin Name: bryan-cmf/dsh-cross-search
  • Author: Bryan-cmf
  • Category: Web tools
  • Open-source License: MIT

Core Features

This plugin mainly solves the following problems:

  1. Multi-engine cross-validation search: Simultaneously calls multiple sources such as Brave, Tavily, DuckDuckGo, and Wikipedia, and compares result consistency.
  2. Parallel queries: No need to wait serially; initiates multiple query requests simultaneously to improve retrieval efficiency.
  3. URL deduplication: Automatically handles URLs in query results, removing duplicates and tracking parameters.
  4. Confidence grading: Classifies search results into different levels based on how many engines agree on the same result.
  5. Engine source tracking: Explicitly marks the data source engine in returned results.

Installation and Enablement

In the DSH configuration file, introduce the plugin package through profile.bundles.

"dsh": {
  "profile": {
    "bundles": ["@bryan-cmf/dsh-cross-search"]
  }
}

Configuration and Runtime

The plugin supports adjusting search behavior and the engine list via configuration items.

Environment Variables

Before use, configure the corresponding API Keys in the environment. If not configured, the plugin automatically skips the corresponding engine.

Engine Environment Variable Keyless Fallback
Brave BRAVE_API_KEY Not supported
Tavily TAVILY_API_KEY Not supported
Bing BING_API_KEY Not supported
Mojeek MOJEEK_API_KEY Not supported
DuckDuckGo — Supports HTML endpoint
Wikipedia — Supports REST API (wikiLang config)

Configuration Parameters

Parameter Default Value Description
engines brave, tavily, duckduckgo, wikipedia, bing, mojeek Engine list for queries, determines attempt order
timeoutMs 8000 Timeout per engine (milliseconds)
perEngine 8 Number of results returned per engine
wikiLang zh Wikipedia language setting

Confidence Grading

The plugin grades results based on the number of active engines participating in validation and their consistency:

Confidence Condition Meaning
🟢 HIGH ≥ 50% of active engines agree Independently verified
🟡 MEDIUM ≥ 2 engines agree Partially verified
🔴 LOW Single-engine result Honest unverified

Development and License

  • Development commands:
    pnpm install --store-dir .pnpm-store
    pnpm build
  • License: MIT

This plugin is released under the MIT license and is suitable for DSH agent scenarios that require highly trusted search results. Before use, please review the source code to ensure it meets your security and compliance requirements.