TinyFish-backed web search provider for the built-in web_search tool: each search is one GET to the TinyFish Search API, no model call.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-tinyfish-search
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:maxwell-feng/dsh-tinyfish-search
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | Chinese
DeepSeek Harness plugin for the TinyFish Search API: runs the built-in web_search tool, one GET per query, no model call.
What it does
The plugin registers a web search provider on ctx.web as tinyfish:
- Each
web_searchcall is aGET https://api.search.tinyfish.aiwithx-api-key. results[](title, snippet, URL, date) map toWebSearchSource.ready(llmProvider)reports whether an API key is configured; without one, the model step gets noweb_search.- No LLM turn is consumed per search.
- Bundled
icon.svgand locale files (locale/en.json,locale/zh.json) serve Plugin Manager.
Bundle patch
cordis.patch.yml overrides two host rows:
web: setssearchProvider: tinyfishand restatesfetchProvider: http. Since DSH 0.2.2-rc.5,dsh-basesets no search provider;dsh-webpicks per route (legacy Messages search on DeepSeek, DeepSeek Search API elsewhere). The id pins TinyFish everywhere.tool-web: re-enables the host tool row withdisabled: false,search: true,fetch: trueand the base timeouts.dsh-web-appships it disabled; a clean web profile otherwise lacksweb_search.
Re-enabling tool-web exposes the web tools to every agent preset, including ones that otherwise lack them (e.g. minimal). A preset's own tool-web row shadows this registration for its agents. To scope to one preset, override or remove that row in the profile cordis.patch.yml and add tool-web to the preset's composition; later profile, home and --patch layers can override both.
Configuration uses a volatile schema: the Host reads Config and renders the dsh-tinyfish-search form on the Plugins page. There is no plugin-side settings code; saved edits reach the next search without a restart.
Requirements
- DeepSeek Harness
dshwith the web seam (e.g. thewebprofile). Build baseline:0.2.3-alpha.2(2026-11-22).engines.dsh:>=0.1.7-alpha.2 <0.3.0. - Node.js
^24.22.3 || >=26.13.1; DSH 0.2.3 needs 24.22.3+ on 24.x or 26.13.1+. - A TinyFish API key. Search is free at any wallet balance.
@deepseek-ai/dsh-credentialsand@deepseek-ai/dsh-launch-environmentas peers; everydshprofile carries them.
DSH checks engines.dsh before loading the row; an outside host is refused with the exact requirement. To accept the risk:
dsh plugin --profile web allow-version dsh-tinyfish-search@0.23.0 --dsh-version <your-dsh-version> --accept-risk
Guides: Install · Configuration · Usage · Update · Uninstall · Changelog; each has a Chinese edition.
Install
dsh plugin --profile web add dsh-tinyfish-search
From a checkout or locally built tarball (npm pack writes the .tgz):
dsh plugin --profile web add ./dsh-tinyfish-search
dsh plugin --profile web add ./dsh-tinyfish-search-0.23.0.tgz
dsh plugin --profile web add github:maxwell-feng/dsh-tinyfish-search
--profile <name> goes before add, remove, update and allow-version. Git installs build lib/ via prepare (tsc -p tsconfig.build.json).
Check the layer with dsh --profile web --dump-config | grep tinyfish. Then open Plugins → Built-in plugin settings → Web search and fetch; the Web search provider menu should list TinyFish Search (id tinyfish). A live search should return TinyFish URLs and snippets.
Configure
Set the API key (recommended):
export TINYFISH_API_KEY="your_api_key_here" # current shell
echo 'export TINYFISH_API_KEY="your_api_key_here"' >> ~/.bashrc # permanent (bash)
echo 'export TINYFISH_API_KEY="your_api_key_here"' >> ~/.zshrc # permanent (zsh)
source ~/.bashrc # or reopen the terminal
Windows PowerShell: use setx TINYFISH_API_KEY "your_api_key_here" for new terminals, or $env:TINYFISH_API_KEY = "your_api_key_here" for the current session.
Set these fields in your profile cordis.yml or a patch layer:
| Field | Default | Meaning |
|---|---|---|
apiKey |
— | Literal API key (secret; wins over the env var) |
apiKeyEnv |
TINYFISH_API_KEY |
Environment variable carrying the key |
baseURL |
https://api.search.tinyfish.ai |
API endpoint base |
location |
— | Optional geo targeting; blank sends nothing |
language |
— | Optional search language; blank sends nothing |
All fields are optional; see the Configuration Guide for schema, credential order and readiness rules.
Usage
- The model calls
web_searchas usual. - The harness routes it through
ctx.web→tinyfish→https://api.search.tinyfish.ai. - Results arrive as
WebSearchSource[](url,title,snippet,publishedAt).
available() is the seam's local provider check; ready() decides whether a model step gets the tool. Without a configured key, web_search is withheld; bypassing the gate yields WEB_PROVIDER_CREDENTIAL_MISSING.
Errors follow the dsh-web seam: WEB_PROVIDER_CREDENTIAL_MISSING when no key is found, WEB_ABORTED on cancellation, WEB_PROVIDER_ERROR otherwise. See the Usage Guide for examples and the error table.
Update
dsh plugin --profile web add dsh-tinyfish-search@latest
This release moves dependencies to DSH 0.2.3-alpha.2, raises the Node.js floor to match DSH, and updates the docs. Normal search behavior is unchanged; malformed responses are handled more robustly. See the Update Guide for steps and rollback.
Uninstall
dsh plugin --profile web remove dsh-tinyfish-search
Removing this bundle returns web and tool-web to the underlying bundles' values and removes the tinyfish provider. A preset with its own tool-web row keeps web_search, falling back to the harness's selection: deepseek-official (legacy Messages search) on DeepSeek routes and deepseek-search-api elsewhere since 0.2.2-rc.5; deepseek-search-api on 0.2.2-rc.2–rc.4; deepseek-official earlier; none if no provider is installed. Presets relying on this bundle's host-level tool-web row (e.g. minimal) lose web_search until it is restored.
Development
Maintained with the assistance of dsh-superagent.
pnpm install
pnpm build # tsc -> lib/
pnpm test # node --test, mocked fetch
pnpm typecheck # tsc --noEmit, src + test + scripts
Run node scripts/check-docs-language.ts to check the docs pairs. Publishing uses npm Trusted Publishing (OIDC) through GitHub Actions; see .github/workflows/publish.yml.
Release notes: CHANGELOG.md or CHANGELOG.zh.md, plus the GitHub Releases page.
License
MIT — see LICENSE.
Links
More in this category
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10804
BrowserSkill bridge for controlling visible Chrome and Edge Agent Windows from DeepSeek Harness, with native browser tools, accessibility and VOM observations, screenshots, owned multi-session control, and a live Web UI overlay.
DDDMUC/dsh-free-search★ 1804
Free web search for DSH with 42 engines: 6 keyless (DuckDuckGo, Bing, SearXNG, Degoog, AnySearch), 6 key-or-keyless tiers (Exa, Tavily, Keenable, Firecrawl, Parallel, You.com), 5 HTML search pages, and keyed providers from Brave and Baidu to Zhihu, OpenAI and Claude. Failure-classified failover with cooldown and key rotation, allowlist switching, an editable fallback chain, zh/en language pools, Multi concurrent merge, 12 MCP tools and a standalone stdio server, with per-engine keys in settings.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1157
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 1058
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
Fisfzy/dsh-ego-browser★ 592
Drive a real Chrome/Chromium browser from DeepSeek Harness with 35 structured tools for navigation, snapshots, clicks, forms, JavaScript/CDP, screenshots, downloads and tabs; a live sidebar mirrors the page and accepts mouse and keyboard input. It ships a managed CDP runtime, keeps login state across calls, and can import cookies from your everyday Chrome through a companion extension.
regrevia/Envoy#dsh-envoy★ 310
Distill any link into Markdown, a wiki or a knowledge base. Installs per host: DSH -> envoy-dsh; Claude Code/Codex -> envoy@envoy. Douyin/Bilibili video, image posts, WeChat, Xiaohongshu, PDFs, podcasts. Video is read on its own timeline with keyframes and ASR transcripts locatable to \[mm:ss], so the context carries what was said and shown instead of the title and the recommendation rail. On 60 turns with vs without: ends normally with the gaps named 22% -> 92%, times out 68% -> 0% (the A/B is exploratory: different time caps, no human correctness review). On 123 live links 80% came back usable (93% of the pages that answered).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.