DSH Workflow

Turns DeepSeek Harness's one-off multi-agent fan-outs into saved, governed, observable and resumable workflows.

Stars
★ 159
Last updated
11d ago
FARS reviewed
Dec 02, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
Agent plugin / skillCLI
Works with
Platform-specific
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js >=24.9DeepSeek Harness 0.2.2-rc.5pnpmShell / CLINetwork accessLocal filesystem
Typical use
Teams that re-describe the same decomposition every turn: save it as a project or personal named workflow and invoke /workflow parallel-investigation {"question": ...} instead.
Not a fit if
  • Teams standardized on Claude Code, Codex or other agent runtimes
  • Environments stuck on Node 22 or older DSH releases
  • Projects needing mutation verification on non-Git workspaces without a custom adapter
Maintenance
Commits in the last 30 dayslast commit 2026-11-22
Source review
69/100 · Some gaps

What does this agent do, and when should you use it?

@dsh-external/workflow is a DeepSeek Harness (DSH) plugin that upgrades one-off multi-agent orchestration into reusable, governed, observable and resumable workflow assets. Workflows are authored as strict dsh.workflow v1 capsules carrying manifest, source, intent, inputs, requirements and provenance, and executed through async function run(wf, args) with phases, agent spawn/run/wait/snapshot/output/send/stop, parallel, pipeline, synthesis, one-level nesting, artifacts and budget visibility. The model-facing surface is three tools — workflow_list, run_workflow and workflow_manage — plus a /workflow command family for list, create, run, review, show, stop and runs. Generated scripts run in a separate QuickJS WebAssembly heap behind a JSON-only capability bridge with bounded CPU slices, wall time, memory and stack; read-only tasks intersect the parent agent's visible catalog with a trusted allow-list and are further guarded by a creation-time tool mask and a monotonic execution guard. Runs are durable: immutable snapshots, cached resume, retention, and native tool-workflow/* session events keep a background workflow running after its launching tool step closes, with real run-end deciding completion, failure or cancellation. It requires Node.js >=24.9 and DSH 0.2.2-rc.5 at the revision pinned in compatibility.json, and is MIT licensed.

It discovers project and personal workflows deterministically (with identity ambiguity checks), validates the capsule manifest and source, runs preflight, then executes run(wf, args) inside a QuickJS WASM heap whose only outbound path is a host-provided JSON capability bridge — imports, process/filesystem/shell/network access, timers and nondeterministic clock/randomness are rejected. During execution the script drives agent spawn/run/wait/snapshot/output/send/stop, parallel/pipeline/synthesis combinators and one-level nesting, and the host projects ProcessSnapshot, WorkflowOutcome and AgentResult with routes, usage, artifacts, verification evidence and replay origin. Starts return { runId, status, jobId? } immediately unless wait: true or --wait is used; long runs become DSH background jobs reported through tool-workflow/* events. workflow_manage and /workflow handle save, archive, rename, revise, delete, snapshot rerun, cache resume and retention. /workflow review captures Git scope, writes content-addressed, non-overwriting review packets through writeReviewPackets(), and launches a built-in scoped review with strict schemas, a second high-risk primary, per-finding verification and an audit artifact. /workflow create hands explicit authoring intent to the current Agent, which scouts with its normal tools and then calls run_workflow with source + manifest, gated by a three-attempt repair loop, quality lint, preflight and approval.

  1. Teams that re-describe the same decomposition every turn: save it as a project or personal named workflow and invoke /workflow parallel-investigation {"question": ...} instead.
  2. Engineers running high-risk code review: /workflow review --risk high --requirement ... --test-evidence ... captures Git scope and produces packet-based evidence, per-finding verification and an audit artifact.
  3. Long-running investigations that must outlive a turn: the start returns a runId immediately and execution continues as a DSH background job while chat stays usable.
  4. Runs interrupted by restarts: resume via snapshot rerun and effect-cache instead of starting over.
  5. Teams that want the agent to author its own reusable processes: /workflow create <request> takes the scout-then-author path, with preflight, quality lint and approval before a real child starts.
  6. Platform groups turning multi-agent know-how into shareable assets: two concrete built-ins (including packet-based scoped review) plus coverage of all six KodaX workflow patterns.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
DSH_SNAPSHOT_DIR
Config files
compatibility.json
Runtime
Node.js 24.9+

How do you install or deploy this agent?

Requires Node.js >=24.9 and DSH 0.2.2-rc.5 at the revision pinned in compatibility.json. Plugin 0.1.6 targets that release train; older DSH and Node 22 are unsupported. Install straight from GitHub and verify the profile config:

dsh plugin --profile web add "github:dsh-external/dsh_workflow#main"
dsh --profile web --dump-config

For a local checkout, build an installable bundle and pass its path to DSH:

pnpm pack
dsh plugin --profile web add ./dsh-external-workflow-0.1.6.tgz

Restart the profile afterwards. Developing the repository itself additionally needs a compatible DeepSeek Harness checkout at ../deepseek-harness (or DSH_SNAPSHOT_DIR pointing at its absolute path) with its dependencies installed:

fnm use
pnpm install
pnpm check
pnpm test:coverage
pnpm pack

How do you use this agent?

After restarting the profile, confirm the plugin loaded:

/workflow list

Run a built-in workflow and inspect run history:

/workflow parallel-investigation {"question":"Why is this test flaky?"}
/workflow runs

Launch a high-risk review (--wait blocks for the result; omit it to get a runId immediately):

/workflow review --risk high --requirement "preserve the public API" --test-evidence "pnpm test passed" --wait

Have the current Agent author a reusable workflow:

/workflow create Design a reusable parallel security review for this repository

The model calls three tools: workflow_list to enumerate workflows, run_workflow to start one from source + manifest (tool input uses wait: true), and workflow_manage for save, archive, rename, revise, delete and run management. /workflow show defaults to the latest run and /workflow stop to the active one; /workflow create and free-text requests are handed to the current Agent and therefore reject --wait.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Runs are durable assets: immutable snapshots, events, artifacts, summary and cost are retained and can be rerun or cache-resumed from history instead of living only in chat.
  • The sandbox boundary is concrete: generated scripts run in a separate QuickJS WebAssembly heap with only a JSON capability bridge, explicitly rejecting imports, process/filesystem/shell/network access, timers and nondeterministic sources, with bounded CPU, wall time, memory and stack.
  • Read-only execution is layered: the parent agent's visible tool catalog is intersected with a trusted allow-list, then a creation-time global tool mask and a monotonic execution guard block unknown mutation tools, including scoped registrations.
  • Deep composition with DSH primitives — Cordis services, subagent providers, tool restrictions, approval flow, Session log, background jobs, commands and native tool-workflow/* events, so a background workflow is not falsely marked interrupted when its tool step closes.
  • Two concrete built-ins ship in the box, including a packet-based scoped review with strict schemas, read contracts, a second high-risk primary, per-finding verification and an audit artifact, plus all six KodaX workflow patterns.
  • Validation is substantive: 183 tests with enforced 80% statement/branch/function/line coverage, and pnpm check exercises thirteen real DSH execution scenarios without network model calls.
Limitations
  • Hard runtime pinning: Node.js >=24.9 and DSH 0.2.2-rc.5 at the revision in compatibility.json; older DSH and Node 22 are explicitly unsupported.
  • Existing-agent targets and worktree isolation need deployment-provided dispatch/isolation adapters before they work.
  • Only generated capsule runs carry immutable source snapshots that can be saved and rerun from history.
  • KodaX capsules are not treated as wire-compatible with dsh.workflow v1, so porting existing KodaX workflows means rewriting them.
  • Trusted-local .ts relies on Node's native erasable syntax and module cache, so you must restart DSH after edits and publish as .mjs/.js when you need transform-only syntax or hot reload.
  • Built-in verification covers observed tool/read evidence and Git workspace mutation; non-Git or external-authority policies require registering a verification adapter.
  • Native structured capture needs a local continuable provider — unsupported remote transports fail before startup.

How does this agent compare with similar options?

Versus DSH's native workflow tool: that tool remains the better fit for a single foreground fan-out, while this plugin is the reusable process layer above it, adding saving, governance, snapshots and resume. Versus KodaX: this project independently implements the same capability model, referencing behavior only and not copying KodaX's source-available code, and KodaX capsules are not wire-compatible with dsh.workflow v1. Versus other agent runtimes such as Claude Code: it is a DSH-only plugin — the Claude Code UltraCode mode mentioned in the README is a capability reference, not a supported integration path.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
DSH Workflow This agent 69 · Some gaps Agent plugin / skillFree + model costs ★ 159 11d ago TypeScript —
LoopForge 68 · Some gaps Self-hosted serviceFree + model costs ★ 6.2k today Go Codex · Claude Code
Our Free Model for DeepSeek Harness 69 · Some gaps Agent plugin / skillFree ★ 93k 3d ago JavaScript Codex · Claude Code · OpenAI API · Claude API
DeterminFlow 73 · Some gaps Desktop appFree + model costs ★ 986 2mo ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
69/ 100 5-point scale 3.5 / 5
Trust 17/29
Reliability 11/14
Adaptability 14/18
Convention 14/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

SECURITY.md, CONFIGURATION.md, and README describe QuickJS/WASM isolation, a JSON capability bridge, read-only tool allow-lists, approvalMode, and atomic/rollback-safe catalog writes, which supports scores of 2 for least_privilege, user_confirmation, data_flow_transparency, external_effects, and rollback. They are not 3 because src/index.ts and lib/index.js still import node:child_process execFile directly, and the sample does not show the approval or tool-mask implementation. sensitive_data_handling is only 1: SECURITY.md warns against putting tokens, proprietary workflow contents, full Session logs, or secret-revealing paths in public reports, but no runtime redaction, encryption, or retention policy for artifacts/logs is shown. dependency_security is 1: package.json pins quickjs-emscripten 0.32.0 and lists DSH peer dependencies, but there is no dependency audit, SBOM, vulnerability response, or lockfile evidence. source_attribution is 2: README acknowledges KodaX behavior without copying its source and capsules carry provenance, but there is no fuller third-party notice; the unverified publisher neither adds nor deducts points.

Reliability11 / 14 · 3.9/5

README version 0.1.6, package.json, and tests are broadly aligned, but the object repository omdsh-dev/dsh_workflow does not match package.json repository dsh-external/dsh_workflow and this is unexplained, so self_consistency is 2. dependency_availability is 2: versions are explicit and tied to DSH 0.2.2-rc.5 and Node >=24.9, but availability of RC and external DeepSeek packages is not proven by the sample. failure_messages is 3: tests show specific errors for unenforceable read-only execution, missing structured-output capability, failure after three repair attempts, and capsule field validation, so ordinary failure reporting is well evidenced.

Adaptability14 / 18 · 3.9/5

README and CONFIGURATION.md provide installation, configuration, command, and adapter scenarios, so audience_and_scenarios is 2, though the audience is limited to DSH users who can provide a local continuable provider. capability_boundaries is 3: Known limitations in README, trust classes in SECURITY.md, and adapter/budget semantics in CONFIGURATION.md clearly separate generated code, trusted-local code, external providers, worktrees, and verification boundaries. trigger_precision is 2: /workflow create, free-text requests, --wait, tool names, and defaults are documented, but command semantics remain complex and the command implementation is not fully shown. environment_fit is 2: Node 24.9, DSH 0.2.2-rc.5, ../deepseek-harness, or DSH_SNAPSHOT_DIR are stated, making it a constrained but documented environment.

Convention14 / 18 · 3.9/5

README links parity, configuration, security, and validation docs, so information_architecture is 2. install_notes is 3: install commands, local packing, Node/DSH versions, and development steps are clearly documented. naming_stability is 2: package, tool, and capsule name rules are clear and partly configurable, but there is no formal naming or deprecation policy. examples_and_faq is 2: README and CONFIGURATION.md have examples, but no FAQ is visible. known_limitations is 3: README has a dedicated section covering trusted-local TypeScript, worktree isolation, verification adapters, immutable snapshots, and KodaX wire incompatibility. license is 3: the MIT LICENSE is complete and matches package.json. versioning_changelog is 2: the package version is explicit and CHANGELOG.md is listed in package.json files, but its content is not in the packet. maintenance_responsibility is 1: only repository/issues URLs and a “contact the repository owner” reporting line are present; publisher identity is unverified and no maintainer commitment or response expectation is documented.

Effectiveness9 / 13 · 3.5/5

output_usability is 2: { runId, status, jobId }, full snapshots, artifacts, and structured results are suitable for integration, but no actual run output is shown. marginal_value is 2: the product turns one-off multi-agent orchestration into a saveable, resumable, governed workflow layer with clear differences from DSH’s native workflow, but the value is largely asserted in README. cost_benefit is 2: token reservation, maxAgents, maxConcurrency, timeouts, and retention caps exist, but there are no performance/cost comparisons and QuickJS, approvals, and adapters add deployment overhead.

Verifiability4 / 8 · 2.5/5

claim_traceability is 2: README points many capabilities to docs/KODAX_PARITY.md, docs/VALIDATION.md, SECURITY.md, and CONFIGURATION.md, and tests contain matching assertions, but no line-by-line claim-to-code/test map is provided. cross_source_corroboration is 2: README, SECURITY.md, CONFIGURATION.md, package.json, and tests corroborate permissions, budgets, error messages, and versions, although the “183 tests and 80% coverage” claim is not backed by a full test report in the packet. fact_inference_separation is 1: the docs mix observed facts, design assertions, and unshown implementation claims without explicit verified/inferred/unverified markers.

Risks and how to mitigate them
  • The default approvalMode is generated-and-local and the sample does not show the approval implementation; verify whether generated workflow starts actually require user confirmation before deployment.
  • The main entry imports node:child_process execFile; review whether that capability is limited to controlled Git scope capture so the workflow layer does not broaden host authority.
  • Run artifacts and Session summaries may be stored under .dsh/workflow-runs, while SECURITY.md provides no runtime redaction, encryption, or retention policy for sensitive data.
  • Dependencies are tied to DSH 0.2.2-rc.5 and Node >=24.9, and package.json’s repository differs from the candidate repository; pin and verify provenance and dependencies before adoption.
Evidence confidence: Low Reviewed Dec 02, 2026 Reviewed revision 2c4d263ead8f
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/dsh-workflow.svg)](https://followagents.com/en/agents/dsh-workflow)
<a href="https://followagents.com/en/agents/dsh-workflow"><img src="https://followagents.com/badge/dsh-workflow.svg" alt="FARS review"></a>

FAQ

Which DSH and Node versions are required?
Node.js >=24.9 and DSH 0.2.2-rc.5 at the revision pinned in compatibility.json. Plugin 0.1.6 targets that release train; older DSH and Node 22 are unsupported.
Can a generated workflow script read files or hit the network?
No. Scripts run in a separate QuickJS WebAssembly heap where the host exposes only a JSON capability bridge; imports, process/filesystem/shell/network access, timers, nondeterministic clock/randomness and non-JSON boundary values are rejected, and a wall timeout closes the bridge and aborts the run.
Will a long workflow block my current turn?
Not by default. Starts return { runId, status, jobId? } immediately, long runs go to DSH background jobs and report through native tool-workflow/* session events. Use --wait on commands or wait: true in tool input when you want to block.
How do I recover after an interruption?
Through snapshot rerun and effect-cache resume. Only generated capsule runs carry the immutable source snapshots needed to save and rerun from history.
Is there a usage fee?
The plugin itself is free under MIT. Actually running multi-agent work depends on your own DSH deployment and model providers, so model usage is billed by those providers.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts