为内置 web_search 与 web_fetch 工具提供 Keenable 网页搜索与网页读取,适用于任意模型,无需 API Key。
安装
# npm 包(预构建)
dsh plugin --profile web add @keenable/dsh-keenable
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:keenableai/dsh-keenable
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Web search and page reading for DeepSeek Harness through Keenable, with no API key and no account. It works with whatever model you run in Harness, local models included.
The plugin points Harness's built-in web_search and web_fetch tools at Keenable. It adds no new tools: the model asks for a query or a URL exactly as before, and Keenable answers.
Why
The search provider Harness ships with needs a DeepSeek account or a DeepSeek API key. With a local or third-party model and neither of those, web_search fails. Keenable's public endpoints need no key, so search works on a fresh install:
web_searchreturns ranked web results with an excerpt of each page and its publication date, when known.web_fetchreturns a page as markdown. The page is retrieved on Keenable's servers, so a URL the model chose is never requested from the machine running Harness, and private or internal hosts are refused.
An API key is optional. It only lifts the rate limit described below.
Install
Requires DeepSeek Harness 0.2.0-rc.2 or later (below 0.4) and Node.js 22.12 or later. On a 0.1.x Harness, install @keenable/dsh-keenable@0.1.0.
From Harness: open Plugins → Add plugin, enter @keenable/dsh-keenable, then Install → Enable now.
From the terminal: install into the profile you use, then restart Harness:
npx @deepseek-ai/dsh plugin --profile web add @keenable/dsh-keenable
npx @deepseek-ai/dsh web
Profiles are separate: web, tui and headless each need their own install. Replace web with the profile you run.
Then ask your model to search the web. No further setup is needed. The plugin adds a Configure control to its row on the Plugins page; that is where the optional API key goes.
Limits and the optional API key
Without a key, requests go to Keenable's public endpoints, limited to 10 requests per second and 1,000 per hour per IP address. Search and fetch are counted separately. Everyone behind the same network address shares the limit, so a busy office or CI runner can reach it; the tool error then says so.
A key lifts the limit. Create one in the Keenable console, then either:
- open Plugins → @keenable/dsh-keenable, use the Configure control on the
keenablerow, and save the key there, or - set
KEENABLE_API_KEYin the environment Harness starts in.
The page saves the key in Harness's credentials domain under the KEENABLE_API_KEY reference, not in the settings file, so it never appears in a settings response. A saved key wins over the environment variable, and the next search uses it, with no restart. The store is read by profiles that run Harness's credentials service, as web does; a headless profile does not run it by default, so set KEENABLE_API_KEY in its environment instead.
The key can also go into your profile's cordis.patch.yml as the apiKey of the keenable row, where it wins over the page and the environment variable:
- id: keenable
config:
apiKey: <your key>
That file is plain text, and Harness's profile recovery copies it to timestamped .bak-* files, so prefer the page or the environment variable. A key saved on the page is not used while the row's config sets an apiKey.
Settings
Only the key has a page control. The other four are fields of the keenable row in your profile's cordis.patch.yml, as in the example above, read when the plugin activates.
| Setting | Where | Default | Meaning |
|---|---|---|---|
apiKey |
Configure control, or config |
$KEENABLE_API_KEY |
Optional. Switches both tools to the authenticated endpoints. A value under config wins over the reference the page writes. |
maxSnippetChars |
config |
500 |
Excerpt length per search result, 180 to 10,000 characters. |
fetchLive |
config |
true |
Fetch pages live from the source. When off, web_fetch returns Keenable's indexed copy and fails for pages it has not indexed. |
maxBodyChars |
config |
100000 |
Maximum characters of page text web_fetch returns. Longer pages are cut and marked as truncated. |
baseURL |
config |
https://api.keenable.ai |
API origin. HTTPS only. |
Keeping the local fetch provider
The plugin pins both capabilities to Keenable. To keep Harness's local HTTP fetch provider and use Keenable for search only, override the web row in your profile's cordis.patch.yml:
- id: web
config:
searchProvider: keenable
fetchProvider: http
Both fields are needed: a config patch replaces the row's whole config object.
Privacy
Search queries and fetched URLs are sent to Keenable, even when your model runs locally. Requests identify the plugin with an X-Keenable-Title: dsh-keenable header, which the public endpoints require. Results are external content, and Harness marks them as untrusted data for the model.
Troubleshooting
| Symptom | What to check |
|---|---|
WEB_PROVIDER_CONFIGURED_MISSING |
The plugin is not loaded in this profile. Install it into the profile you run, and restart Harness. |
| "requests share a per-IP limit" | The keyless limit was reached. Wait, or set an API key. |
| "Fetching from private/internal hosts is not allowed" | Keenable does not fetch localhost or private addresses. Use the local HTTP fetch provider for those (see above). |
| Search still asks for DeepSeek credentials | Another patch layer pins searchProvider back. Check the composed profile with npx @deepseek-ai/dsh --profile web --dump-config. |
| The row has no Configure control | The browser half has not loaded. It ships inside the package and loads with the Harness app, so restart Harness after installing or updating the plugin. |
| A key saved on the page is never used | The row's config sets apiKey, which wins over the reference the page writes. Remove it from the profile's cordis.patch.yml, or keep the key there instead. |
Development
npm ci
npm test # offline: providers, plugin registration, model-facing tools, manifest, browser half
npm run test:live # real Keenable API, no key
The tests load the plugin into a real Cordis context with Harness's own dsh-web seam and web_search/web_fetch tools. The browser half is covered too: test/client.test.js evaluates the artifact the way the Client module table does, with a stubbed react and Client context, so the slot registration, the credential read, and the save path run under Node. The code is plain JavaScript and needs no build step.
License
MIT
链接
同类插件
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10776
BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
DDDMUC/dsh-free-search★ 1756
DSH 免费搜索插件,共 42 个引擎:6 个免 key 引擎(DuckDuckGo、Bing、SearXNG、Degoog、AnySearch)、6 个 key 与免 key 双档引擎(Exa、Tavily、Keenable、Firecrawl、Parallel、You.com)、5 个 HTML 搜索页,以及从 Brave、百度到知乎、OpenAI、Claude 的各类需 key 供应商。支持失败分类回退与冷却、多 key 轮换、引擎白名单、可增删的回退链、中英语言池、Multi 并发合并、12 个 MCP 工具与独立 stdio server,设置页可按引擎填写 key。
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1149
Chrome 侧边栏扩展,让 DSH 直接操控你的浏览器,无需视觉能力。
liustack/modsearch★ 1050
纯文本 agent 的联网搜索桥:搜索网页与 X,返回结构化 JSON 证据(search/fetch/引用)。
Fisfzy/dsh-ego-browser★ 588
用 35 个结构化工具从 DeepSeek Harness 驱动真实 Chrome/Chromium:导航、语义快照、点击、表单、JavaScript/CDP、截图、下载与标签页管理;右侧边栏实时镜像页面,并支持鼠标键盘直接接管。插件自带受管 CDP 运行时,跨调用保留登录状态,并可通过配套 Chrome 扩展从日常浏览器导入 cookie。
regrevia/Envoy#dsh-envoy★ 283
蒸馏一切链接,出摘要、Markdown、Wiki 或知识库。装法按宿主:DSH → envoy-dsh;Claude Code、Codex → envoy@envoy。抖音与 B 站视频、图文笔记、公众号、小红书、PDF、播客都在内。视频按时序读:关键帧配 ASR 转写,内容定到 \[mm:ss],上下文里是实际说过、看得见的东西,不是标题和推荐流。同一批题 60 轮对照:正常读完并把缺口说清 22% → 92%,跑到超时 68% → 0%(这组 A/B 是探索性的:两臂时限不同、未做人工正确性复核)。123 条真实链接里 80% 能直接当素材(能连上的页面里 93%)。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。