DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-agent-orchestrator

G

dsh-agent-orchestrator

Manifest valid★ 1

Multi-agent task decomposition, DAG workflow orchestration, and prompt caching optimizer for DeepSeek Harness

UI (client)hasBundlePatch

📦 @goodandready/dsh-agent-orchestrator

Multi-Agent Task Decomposition, DAG Workflow Orchestration & Prompt Caching Engine for DeepSeek Harness

npm version license DSH Plugin Node version

All Author Projects

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明

⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.

🐛 If you find a bug or would like to request a feature, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version.

⚡ Overview & The Problem

Single-agent software engineering architectures suffer from cognitive overload when tasked with complex multi-stage projects: monolithic prompts conflate architecture, styling, core business logic, testing, and documentation into a single generation pass, leading to hallucinated contracts, regression bugs, and excessive token expenditure.

Furthermore, executing multiple subagents independently often resets the LLM KV-cache on each turn, forfeiting prefix cache reuse and incurring substantial latency and financial overhead.

@goodandready/dsh-agent-orchestrator introduces an autonomous multi-agent orchestration framework to DeepSeek Harness:

  1. Intelligent Triage & Decomposition: Analyzes high-level objectives from chat or Kanban cards and breaks them down into fine-grained stages across 12 specialized agent roles.
  2. DAG Execution Engine: Schedules tasks based on Directed Acyclic Graph dependencies, running independent stages concurrently while strictly enforcing blocker gates.
  3. KV-Cache / Prompt Caching Optimizer: Guarantees byte-level prefix invariance for subagents sharing identical models, unlocking 80–90% prompt token cache hits and near-instant TTFT.
  4. Strict Separation of Duties: Backend implementation, UI interface design, and frontend client assembly are strictly isolated into distinct personas and execution stages.
  5. Dual Surface Integration: Dispatched natively via /orchestrate in DSH chat (with a sticky header milestone card) or via @goodandready/dsh-kanban task boards.

🏗️ Architecture

graph TD
    Trigger["Input Task<br/>(/orchestrate in Chat or Kanban Card)"] --> Main["Lead Orchestrator (Triage)"]
    
    subgraph Engine ["DAG Engine & Prompt Caching"]
        L1["Layer 1: Canonical Base Anchor (>1024 tokens)"]
        L2["Layer 2: Shared Task Anchor"]
        L3["Layer 3: Cumulative Artifacts (Append-Only)"]
        L4["Layer 4: Role Suffix Directive"]
    end

    Main --> Engine

    subgraph AgentPool ["Configured Agent Personas (Self-Contained in Settings)"]
        R1["Technical Spec Analyst"]
        R2["System Architect"]
        R3["UI/UX Interface Designer"]
        R4["Backend Developer"]
        R5["Frontend Developer"]
        R6["QA Automation Specialist"]
        R7["Documentation Specialist"]
    end

    Engine --> AgentPool
    AgentPool --> Delivery["Orchestrated Delivery<br/>(Header Utility Card & Kanban Sync)"]

👥 12 Built-In Specialized Agent Roles

All agent profiles are completely self-contained within plugin settings (no external file dependencies):

Role IDTitleSpecializationStrict Boundaries
specTechnical Spec AnalystRequirements, Acceptance Criteria (DoD), SchemasNever writes implementation or styling
architectureSystem ArchitectSystem Design, DESIGN.md, ADR, Modular ContractsNever implements production code or deploys
ui_designUI/UX Interface DesignerLayouts, Theme Tokens (--dsw-alias-*), SlotsNever writes backend Cordis services
frontendFrontend DeveloperReact Components, Client Hooks, DOM EventsNever alters backend routes or DB schemas
backendBackend DeveloperCordis Services, WebServer Routes, Data StoreNever writes client React JSX or styles
fullstackFullstack IntegratorClient-Server Contract Wiring, End-to-End FlowAdheres strictly to modular limits
qa_testsQA Automation SpecialistUnit Tests (node:test), Boundary VerificationVerifies without external network calls
bugfixHotfix & Triage EngineerRoot-Cause Diagnosis, Minimal Blast Radius FixesNever refactors unrelated code
docsDocumentation SpecialistTrilingual Documentation (en/ru/zh), ReleasesNever overwrites previous documentation
refactoringRefactoring SpecialistComplexity Reduction (YAGNI), Bundle CompressionPreserves backwards compatibility
researchResearch & Spike EngineerTechnology Evaluation, Library Trade-OffsDelivers analysis; never merges spike code
devopsDevOps & Tooling EngineerPackage Manifests, Build Verification, SystemdNever exposes private network credentials

🔄 Complexity Scenarios

  1. Hotfix / Trivial (1 Stage): Instant defect elimination or single-parameter tweak.
  2. Simple (2 Stages): Discussion & Spec $\rightarrow$ Targeted Execution.
  3. Medium (3–4 Stages): Spec $\rightarrow$ UI Design $\rightarrow$ Frontend Code $\rightarrow$ QA Tests.
  4. Complex (5–6 Stages): Spec $\rightarrow$ Architecture $\rightarrow$ UI Design $\rightarrow$ Implementation $\rightarrow$ QA $\rightarrow$ Trilingual Docs.
  5. Enterprise / Deep R&D (7 Stages): Spike Research $\rightarrow$ Spec $\rightarrow$ Architecture $\rightarrow$ Parallel Backend & UI Design $\rightarrow$ Frontend Assembly $\rightarrow$ Comprehensive QA $\rightarrow$ Documentation Gate.
  6. Custom DAG Scenarios: Fully configurable in plugin settings with custom stages and blocker checkboxes.

⚡ Prompt Caching Mechanics

Modern LLMs (DeepSeek-V3, Claude 3.5 Sonnet, vLLM) cache prompt KV states strictly from the first token forward. If non-deterministic timestamps or random IDs are placed in the prompt header, cache hit rate drops to 0%.

dsh-agent-orchestrator enforces a 4-layer canonical layout:

  1. Layer 1: Static Base Anchor (>1024 tokens): Byte-identical guidelines and tools definition common across all agents.
  2. Layer 2: Shared Task Anchor: Stable description of user objective and target repository.
  3. Layer 3: Cumulative Context (Append-Only): Outputs of predecessor stages appended in a deterministic sequence, preserving 100% of the preceding KV-cache.
  4. Layer 4: Role Directive (Suffix): Role persona prompt, skills, and subtask-specific scope appended at the end.

This architecture delivers 80–95% cache hits across subagents utilizing the same model, reducing TTFT and cutting token costs by ~90%.


💻 Usage

1. In DSH Chat via Slash Command

/orchestrate Design and build a settings card for the finance plugin

Explicit scenario selection:

/orchestrate complex Build a multi-tenant authentication provider
/orchestrate hotfix Fix null reference in store.js

Short alias:

/orc Refactor state management

2. In @goodandready/dsh-kanban

  • Open any card on the board.
  • Click [Собрать пайплайн / Assemble Pipeline].
  • Select the complexity preset or allow auto-triage.
  • The card automatically reflects stage transitions and advances to Review upon completion.

🧪 Verification & Automated Testing

Execute the native test suite (121 passing tests across 53 suites, zero network dependencies):

node --test test/*.test.mjs

Verify npm package bundle size compliance (<256 KiB threshold):

npm pack --dry-run --json

Visual verification

Production acceptance of v0.1.6 — Settings card, Dark and Light themes side by side:

dsh-agent-orchestrator v0.1.6 visual verification


📄 License

MIT © GooDAnDReaDY

Compatibility

DSH 0.2.1-rc.1: failedDSH 0.1.7-rc.1: failedDSH 0.1.7-rc.2: failed

Versions

Latest versionPublishedSize
0.1.6——
0.1.7——
0.1.8——
0.1.9——
0.1.10——
0.1.11——
0.1.12——
0.1.13——

Comments

Loading…

From the same category

dsh-purge

by kingcharleslzy-ai

Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 6.3k

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-purge-community

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 4k

↓ 7k/wk

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.6k

↓ 470/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 2.5k

↓ 22.1k/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 1.4k

↓ 16.4k/wk

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-bili-scroll

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 1k

↓ 146.7k/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-context