dsh-web-search-multi
精选清单收录维护状态: 活跃zmh2000829/dsh-web-search-multi
原生 web_search 工具的多后端选择插件:SearXNG、Brave、Tavily、Gemini 搜索落地或维基百科,无隐式回退。
$ dsh plugin add dsh-web-search-multi6
星标
0
Fork
TypeScript
语言
MIT
许可证
2026-08-18
创建于
2026-09-24
最近推送
README
dsh-web-search-multi
English | 中文
Configure web search in DeepSeek Harness: choose SearXNG, Brave, Tavily, Gemini, or Wikipedia in Web settings and enable or disable search independently below each conversation's composer. The plugin uses DSH's native web_search tool. The default Wikipedia backend needs no API key and provides an easy first encyclopedia query.
Providers
| Provider | General web | API key | Cost profile | Main limitation |
|---|---|---|---|---|
searxng |
Yes | No | Free when self-hosted | You operate the instance and its upstream engines |
wikipedia |
No | No | Free public Wikimedia API | Encyclopedic knowledge only |
tavily |
Yes | Yes | Free monthly credits, then paid | Account and usage quota |
brave |
Yes | Yes | Monthly credits, then paid | Subscription setup and usage quota |
gemini |
Yes | Yes | Google AI Pro can redeem monthly Cloud credits | API billing is separate and requires Cloud Billing |
Pricing and quotas can change. Check the provider's current terms before deployment. The plugin sends each query only to the selected provider; it has no implicit fallback or fan-out.
Requirements
- The current plugin
0.2.3requiresdsh0.1.5-rc.2. Plugin0.2.0targets DSH0.1.1-rc.2and is not compatible with the newer settings API. - Node.js
^22.19or>=24 - No credential for the default Wikipedia backend; a JSON-enabled SearXNG instance or API credential for the other backends
Install
Recommended npm installation for DSH 0.1.5-rc.2:
dsh plugin --profile web add dsh-web-search-multi@latest
Restart dsh web after installation. Start with an encyclopedia query using the default Wikipedia backend. For general web information such as news or weather, open the “Multi-provider web search” settings card, choose a provider, configure its credentials or SearXNG URL, and select “Test configuration.” Search starts enabled in each conversation.
From a local clone for development:
npm ci
npm run check
dsh plugin --profile web add link:$PWD
For DSH 0.1.1-rc.2, install the previous release:
dsh plugin --profile web add dsh-web-search-multi@0.2.0
For a Git source install, pnpm may initially block the package's prepare build. Follow the allowBuilds instruction printed by dsh, then repeat the install command.
The package is a DSH bundle. Installation adds its cordis.patch.yml, selects the stable provider id configurable-search, and starts with keyless English Wikipedia so the first test works without another service. Select SearXNG, Brave, Tavily, or Gemini in the Web UI when broader web coverage is needed. The plugin does not install or start SearXNG.
The composer tool row has a two-part pill for each conversation: select On on the right to enable search or Off on the left to disable it. It starts on, and the choice survives DSH restarts. Off removes web_search from that conversation's available tools and prompt guidance and blocks direct calls; it does not disable web_fetch or Grok Build's own search. A search already running when you switch off may finish; the new choice applies to subsequent tool calls and model requests. Provider selection in Settings is still shared across conversations.
Free local SearXNG
The included Compose deployment binds only to localhost and enables JSON output. Start it once from this repository checkout; the container uses restart: unless-stopped:
docker compose -f deploy/searxng/compose.yml up -d
curl -fsS -X POST http://127.0.0.1:8080/search \
-d 'q=DeepSeek&format=json'
If the plugin was installed from GitHub and no checkout exists locally, clone https://github.com/zmh2000829/dsh-web-search-multi.git, enter that directory, and run the Compose command above. Stop it with docker compose -f deploy/searxng/compose.yml down. Enabling, disabling, or removing the DSH plugin does not start or stop this service.
Do not expose this configuration publicly without adding authentication, rate limiting, a unique secret, and the other protections required by the SearXNG deployment guide.
Configure
Edit $DSH_HOME/profiles/web/cordis.patch.yml (~/.dsh is the default home). A profile patch replaces the complete config value, so keep every required key shown in the selected example.
All providers accept the top-level requestTimeoutMs setting from 1000 through 55000; its default is 25000, below the Harness tool deadline.
The same configurations are available as ready-to-use files under examples/; use dsh --profile web --patch examples/wikipedia.patch.yml for a temporary override.
Web UI
Open Settings → Plugins → Plugin configuration → Multi-provider web search. The card lets you select all five providers, edit provider-specific options, and save Brave, Tavily, or Gemini keys without putting a secret in settings. A saved key goes through DSH credentials and the card receives only its configured/writable status. Test configuration runs one real DeepSeek query against the current draft without saving first; success reports latency, result count, and the first title, while failure reports the provider error. Provider and option changes apply to the next search without restarting DSH.
The stock Web search card belongs to the bundled DeepSeek provider. Use the separately named Multi-provider web search card for this plugin.
SearXNG
- id: web-search-multi
config:
provider: searxng
searxng:
baseURL: http://127.0.0.1:8080
language: all
safeSearch: 1
更多「网页与浏览器」插件
anysearch-dsh
作者 anysearch-team
为 DeepSeek Harness 提供的 AnySearch 网页搜索提供方与高级搜索工具。
dsh-find-plugin
作者 awesome-dsh-plugin
Find DSH plugins inside the agent — live GitHub dsh-plugin topic search, star-ranked / 会话内搜索发现 DSH 插件
fnos-dsh
作者 fnosp
DeepSeek Harness应用与harness插件 monorepo
modsearch
作者 liustack
🥇 The strongest free web search plugin for DeepSeek Harness, and the search bridge for every model without native web access. Free, no signup, no API key. Ask the web or X, get structured JSON evidence. | 🥇 全网最强的 DeepSeek Harness 免费联网搜索插件,免费免注册免 API key。为不能联网的模型补上搜索,问网页或 X,拿回结构化 JSON 证据(搜索、抓取、引用)。
