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.

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

dsh-amp

Amp

DeepSeek Harness bundle that runs the local Amp CLI as a subagent provider per Amp mode, plus a steerable long-lived session

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

npx -y @deepseek-ai/dsh plugin --profile web add github:catoncat/dsh-amp#e7b155e3db1d1399b587c06c4ab3bede5fe94e1b
READMECompatibilityVersions

Compatibility and provenance

Amp is published as dsh-amp 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
web
Release source
github
Registry updated
9/14/2026

Versions

0.1.0stable
9/14/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/14/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 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-amp

Run the local Amp CLI as a subagent provider for DeepSeek Harness (dsh) — plus a second, steerable path that keeps an Amp process alive across turns.

Unofficial community adapter. Not affiliated with, endorsed by, or supported by Amp/Sourcegraph or DeepSeek. It drives the amp binary you already have installed.

LanguageJavaScript (ESM, no build step, no runtime dependencies of its own)
HostDeepSeek Harness 0.1.5-rc.x
External binaryamp CLI (amp --version must work)
Testsbash test/run.sh — 164 behavioural tests, no network, no credits
LicenseMIT

What it gives you

1. One-shot delegation — two tools, one per Amp mode.

subagent_amp_low        subagent_amp_medium

They are ordinary ctx.subagents providers, so they behave like every other delegation in the harness: the child runs out of process, the parent gets a result, the run is disposable. Amp modes map to provider names (amp-<mode>), and the preset decides which of them the model can see.

2. A steerable session — four tools.

ToolWhat it does
amp_runStarts an Amp process on a task and returns immediately with a run handle.
amp_send_messageSends one more message: steering while the child is busy, a new turn while it is idle. Also returns everything produced since the previous read.
amp_stopEnds the run and returns its output.
amp_runsLists runs that left a record on disk — the rescue surface after a crash or restart.
amp_accountsBalances, which account the next dispatch would take, and the fingerprint of the loaded build.

The run stays open after a turn ends: the delegating agent is notified and can keep talking to the same child, or stop it and collect everything.

3. Account pool with balance awareness. Each Amp credential ref in ~/.dsh/settings.yaml is a pool entry. Dispatch skips accounts that are throttled or out of headroom, remembers refusals for their own window, and never silently falls back to the machine's amp login account (a run whose credential cannot be resolved is refused).

4. Durable records. Every live run appends a redacted stream plus a checkpoint under $DSH_HOME/state/dsh-amp/runs/, so a killed or crashed run is still readable — and durability is reported honestly when a record is incomplete.

Requirements

  • DeepSeek Harness with a subagents registry, a subprocess service, credentials, and (for the live path) the jobs row. The live tools refuse to start a run on a host without jobs.
  • The Amp CLI on PATH (or ampBin pointing at it).
  • One or more Amp credential refs in ~/.dsh/.credentials.yaml.

Install

# 1) clone somewhere permanent
git clone https://github.com/<you>/dsh-amp.git ~/.dsh/plugins/dsh-amp

# 2) point your profile at it (this is a DSH bundle)
cd ~/.dsh/profiles/<profile>
npm install --save ~/.dsh/plugins/dsh-amp

# 3) grant the tools in an agent preset (agent plane), and add the host row

The bundle contributes a host-plane row (cordis.patch.yml): it registers one amp-<mode> subagent provider per configured mode, provides the ampAccounts service, and registers the dsh-amp settings namespace. It deliberately does not grant the model-facing tools — subagent_amp_* and the amp_run family belong in an agent preset, exactly like the shipped tool-subagent rows.

Mode list:

# cordis.patch.yml (this repo)
- insert:
    - id: amp
      name: 'dsh-amp'
      config:
        modes: [low, medium]

Configure

Everything below lives in the dsh-amp section of the settings UI (or settings.yaml):

KeyDefaultMeaning
accountRefs[AMP_API_KEY_1]Credential refs that make up the pool, in preference order.
modes[low, medium, high, ultra]Which providers to register. Changing this needs a restart: tool schemas pin the enum at mount.
ampBinampThe executable to run.
visibilityprivatePassed to amp --visibility.
keepThreadstruePass --no-archive-after-execute so the thread stays addressable for audit.
liveIdleTimeoutMs1200000Idle bound after which the sweeper closes a forgotten run.
graceMs10000Termination grace handed to the subprocess seam.

Testing

bash test/run.sh     # 164 tests; fakes the DSH seam, never touches your real ledger
bash deploy.sh       # copy this tree into the installed profile copy, with hashes
bash verify.sh       # tests + drift + the hash table to compare after a restart

The suite needs the DSH packages (@deepseek-ai/dsh-tools, -llm, -subagent, schemastery) to resolve. It finds them from a global DSH install; override with:

DSH_NODE_MODULES=/path/to/@deepseek-ai/dsh/node_modules bash test/run.sh

Operating notes (read before trusting a deploy)

  • A plugin edit changes nothing until the host restarts — the bundle is loaded in-process as a real copy under profiles/<name>/node_modules/dsh-amp. deploy.sh --check says in-sync even when the running process still holds the previous build. The only proof of what is loaded is the runtime fingerprint: amp_accounts.source.hash (host plane) and amp_run.source.hash (agent plane).
  • Notifications are the point. The plugin mirrors the host's per-agent wake budget: up to three consecutive wakeups, then it degrades to an in-step inject instead of dropping the notice.
  • Balance figures come from amp usage, which costs nothing and starts no agent; a probe has a real 20s deadline and a failed read is treated as unknown, never as zero.
  • Known limits are listed in docs/USABLE.md §3 — including that Amp has no turn-level cancel (stopping ends the run) and no non-interactive thread continuation, so continuing means reading the artifact and starting a new run.

Documentation

FileContents
docs/USABLE.mdWhat works, how to read a notice, and the honest boundary list.
docs/AMP-LIMITS.mdMeasured upstream behaviour (floors, rate-limit window, cost samples) with evidence strength.
docs/DESIGN.mdWhy the plugin is shaped this way.
docs/CHANGELOG.mdEvery batch, with the test or measurement each change rests on.
docs/REVIEW-LOG.mdThe disposition of every finding from eight review rounds.
docs/reviews/The review reports themselves.

The engineering docs are written in Chinese; the code, comments, and commit trail are English.

Security

  • The Amp token is read from a DSH credential ref at dispatch time and injected as AMP_API_KEY on one child process. Credential-shaped ambient variables are scrubbed by the subprocess seam before that merge.
  • Token-shaped literals are redacted on their way into transcripts, diagnostics, and the on-disk run record.
  • The account view is a loopback-only JSON route that also requires a matching Host/Origin and the plugin's own header.
  • Never commit .credentials.yaml, settings.yaml, or state/ — .gitignore covers them.

Contributing

See CONTRIBUTING.md. The short version: bash verify.sh must be green, and a behaviour change needs a test that fails without it.

License

MIT — see LICENSE.