DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Agent Gateway — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
A

@longnb47/dsh-agent-gateway

Agent Gateway

将 AI CLI agents 作为 MCP 工具提供给 DSH 的 MCP stdio 网关

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

npx -y @deepseek-ai/dsh plugin --profile web add github:longnb47/dsh-agent-gateway#e9060100733e50528685178809b00503ee9ee732
README兼容性版本

兼容性与来源证明

Agent Gateway 以 @longnb47/dsh-agent-gateway 发布,当前版本为 0.1.0-rc.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/24

版本

0.1.0-rc.2prerelease
2026/8/24

相关插件

正在加载相关插件…

最新版
0.1.0-rc.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
ISC
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/24
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rIm@xmanrui/dsh-im将十一种 IM 渠道和一个公网 AI Office 接入本地 DeepSeek Harness。Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。

README

dsh-agent-gateway

An MCP stdio gateway that exposes local AI CLI agents to DeepSeek Harness (DSH) as MCP tools.

The gateway discovers configured agent profiles, invokes the matching CLI driver, applies the profile policy to the extent supported by that driver, and returns normalized results. DSH remains the orchestrator: it chooses agents, routes work, and verifies results. The gateway does not plan, route, merge, or accept work on DSH's behalf.

subagent_codex is intentionally outside this gateway because it retains DSH's background-job lifecycle. The gateway provides single-shot MCP calls.

Quick start

DSH is currently a developer preview. Install the bundle into the intended DSH profile:

dsh plugin add @longnb47/dsh-agent-gateway@next

Use --profile <profile> when targeting a specific profile:

dsh plugin --profile <profile> add @longnb47/dsh-agent-gateway@next

For an RC distributed as a local package tarball, pass the tarball path instead of the package name:

dsh plugin --profile <profile> add <path-to-package.tgz>

The package declares a DSH bundle patch. Installation adds the package to the profile's bundles and inserts one @deepseek-ai/dsh-mcp-client row named dsh-agent-gateway. That row starts the installed gateway with Node; it does not refer to a developer checkout.

Before starting DSH, create the gateway config at:

~/.dsh/agent-gateway/agents.jsonc

For a zero-cost smoke test, copy examples/agents.example.jsonc to that location. It uses the shipped fake CLI, requires no real AI CLI, makes no network call, and uses no paid service. The fake script path resolves relative to the installed package root.

If you use a custom DSH_HOME, the gateway does not derive its default from it. Set DSH_AGENT_GATEWAY_CONFIG in the MCP row's env configuration; setting it only in your shell does not work because the DSH MCP client scrubs ambient DSH_* variables. See DSH integration.

Restart or start the selected DSH profile after creating the config.

Fake smoke test

From DSH, call these tools in order:

  1. mcp__agent-gateway__list_agents with no input. Confirm that fake-agent is listed.
  2. mcp__agent-gateway__get_agent_status with { "agent": "fake-agent" }. Confirm that the fake executable/version/auth readiness result is returned without reading credentials.
  3. mcp__agent-gateway__call_agent with a real absolute workspace directory:
{
  "agent": "fake-agent",
  "task": "Return a smoke-test response.",
  "cwd": "<absolute path to a workspace>",
  "timeoutSeconds": 60
}

The fake call returns the same normalized AgentResult shape as a real driver, without contacting an AI service.

Tool surface

DSH exposes MCP tools as mcp__<serverName>__<rawName>. The public bundle uses serverName: agent-gateway, so the tools are:

  • mcp__agent-gateway__list_agents returns enabled profiles, including name, label, description, purposes, policy, driver, kind, costTier, constraints, and enforcementSummary.
  • mcp__agent-gateway__call_agent accepts { agent, task, cwd, model?, effort?, timeoutSeconds? }. It returns a normalized AgentResult with status (success, error, timeout, or cancelled), a response or structured error { phase, code, message }, and metadata.
  • mcp__agent-gateway__get_agent_status accepts { agent } and reports executable, version, and auth readiness without reading or returning credentials.

Drivers and enforcement

KindPurposeRead-only enforcement
fakeOffline smoke tests and fixturesNo real AI CLI; no network or paid service
agyAGY headless specialist callsBest-effort, permission-based; not an OS sandbox
codexCodex one-shot specialist callsHard read-only sandbox for read-only profiles
opencodeOpenCode specialist callsBest-effort

Policy intent and actual enforcement are different. The gateway reports the requested policy and driver enforcement honestly; DSH must still treat agent output as untrusted evidence and verify it.

Missing or invalid config

The public bundle deliberately uses failOnStartupError: false. If the config file is missing or invalid, the gateway writes an actionable error to its stderr, which the DSH MCP client forwards to DSH output/logs. DSH continues booting, but the gateway tools are not registered.

The bundle also sets reconnect.maxAttempts: 3, bounding the failure noise to about four total spawn attempts (roughly 3.5 seconds) instead of the MCP client's default ten retries. Check the config path proactively rather than relying only on child stderr. After setup, you may change the profile row to failOnStartupError: true for fail-fast startup or raise reconnect.maxAttempts if longer recovery is appropriate. See Troubleshooting.

Compatibility

ComponentStatus
DSH 0.1.1-rc.2, Node 24 shipped with DSH, WindowsVerified together
Node >=22.3.0Required by the bundle's process.getBuiltinModule expression; compatibility floor is unverified
Linux and macOSUnverified; no tests yet

A new DSH minor or RC may change the bundle loader or MCP client because DSH is a developer preview.

Security

  • A bundle patch can contain !!js, which executes during config loading. The package and its patch are trusted code; inspect packages before installation.
  • The gateway launches local CLIs with the current user's privileges. Config cannot supply arbitrary shell arguments: drivers own argv construction and processes use shell: false.
  • Secrets are passed only through driver-specific environment allowlists. They are never logged, included in result metadata, or packed in the package tarball. Do not store API keys or tokens in agents.jsonc.
  • Read-only enforcement varies by driver as shown above. DSH must verify all agent output.

See SECURITY.md for the threat boundaries and reporting process.

Documentation

  • Configuration reference
  • DSH bundle integration
  • Troubleshooting
  • Security policy
  • Changelog

Repository: https://github.com/longnb47/dsh-agent-gateway