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.

Sage Router — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@kingjazz/dsh-sage-router

Sage Router

SAGE routing as a DeepSeek Harness plugin: progress-aware SELF/HANDOFF/COLLABORATE routing and task-DAG scheduling for A2A agent networks

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

npx -y @deepseek-ai/dsh plugin --profile web add @kingjazz/dsh-sage-router@0.1.0
READMECompatibilityVersions

Compatibility and provenance

Sage Router is published as @kingjazz/dsh-sage-router and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

0.1.0stable
8/26/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
287.2 kB
Files
67
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
11
Last push
8/26/2026
View source ↗Project homepage ↗
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 agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

dsh-sage-router

SAGE routing as a DeepSeek Harness plugin. The plugin exposes sage_route_task and sage_orchestrate_task, and keeps model/provider credentials in the host Harness profile; no credential is stored in this package.

Real LLM smoke

The fixed smoke baseline is @deepseek-ai/dsh 0.1.1-rc.2. Build and install the bundle into a profile, then run the opt-in install/config/model smoke:

pnpm install --frozen-lockfile
pnpm run build
SAGE_DSH_BIN=dsh SAGE_DSH_PROFILE=headless SAGE_DSH_VERSION=0.1.1-rc.2 pnpm run smoke:harness

SAGE_DSH_BIN is useful when more than one global dsh installation is on PATH. The command must point to the same Harness CLI/profile that owns the configured provider and credentials. smoke:harness runs dsh plugin add, verifies --dump-config, checks the fixed CLI version, and asks the real model to call sage_route_task once.

The ordinary pnpm test suite skips the model call unless SAGE_LLM_SMOKE=1 is set.

Subagent execution

The plugin exposes sage_orchestrate_task. Keep autoOrchestrate: false for route-only operation. When enabled, each declared agent may set provider and model for its LLM, plus subagentProvider: spawn or fork for the Harness child backend. maxDelegationDepth defaults to 1 and is passed to the Harness depth-limit seam. Child cancellation, tool filtering, and lifecycle ownership remain enforced by ctx.subagents.

Event persistence and recovery

When the calling Agent has a Harness session, the plugin can append four log-only event types: sage/route, sage/execution, sage/outcome, and sage/model-update. They contain route identifiers, declared Agent IDs, requirement names, scores, costs, latency, error codes, and numeric learning state only; prompts, credentials, files, tool arguments, and child transcripts are not persisted by SAGE.

These session-log appends are off by default (sessionEventLog: false). Harness builds that do not know the sage/* types refuse to resume any session whose log contains them unless each event is marked ignorable, and current Harness releases give plugins no way to set that marker — writing unmarked custom events permanently breaks resume for that session. Enable sessionEventLog: true only on a Harness that natively supports these types or ignorable/registered custom events. Learning state does not depend on this option: it is stored through the storage domain regardless.

If the Harness storage-domain service is loaded, the plugin stores the latest learning snapshot under the sage_router_learning domain. Revisions use compare-and-set semantics, so a stale process cannot overwrite newer learning. Session events (when present, including historical logs) can be folded to restore route assignments and the last consistent learning revision. If an append or flush fails, orchestration returns persistenceUncertain: true instead of reporting a durable success.