DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

bailian-kb-dsh

Bailian Kb Dsh

面向 DeepSeek Harness 的 Bailian 知识库工具:通过 DashScope RAG API 提供 kb_search 和 kb_chat,以及 bl CLI 管理技能。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add bailian-kb-dsh@2.8.2
README兼容性版本

兼容性与来源证明

Bailian Kb Dsh 以 bailian-kb-dsh 发布,当前版本为 2.8.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/4

版本

2.8.2stable
2026/11/4
2.8.1stable
2026/11/4
2.8.0stable
2026/11/3
查看其余 19 个版本收起版本
0.0.0-beta-0684b71-202611031223beta
2026/11/3
2.7.2stable
2026/10/30
2.7.1stable
2026/10/29
2.7.0stable
2026/10/29
2.6.2stable
2026/10/28
2.6.1stable
2026/10/28
2.6.0stable
2026/10/27
0.0.0-beta-b7b0d1e-202610261325beta
2026/10/26
2.5.1stable
2026/10/23
0.0.0-beta-6d39e14-202610201209beta
2026/10/20
0.0.0-beta-3c76606-202610201154beta
2026/10/20
0.0.0-beta-3c76606-202610201130beta
2026/10/20
2.5.0stable
2026/10/20
0.0.0-beta-0b14869-202610190608beta
2026/10/19
0.0.0-beta-0b14869-202610190601beta
2026/10/19
0.0.0-beta-0b14869-202610190555beta
2026/10/19
0.1.19stable
2026/8/25

相关插件

正在加载相关插件…

最新版
2.8.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
257.1 kB
文件数
42
Surface
web
许可证
Apache-2.0
发布源
npm
GitHub
★ 320
周下载
3,198
安全扫描
✓ v2.8.2 扫描通过
最近提交
2026/9/1
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
0.0.0-beta-e023af5-202608241135beta
2026/8/24
0.1.18stable
2026/8/24

README

Bailian Knowledge Base for DeepSeek Harness

Knowledge-base retrieval tools for DeepSeek Harness, backed by Aliyun Model Studio (Bailian).

Bailian Console · 中文文档 · DeepSeek Harness · API Documentation

What is this?

bailian-kb-dsh is a plugin (and dsh bundle) that gives a DeepSeek Harness agent access to knowledge bases hosted on Aliyun Model Studio (Bailian). It registers two model-facing tools — kb_search for raw evidence and kb_chat for grounded answers — and ships a settings page plus a management skill for the bl CLI.

Retrieval happens through retrieval services you deploy on Bailian: a service binds one or more knowledge bases to an embedding/rerank configuration and is addressed by its agent_id. The plugin keeps the list of deployed services in front of the model, so it can decide whether the question is answerable from your knowledge at all.

Features

  • Two model-facing tools — kb_search returns scored chunks with source references; kb_chat returns a complete grounded answer
  • Service awareness — the workspace's deployed retrieval services are injected into the conversation, so the model knows what it can look up instead of guessing service ids
  • Low-friction setup — sign in to the Bailian console from the settings page to fill in the API key and workspace id; an existing bl CLI login is adopted automatically
  • Settings page — a "Bailian KB" section in the web UI for credentials, default services, and service-cache inspection
  • Management skill — bundled bailian-kb skill teaching the agent the bl CLI workflow for creating knowledge bases, ingesting documents, and deploying services

Requirements

  • DeepSeek Harness with its plugin runtime (@deepseek-ai/dsh-*), Node.js >= 22.12
  • An Aliyun Model Studio account: a workspace id and a DashScope API key (get one)
  • At least one deployed retrieval or Q&A service in that workspace — create one in the console or with bl knowledge service create / bl knowledge service deploy
  • The bl CLI (npm install -g bailian-cli) for anything on the management side — creating knowledge bases, ingesting documents, deploying services. Retrieval itself calls the API directly and never shells out, so kb_search / kb_chat work without it

Installation

dsh plugin --profile web add bailian-kb-dsh

The CLI adds the bundle to the profile's layer stack; no manual YAML editing required. To remove it:

dsh plugin --profile web remove bailian-kb-dsh

Verify the plugin is composed — dsh --profile web --dump-config should list a tool-bailian-kb row.

Configuration

Configure the plugin from its dsh settings page. The API key belongs only to this plugin in dsh credentials (BAILIAN_KB_API_KEY, normally ~/.dsh/.credentials.yaml; the host owns the actual path). All business settings belong exclusively to this plugin's dsh configuration:

FieldMeaningDefault
workspaceIdWorkspace for all knowledge callsRequired
defaultRetrieveAgentIdDefault retrieval serviceUnset
defaultChatAgentIdDefault Q&A serviceUnset
agentVersionDraft beta or published service versionLatest published
chatTimeoutMsChat timeout in milliseconds300000

The endpoint is fixed to cn-beijing.maas.aliyuncs.com. There is no endpoint setting. Settings page edits apply to the next call.

At startup, a missing API key may be imported from the active profile in ~/.bailian/config.json. On the first configuration migration, missing workspace/default-service fields are imported from legacy dsh credentials, with the bl profile as the workspace default. Explicit dsh settings win. The internal configInitialized marker prevents cleared settings from being imported again. A missing API key can still be seeded on subsequent startups.

After initialization, business fields are read only from dsh plugin settings, never from bl or legacy credential fields. Clearing Workspace makes calls fail until it is configured again. Console login saves the key in dsh credentials and Workspace in dsh settings. KB does not create a personal-kb/config.json file.

The connection panel also accepts a new API key in a password field. Leave it blank to retain the current key, then use Verify and save to validate the key/Workspace pair before saving. Failed validation changes neither value; a settings-write failure attempts to restore the previous pair. The key is never read back and the input is cleared after success. Each plugin keeps its own API key and Workspace; editing one plugin does not affect the other. A key supplied by the launch environment must be changed there.

Management uses kb_manage with arguments after bl knowledge, for example {"args":["service","list","--scene","search"]}. The host executes the installed bl executable with a temporary isolated config directory and the same current key/Workspace as the native tools. Connection override flags are rejected. Secrets are passed through the child environment, never tool arguments. Direct shell invocation of bl remains independent and is not the plugin management path.

Tools

ToolParametersReturns
kb_searchquery, agent_id (required), top_k? (default 5, applied client-side), images? (image URLs for multimodal)Scored chunks with source references, plus a total
kb_chatmessage, agent_id (required)The complete answer plus a request_id
kb_manageargsKnowledge management using dsh configuration

agent_id is required in both schemas: the schema cannot tell the model whether this deployment pins a default, and discovering a missing default at call time wastes a round-trip. The configured default is still honoured for programmatic calls that omit it.

The list of deployed services — id, name, and scene — is injected into the conversation as a context message, refreshed periodically and whenever a bl knowledge service command changes the inventory. Long lists are truncated with the total stated, so the model never mistakes a partial list for the full inventory.

Errors

  • HTTP 4xx — most often an agent_id that no longer exists, so the service list is refreshed and appended to the error message for immediate recovery
  • HTTP 5xx — passed through unchanged
  • Missing credentials — the message names the configuration paths (~/.dsh/.env, ~/.dsh/.credentials.yaml, the settings page) and links to the console key page
  • kb_chat timeout — the message explains the server-side multi-turn retrieval and suggests retrying or switching to kb_search

Known limitations

  • kb_chat buffers the server stream, so there is no progress output while it runs.
  • top_k is a client-side cut: the request body carries no such parameter, and how many chunks the server returns is decided by the service configuration.
  • Service names carry the routing signal. The service list API does not return a description field yet, so the model judges what a service covers from its name alone. Name your services after their content (Product docs retrieval, not Service 1).
  • At most two pages per scene are fetched; beyond that the injected list is marked as truncated.

Development

pnpm --filter bailian-kb-dsh run build       # tsc → dist/ (node half) + tsdown → dist/web/client.js (browser half)
pnpm --filter bailian-kb-dsh run typecheck   # node and web tsconfigs
pnpm --filter bailian-kb-dsh run test

For local integration, add the working copy to a dev profile (the patch file is watched by HMR):

dsh plugin --profile dev add <this-repo>/packages/bailian-kb-dsh

Maintenance checklist: docs/agents/dsh-plugin.md.

Contributing

Bug reports, feature requests, and PRs are welcome. See CONTRIBUTING.md for developer setup and the contribution workflow.

License

Apache 2.0

The former shared DASHSCOPE_API_KEY is no longer read, modified, or deleted. If the plugin-specific key is absent and bl has no default to import, save a key on each plugin’s page.

相关插件

继续浏览 search-research 分类下经过校验的插件。

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-plugin向模型提供 BrowserSkill 浏览器自动化功能(bsk_* 工具)的 DeepSeek Harness 工具插件Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:27 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel/You.com 无需密钥;通过 MCP 支持 Zhihu 全局/站内搜索,以及 Perplexity/SerpBase/DeepSeek(官方 + 原生工具/搜索)/Baidu/Kimi/Aliyun/Douba)Ab Wechat Scrapedsh-ab-wechat-scrape--- description: "树外 wechat_scrape 工具:获取微信公众号文章,过滤推广区块,并将每篇文章保存为 Markdown 文件,供此机器的 dsh 配置文件维护者使用。" kind: "package-reference" ---Arisdsh-arisARIS research-workflow 技能作为 DeepSeek Harness 捆绑包:包含 82 项技能,以及通过 Codex 进行的跨模型对抗性审查。