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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-shadow-mind

Shadow Mind

Parallel cognitive runtime for DeepSeek Harness, ported from pi-shadow-mind

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-shadow-mind@0.1.4
READMECompatibilityVersions

Compatibility and provenance

Shadow Mind is published as dsh-shadow-mind and currently resolves to version 0.1.4. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
11/4/2026

Versions

0.4.2stable
8/23/2026
0.1.4stable
8/16/2026
0.1.3stable
8/16/2026

Related plugins

Loading related plugins…

Latest
0.1.4
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
149.8 kB
Files
62
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
46
Last push
8/25/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 Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundleRun explicitly requested repeated work with fresh agents.Subagent 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-shadow-mind

Parallel cognitive runtime for DeepSeek Harness (DSH / Cordis).

This package is a DSH port of the original pi-shadow-mind project, which runs multiple "Shadow Mind" agents beside a main agent to provide independent reviews, fact-checking, and parallel cognitive work.

Status: functional prototype / early port. Core heartbeat scheduling, read-only shadow agents, and management tools work end-to-end. Several advanced features from pi-shadow-mind are not yet fully migrated. See Gaps vs pi-shadow-mind below.

Relation to pi-shadow-mind

  • Original project: https://github.com/liuzhengdongfortest/pi-shadow-mind
  • This port adapts the same concepts to the DSH/Cordis runtime.
  • Because DSH uses different primitives (continuable subagents, native background notices, and the Cordis plugin model), the implementation is not a line-by-line translation.

Features

  • Heartbeat scheduling: After each main-agent turn, randomly activates configured Shadow Minds.
  • Read-only shadows: Each shadow receives a sanitized main-session trajectory and a restricted tool allowlist.
  • Management tools: Create, update, delete, list, enable, and disable shadow definitions via model tools.
  • Config tools: Read and write the global config.json via model tools.
  • Pause/resume/epoch: /shadow pause and /shadow resume; new user input increments the epoch and cancels running shadows from the previous epoch.
  • Tool-call argument redaction: Tool-call arguments are redacted before being forwarded to shadows (credentials are not leaked). Tool results are summarized.

Installation

DSH plugins are loaded through a Cordis composition (profile or agent preset).

1. Install the package into a DSH profile

dsh plugin --profile web add dsh-shadow-mind

For local development, point to the package directory instead:

dsh plugin --profile web add /path/to/dsh-shadow-mind

2. Restart DSH

The package ships a cordis.patch.yml. dsh plugin --profile web add applies it automatically, so no manual cordis.yml editing is needed.

Restart DSH and the plugin will be loaded. The package exports a default Cordis plugin factory from dist/index.js.

Configuration

Shadow definitions and global config live in:

~/.dsh/agent/shadow-minds/
├── config.json
├── grounded-reviewer.md
├── requirement-keeper.md
└── ...

Example config.json:

{
  "heartbeat_probability": 0.33,
  "max_parallel_shadows": 2,
  "default_shadow_timeout_seconds": 120,
  "headless_drain_timeout_seconds": 30,
  "result_batch_window_ms": 5000,
  "default_shadow_model": null,
  "default_thinking_level": "low",
  "random_seed": null
}

Example shadow definition grounded-reviewer.md:

---
id: grounded-reviewer
name: Project Grounding Checker
enabled: true
activation_probability: 0.6
run_with_model: openai/gpt-5-mini
thinking_level: low
tools:
  - read
  - grep
  - glob
---

Check whether the main agent's claims are supported by the current workspace. If nothing is worth reporting, reply exactly: NOT_RELEVANT.

Commands

Use the single /shadow umbrella command:

/shadow status
/shadow probe <id> [tools]
/shadow list
/shadow clean
/shadow auto <on|off>
/shadow pause
/shadow resume

Management Tools

These are registered as model-callable tools:

  • list_shadows
  • create_shadow
  • update_shadow
  • delete_shadow
  • enable_shadow
  • disable_shadow
  • trigger_shadow
  • read_shadow_config
  • write_shadow_config

Gaps vs pi-shadow-mind

The following features from the original pi-shadow-mind are not yet fully migrated:

FeatureStatus
Independent Shadow AgentSessionPartial: DSH continuable subagents are used instead of a separate Pi AgentSession.
report_to_main toolMissing: DSH native background notices are used instead. Report batching and steer/followUp are not yet replicated.
Tool allowlist resolution (resolveShadowTools)Simplified: missing-tool reporting and report_to_main injection are not implemented.
Per-shadow model auth checkMissing: run_with_model is passed as agentOptions, but auth validation is not performed.
Per-shadow timeout_secondsNot enforced: DSH subagent spec does not expose a direct per-run timeout.
Per-shadow thinking_levelNot applied: DSH uses reasoning effort, which is not yet mapped.
Shutdown drain / headless modeMissing: no waitForSettled or headless drain.
Debug session logsSkipped: per-user request, no JSONL session logs are written.
UI status panel / message rendererPartial: a Client indicator exists in the dynamic prototype; the real package currently only exposes /shadow.
Test suiteMissing: original tests were removed during the port and not yet rewritten for DSH.

See the original DESIGN.md for the full design (this is the original pi-shadow-mind design; it describes goals that are only partially implemented in this DSH port).

Development

npm install
npm run typecheck
npm run build

License

MIT