Tavily Search + Firecrawl Fetch: Replacing the Search and Fetch Backend for DSH Web Connectivity

Preface

In DeepSeek Harness (DSH), if an agent needs to look up information or open web pages, it typically relies on the search and fetch providers on ctx.web, with tool-web in the preset exposing web_search and web_fetch. The default combination may not satisfy operational needs such as “dedicated search API + structured Markdown scraping” or “multiple-key polling, 429/quota cooldown.” @skillre/dsh-plugin-tavily-firecrawl registers two providers with @deepseek-ai/dsh-web — Tavily search and Firecrawl fetch — and pins Cordis’s searchProvider / fetchProvider to tavily / firecrawl in the bundle, while disabling the built-in web-search-deepseek to avoid the two search providers competing. The package status is experimental, the maintainer is skillre, and it is categorized under networking tools.

What is this

In one sentence: it swaps DSH’s networking capability to Tavily search + Firecrawl fetch, and supports multiple API key polling; a single bundle includes two Host-side ctx.web providers and a browser configuration page, where keys can be entered under Settings → Plugins.

This package does not register the tools themselves: web_search / web_fetch are determined by tool-web (fetch: true) in the agent preset; this package only provides the providers. It does not fork official presets, does not write into $DSH_HOME/.agent-presets/, and does not modify the DSH core; credentials are written by the DSH credential service, and the plugin does not write to the filesystem directly.

Integration interfaces (from the source material):

  • Search: POST https://api.tavily.com/search → web_search
  • Fetch: POST https://api.firecrawl.dev/v1/scrape (returns markdown) → web_fetch

npm package name: @skillre/dsh-plugin-tavily-firecrawl (current version 0.1.0). Cordis line id: skillre-tavily-firecrawl. Outside the declared engines.dsh range, the DSH versions actually mounted and verified in the material are 0.1.7-rc.2 (2026-09-28) and 0.2.0-rc.2 (2026-09-30).

Core Features

Provider and bundle behavior

The bundled cordis.patch.yml (released via package.json#dsh.bundle.patch) will:

  1. Insert the plugin line skillre-tavily-firecrawl, and explicitly set search.searchDepth to basic;
  2. Set the web line’s searchProvider / fetchProvider to tavily / firecrawl;
  3. Disable web-search-deepseek. web-fetch-http is still registered, but fetchProvider is pinned and will not be selected.

Multiple-key polling and credentials

The search side and the fetch side each maintain their own key pools. A single call can rotate keys within configured limits; upon encountering a 429 or quota-type error, it enters a configurable cooldown (with an exponential backoff ceiling). Credential resolution order (independent per side, from the source material):

  1. search.apiKeys / fetch.apiKeys in the plugin line’s config (explicit, highest priority)
  2. The single-key form search.apiKey / fetch.apiKey (still supported)
  3. Credential references TAVILY_API_KEYS / FIRECRAWL_API_KEYS (saving in the config page writes this kind of reference)
  4. The single-key reference TAVILY_API_KEY / FIRECRAWL_API_KEY

Multiple keys can be separated by commas, semicolons, or whitespace (including newlines); after saving in the config page, they are normalized to a single comma-separated line. No restart is needed after saving in the config page — the next search/fetch takes effect immediately; “Clear saved keys” only removes the stored values, and if keys still exist in environment variables they continue to take effect.

Browser-side UI

It registers only a single config page under Settings → Plugins → this bundle (platform: web, slot plugins.bundle.config), used to enter or clear Tavily / Firecrawl API keys. No extra decorations and no additional browser code.

Configurable items (excerpt)

Keys not written in the patch use the default values; a misspelled key or a key not allowed by the schema throws an error at load time, and the entire line will not be mounted. The following table summarizes the default values from the material:

Key Default value Description
search.baseURL https://api.tavily.com The request path appends /search
search.searchDepth basic advanced costs 2 credits
search.includeAnswer true Tavily summary enters the result’s content
search.timeoutMs 30000 Per attempt
fetch.baseURL https://api.firecrawl.dev Appends /v1/scrape
fetch.maxBodyChars 200000 Truncate beyond this and mark truncated
fetch.onlyMainContent true Only extract the main body
searchEnabled / fetchEnabled true If false, the provider on that side is not registered

See the “Configuration” section of the GitHub README for more complete YAML examples and fields such as cooldown and maxAttempts.

Installation and enablement

After delivery and compatibility confirmation, the user selects the source, installs/updates, and enables it in the Plugins/Plugin management of the DSH Desktop Client or Web UI; the agent should not install it on behalf of the user in the user profile.

Once published and the target version is compatible, and the manager confirms it can be installed, you can enter the npm package name:

@skillre/dsh-plugin-tavily-firecrawl@<version>

The GitHub repository is a supported installation source for this package: the git tree contains the build artifacts lib/ (including lib/client.js), so installing from GitHub does not run build scripts. When not published to npm, if the manager supports it, you can also provide a built, verified local package directory or the absolute path of a .tgz. Installation resolves to a specific commit SHA; to get new features, the corresponding commit must already be on GitHub.

The following commands are only for inner-loop testing in a developer-owned, disposable, non-Desktop profile (a tarball must be packaged; do not use dsh plugin ... add . to chain the source directory):

npm install
npm run check
npm pack
dsh plugin --profile <dev-profile> add ./skillre-dsh-plugin-tavily-firecrawl-<version>.tgz
dsh --profile <dev-profile> --dump-config

After testing, follow the README to clean up: stop the process, uninstall this bundle/dependencies or isolate the profile, and verify there is no residue. Experimentation in a user’s real Desktop/Web profile requires prior consent, and only the state added during testing should be revoked.

Typical usage

  1. Install and enable this bundle in the plugin management interface.
  2. Open Settings → Plugins and enter this bundle’s config page.
  3. In the Tavily and Firecrawl input boxes, paste one or more keys (separated by commas, semicolons, or newlines), and click “Save”.
  4. Under an agent preset that has tool-web enabled, the model calls web_search and web_fetch; the Host will use the Tavily / Firecrawl providers.

Keys are written to the DSH credential store and do not appear in the profile configuration of dsh --dump-config.

Alternative: environment variables (requires restarting the corresponding DSH process)

It is read once at process startup; after changing environment variables, a restart is required. The following dsh web is only an example of starting the standalone Web UI; the Desktop Client must verify its actual environment variable entry point:

# Either: process environment, <call directory>/.env, $DSH_HOME/.env
TAVILY_API_KEY=tvly-xxxx
FIRECRAWL_API_KEY=fc-xxxx
dsh web

Update: in the same Plugins/Plugin management, select a new version that has been verified for compatibility. See the repository’s UNINSTALL.md for uninstallation and rollback.

Use cases and notes

Who it’s for: developers or teams already using or planning to use web_search / web_fetch in DSH, who want searches to go through Tavily and page fetching to go through Firecrawl (Markdown, main-body trimming), and who need multiple keys to share rate limits and quotas.

Permissions and security: the plugin runs with the current DSH process privileges; before installing, you should read the source code and the MIT license, and understand that it will send requests and keys to the official Tavily and Firecrawl APIs. This package does not provide install.sh, nor does it use the --patch overlay.

Non-goals (from the source material): it does not provide a session-level UI; it does not override official presets; it does not modify the DSH core.

Metadata: the plugin card title is Tavily Search + Firecrawl Fetch; the packaged locale currently only includes locale/en.json, so the card title/description may still appear in English in the interface. The GitHub repository has 0 stars (a clue from the directory page; the site is authoritative).

Ending

@skillre/dsh-plugin-tavily-firecrawl replaces DSH ctx.web’s search and fetch backends with Tavily + Firecrawl, and fixes the provider selection with a bundle patch; credentials can be maintained in the settings page and take effect immediately after saving. See GitHub for further information and issues; community directory page:

  • Directory: https://www.skillhub.cn/plugins/skillre/dsh-plugin-tavily-firecrawl
  • Repository: https://github.com/skillre/dsh-plugin-tavily-firecrawl
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye