DSH Plugins
返回列表
🧰

dsh-synthetic-web-search

联网工具 更新于 2026.09.02

在终端中运行以下命令:

dsh plugin install auggie246/dsh-synthetic-web-search

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install auggie246/dsh-synthetic-web-search,或从源码仓库 https://github.com/auggie246/dsh-synthetic-web-search 通过 Git 安装,即可激活 Synthetic Search 提供者。

插件介绍

DeepSeek Harness ships with a default search backend tied to its official service, but many teams want to point their web search at a different engine. dsh-synthetic-web-search is a host-plane plugin that registers the Synthetic Search API as a provider in the Harness ctx.web capability seam, swaps the selection from deepseek-official to synthetic on install, and works alongside the bundled dsh-tool-web preset to expose the web_search tool to the model.

Two capabilities do the heavy lifting. The search adapter sends queries to Synthetic's /v2/search endpoint and maps the response fields (url, title, text, published) into the Harness source vocabulary (url, title, snippet, publishedAt), silently dropping malformed or non-URL entries. Failures are surfaced as standard error codes: WEB_PROVIDER_ERROR for network, redirect, HTTP, or shape issues; WEB_PROVIDER_CREDENTIAL_MISSING when no API key is configured; and WEB_ABORTED for cancellations. The bundled Settings card lets interactive users store the API key in the DSH credentials domain without it ever echoing back to the browser, while headless deployments can simply set the SYNTHETIC_API_KEY environment variable.

The plugin runtime-detects the shape of the Settings module at load time, so a single build works on both DeepSeek Harness 0.1.1-rc.2 and 0.1.2-rc.1 without version-specific installs. It is aimed at teams already running agents in the Harness web profile who want to swap to Synthetic Search or keep an easy path for rotating between multiple search providers.

使用场景

  • 将 Harness 的默认搜索引擎切换为 Synthetic Search 以适配自有数据源
  • 在 headless 环境中通过环境变量注入 API Key 完成无人值守部署
  • 在多个搜索提供商之间通过 profile 优先级热切换,满足 A/B 测试需求

适合人员

  • 已运行 DeepSeek Harness web profile 的 Agent 团队
  • 希望自定义或替换搜索后端的 Harness 开发者
  • 需要无头环境下管理多套搜索凭证的 DevOps 工程师