agent-dag-workflow
Run the following command in DeepSeek Harness:
dsh plugin install GM-HZ/agent-dag-workflow
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GM-HZ/agent-dag-workflow in DeepSeek Harness to install this plugin; source code is available at https://github.com/GM-HZ/agent-dag-workflow
About this plugin
Most agent pipelines are stitched together ad hoc: a Tool call, an MCP endpoint, a Skill, linked by human context. Orchestration platforms like Coze or Dify solve the flow problem but typically bundle model providers, credential vaults, and tool marketplaces that many teams do not need. agent-dag-workflow takes a narrower path. It is a lightweight, host-neutral DAG workflow runtime that turns the tools, skills, and MCP endpoints you already run into a single WorkflowTemplate JSON you can save, validate, recover, audit, and replay. Your Host keeps ownership of agents, tools, and permissions; the Runtime handles compilation, scheduling, journaling, and replay.
A few design choices set it apart. One template, many entry points: SDK, CLI, a fixed six-tool MCP Gateway, DSH adapter, Canvas, and Triggers all speak the same JSON and call the same Runtime. Permissions only narrow: template-level requires, node-level fixed dependencies, Authority, and Host policy are intersected; core.script nodes have no network, no file access, and no eval; every external result must pass lossless-JSON, schema, and size checks before it enters the Artifact or Checkpoint store. Recovery semantics are explicit- inspect (read-only), recorded (reuse committed upstream results, recompute deterministic downstream), and live (re-invoke external capabilities)- with atomic Journal and Checkpoint commits and reproducible runs. The compiler performs branch-path dominance checks at publish time, rejecting any template where an activated path would inevitably lack required data.
This fits teams that already operate Codex, DeepSeek Harness, or another Agent runtime with a working set of Tools, Skills, and MCP endpoints and want to compose them into deterministic multi-step flows (batch contract review, weekly report generation, multi-source retrieval with ranked output) without standing up an entire platform. Requires Node.js 22.19+; MIT licensed; single-process by design, with horizontal scaling left to the Host when needed.
Use Cases
- Composing multiple Tool, Skill, and MCP calls into a saveable, recoverable, and replayable deterministic pipeline
- Reliable scheduling of multi-step agent flows such as batch contract review, multi-source retrieval, and weekly report generation
- Layering auditable compilation, permission narrowing, and fault recovery on top of an existing agent runtime
Best For
- Teams already running Codex, DeepSeek Harness, or a similar agent runtime with an established Tool/Skill/MCP ecosystem
- Developers who need deterministic multi-step flows without adopting a full orchestration platform like Coze or Dify
- Production environments with strict requirements on run reproducibility, permission narrowing, and fault recovery
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.