DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Agent Gateway — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
A

@longnb47/dsh-agent-gateway

Agent Gateway

MCP stdio gateway exposing AI CLI agents to DSH as MCP tools

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:longnb47/dsh-agent-gateway#e9060100733e50528685178809b00503ee9ee732
READMECompatibilityVersions

Compatibility and provenance

Agent Gateway is published as @longnb47/dsh-agent-gateway and currently resolves to version 0.1.0-rc.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/24/2026

Versions

0.1.0-rc.2prerelease
8/24/2026

Related plugins

Loading related plugins…

Latest
0.1.0-rc.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
ISC
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
8/24/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rIm@xmanrui/dsh-im把十一种 IM 渠道和公网 AI Office 接入本机 DeepSeek Harness。 Connect eleven IM channels and a public AI Office to a local DeepSeek Harness.Pocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

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