DeepSeek Harness plugin

dsh-web-search

pi-web-access for the DeepSeek Harness: multi-provider web search with automatic fallback (SearXNG → Tavily → Brave → keyless DuckDuckGo) plus URL content extraction, wired into the web seam so the

Jump to install

Source facts

Repository
haibinwang9/dsh-web-search
Latest update
Aug 15, 2026
Category
Docs & Rendering
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/haibinwang9/dsh-web-search
Plugin: dsh-web-search
Author: haibinwang9

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

dsh-web-search

中文 · English

![npm version](https://www.npmjs.com/package/dsh-web-search) ![License: MIT](https://opensource.org/licenses/MIT) ![CI](https://github.com/haibinwang9/dsh-web-search/actions)

> Ported from nicobailon/pi-web-access (MIT) for the DeepSeek Harness: the search fallback chain, the DuckDuckGo parser and the content-extraction logic come from that project, adapted to use native Node fetch. Thanks to the original author.

What it does

One plugin that completes the DeepSeek Harness's web capabilities:

  • 🔍 Multi-engine search with automatic fallback — powers the built-in web_search tool: SearXNG → Tavily → Brave → keyless DuckDuckGo fallback. Unconfigured providers are skipped; it works with no keys at all.
  • 📄 URL content extraction — the get_search_content tool fetches any page and converts HTML to readable plain text (prefers the main content, strips scripts/styles), pretty-prints JSON, and flags binary content.
  • 🎚️ One-click default search engine switch — settings toggle: on = use this plugin's fallback chain, off = delegate to the official DeepSeek search.
  • 🛠️ Completes the fetch seam — registers both search and fetch providers, which also makes the built-in web_fetch usable (the fetch seam normally has no provider).
  • ⚙️ All configuration in the settings page — the three keys (SearXNG / Tavily / Brave) are managed as cards in the harness credentials service; no config files to edit.

Install

From npm (recommended):

dsh plugin --profile web add dsh-web-search

From source:

git clone https://github.com/haibinwang9/dsh-web-search.git
cd dsh-web-search && dsh plugin --profile web add .

Restart DSH after installing, then configure keys/toggle at Settings → Plugins → Web access.

Configuration

FieldCredential refNotes
Use this plugin as the default search enginePIWA_SEARCH_ENABLEDOn = fallback chain; off = official DeepSeek search
SearXNG base URLSEARXNG_BASE_URLe.g. https://search.example.com
Tavily API KeyTAVILY_API_KEYhttps://app.tavily.com
Brave API KeyBRAVE_API_KEYhttps://brave.com/search/api/

Resolution order: environment variables → harness credentials service (also writable via ~/.dsh/.credentials.yaml).

Tools

ToolDescription
web_searchBuilt-in search tool, powered by this plugin's fallback chain
get_search_contentFetch a URL and extract its readable text content

How it works

web_search ──▶ ctx.web.search() ──▶ 'web-access' provider
                                         │
                      PIWA_SEARCH_ENABLED? ── yes ──▶ SearXNG → Tavily → Brave → DuckDuckGo
                                         │
                                         └── no ──▶ official DeepSeek search

License

MIT — search and content-extraction logic adapted from nicobailon/pi-web-access (MIT).