dsh-web-tools

8Star1Fork0Issue0Watching
机审证据安装命令仓库已核验dsh-plugin Topic许可证READMEAI 百科
语言
TypeScript
License
MIT
分支
main
ai-agentdeepseek-harnessdsh-pluginexafirecrawlsearxngself-hostedtavily

安装

$ dsh plugin --profile web add github:A3Boy/dsh-web-tools

在终端中运行以上命令,通过 dsh CLI 安装此插件。可在右上角切换 Profile。 第一次用 dsh?看这篇新手教程

对话式安装

帮我安装 DeepSeek Harness 插件 A3Boy/dsh-web-tools:先查看仓库 https://github.com/A3Boy/dsh-web-tools 确认安全性,然后执行安装命令并验证插件加载成功。

把这段指令粘贴给 DSH Web GUI 里的助手,由它代你完成安装与验证。

dsh-web-tools

dsh-web-tools

Multi-provider Web Search / Fetch plugin for DeepSeek Harness.

Supports Tavily, Exa, Firecrawl, Parallel, Brave, You.com, Jina, and SearXNG with provider ordering, automatic fallback, multiple API keys, and quota display.

Uses the native DSH web_search / web_fetch tools.

GitHub Stars MIT License DeepSeek Harness TypeScript

English | 简体中文

dsh-web-tools settings

Features

  • Tavily, Exa, Firecrawl, Parallel, Brave, You.com, Jina, SearXNG
  • Configurable provider order and fallback
  • Multiple API keys per provider
  • Quota, key health, and connection test
  • Native web_search / web_fetch
  • Per-session "Web Search" toggle
  • System proxy and self-hosted SearXNG

The plugin does not provide shared API keys or a proxy service. Requests go directly from the local DSH Host to each provider.

Installation

dsh plugin --profile web add github:A3Boy/dsh-web-tools

Restart dsh web, then open:

Settings → Web Search

Update:

dsh plugin --profile web update dsh-web-tools

Remove:

dsh plugin --profile web remove dsh-web-tools

For contributors: this repo has no prepare script. After changing src/, run npm run build manually and commit the compiled lib/ together with your change (otherwise installs fetch stale artifacts). CI also runs npm run build to enforce consistency.

Currently developed and tested against DeepSeek Harness 0.1.0-rc.6.

Providers

ProviderSearchFetchQuota
Tavily
Exa
Firecrawl
ParallelDashboard only
Brave Search
You.com
JinaBest effort
SearXNGSelf-hosted

Provider settings and quota

A simple starting point:

Use caseTry
General searchTavily
Semantic / technical searchExa
Search + page contentFirecrawl / Parallel / Jina
General Web searchBrave
Web / NewsYou.com
Self-hostedSearXNG

You do not need to configure every provider.

One provider is enough to use the plugin. Multiple providers enable fallback.

Free tier reference

Free / signup credits (check upstream for current details)
ProviderFree / signup credits
Tavily1,000 credits / month
Exa$20 on signup + $10 / month
Firecrawl1,000 credits / month
ParallelUp to $80 on signup + $5 / month
Brave Search$5 credits / month
You.com$100 for new accounts
Jina10M tokens for a new API key
SearXNGSelf-hosted, no platform quota

Some free tiers require account registration or a payment method. Check the upstream provider rules.

Parallel and You.com also offer separate free MCP Search endpoints. The providers in this plugin currently use their REST APIs and therefore still use API keys.

Provider order

Set the order in which providers are used:

Tavily → Firecrawl → Exa → Parallel → Brave

The first provider is the default.

Providers in the search chain can be reordered by dragging.

Removing a provider from the chain does not delete its configuration, so it can still be tested manually.

Fallback

The plugin tries the next provider when the current one has problems such as:

rate limit
timeout
network error
service error
quota exhausted

Example:

Tavily
   ↓ timeout
Firecrawl
   ↓
success

Provider fallback

If an API key fails authentication and the provider has multiple keys, another available key is tried first.

Multiple API keys

Each provider can have multiple API keys:

Tavily
├── Key A
├── Key B
└── Key C

The plugin automatically selects an available key.

Keys can be separated by:

newlines
commas
spaces
semicolons

Full API keys are never returned to the browser. The Settings page only receives masked credential information.

Quota

Current quota support:

ProviderQuota
Tavily
Firecrawl
Brave
You.com
Jina
Exa
ParallelDashboard only
SearXNGSelf-hosted

For supported providers, quota from multiple API keys is combined.

Example:

Key A: 950 / 1000
Key B: 982 / 1000

Pool: 1932 / 2000

Quota is refreshed in the background with a default 5-minute cache.

Brave quota is read from the X-RateLimit-* information returned by Search and the latest result is saved.

Quota information is only used for display and does not block Search.

The Settings page can run a real search through the configured provider chain.

It shows:

  • final provider
  • total latency
  • result count
  • provider attempts
  • success / timeout / rate limit / authentication failure
  • search results

Test Search

Test Search uses the same provider chain as normal agent searches.

Web Fetch

Providers with page-content support:

Tavily
Exa
Firecrawl
Parallel
Jina

A normal flow can be:

web_search
    ↓
URL
    ↓
web_fetch
    ↓
page content

Search and Fetch do not have to use the same provider.

For example:

Brave Search
    ↓
Parallel Fetch

Proxy

Supports:

HTTPS_PROXY
HTTP_PROXY
Windows system proxy

Local addresses bypass the proxy by default:

localhost
127.0.0.1
::1
*.local

NO_PROXY is also supported.

SearXNG

SearXNG does not require an API key.

Configure only the instance URL:

http://127.0.0.1:8080

It can be used alone:

SearXNG

or as part of the fallback chain:

Tavily → Exa → Brave → SearXNG

UI language

The Web Search page supports:

Follow system
中文
English

The language setting only affects this plugin page.

Per-session "Web Search" toggle

A small "Web Search" toggle sits at the left end of the input row. Click it to turn it on or off; once on, it stays on until you click again.

  • off — lets the AI decide on its own whether a question needs the web
  • on — completes at least one web research action before answering each turn: if you give a specific URL it fetches that page directly (web_fetch), otherwise it searches (web_search) and fetches on demand; when research can't complete, the agent is asked to say which parts were not web-verified
  • the state follows the current conversation: refreshing the page or switching conversations doesn't lose it
  • the button grays out when there is no usable search source (the plugin is disabled, or no search source is available)
  • you can also use /search to toggle the same switch

It works with the 8 search sources: when on, the search automatically falls back through the sources in the order you've configured.

Web Search toggle

Security

  • API keys are used only on the DSH Host
  • full API keys are never returned to the browser
  • logs do not contain full API keys
  • requests do not pass through a server operated by this project
  • no search usage telemetry is uploaded
  • SearXNG can be used as a fully self-hosted search option

Development

Install:

npm install

Test:

npm test

Type-check:

npx tsc -p tsconfig.json --noEmit
npx tsc -p tsconfig.client.json --noEmit

Build:

npm run build

After changing src/, run npm run build and commit the resulting lib/ too. The package has no prepare script, so GitHub installs use the committed lib/ directly — keep it in sync with src/.

Provider adapters are in:

src/host/providers/

See CONTRIBUTING.md for more information.

Update still showing old code?

If the plugin still behaves like an older version after updating and restarting:

cd ~/.dsh/profiles/web
pnpm install

For local development, file: may use a copied snapshot.

Using link: is usually more convenient.

Contributing

Issues and pull requests are welcome.

New Search Provider suggestions are welcome too.

License

MIT © A3Boy

收录徽章

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/A3Boy/dsh-web-tools)

把这段 markdown 粘贴到你的 GitHub README,链接回本插件详情页。徽章只声明已被本站收录,不代表安全认证。

返回插件目录