
wiredag
io.github.zhiyuanvision-lang/wiredag
Wire polyglot modules into layered experiment DAGs with incremental caching and leakage audits.
Documentation
WireDag
Visual Workflow & Experiment DAG for AI agents. Wire modules written in different languages into a layered experiment graph, see each node's state in color, re-run only what a fix affects, and let your agent audit the whole pipeline for data leakage and cross-language bugs.
What it does
- One DAG, many languages — SQL, Python, C++, Rust, Go, TypeScript and Shell modules in the same
*.wiredag.yaml, exchanging tables as Apache Arrow files. - Incremental runs — a content-addressed cache skips every node whose code, parameters and inputs did not change; when a re-run node produces the same output as before, its downstream stays cached (early cutoff).
- Layered graphs — fold nodes into groups, nest them, and drill in on the canvas or from the agent without loading the whole graph.
- Pipeline audit — deterministic checks for
uint64 → int64overflow, normalization fitted before the train/eval split, splits that ignore an entity column, and distance scores fed where similarity is expected. Fixes appear as dashed "Ghost Diff" suggestions you accept in one click. - Agent workflows — the agent creates or forks a module, smoke-tests it on five real rows, replays a single node on cached upstream data and diffs the output, and reads a failed node's traceback together with the input rows that triggered it.
- Local only — your code, experiment files, cached data and logs stay on your machine.
Install
Requires Node.js 22.13 or newer. Python modules need python3 (or uv); native modules need the matching compiler.
| Where | How |
|---|---|
| Claude Code | In your project: npx -y wiredag-mcp@latest install --claude, then restart Claude Code. Or download wiredag-claude-<version>.zip from Releases, unzip it and run claude --plugin-dir <folder>. |
| Cursor | In your project: npx -y wiredag-mcp@latest install --cursor, then reload Cursor. |
| VS Code / Cursor editor canvas | Install WireDag from the VS Code Marketplace or Open VSX (wiredag.wiredag-vscode); open any *.wiredag.yaml to see the canvas. |
| DeepSeek Harness | Install the plugin dsh-wiredag; the WireDag button opens the canvas in the right sidebar. |
| Antigravity | Download wiredag-antigravity-<version>.zip from Releases, unzip it and run node install.mjs. |
| Any MCP client | Command npx -y wiredag-mcp@latest mcp (stdio). Also listed in the official MCP Registry as io.github.zhiyuanvision-lang/wiredag. |
| Browser | npx -y wiredag-mcp@latest serve opens the canvas for the current folder. |
Then ask your agent to "open the WireDag canvas" or "build a WireDag experiment for …".
Pricing
7-day free trial, no sign-in needed. After that, WireDag Pro is a one-time purchase: ¥59.9 (WeChat Pay) or $29.9 (card), on all your devices with the same account. Sign in or buy from the WireDag canvas, or at zhiyuanv.com. See LICENSE.md.
中文说明
面向 Agent 编程的可视化试验工作流。 把不同语言写的模块连成可分层折叠的试验图,彩色显示每个节点的运行状态,修好失败节点后只重跑受影响的下游,并让 Agent 体检整条流水线的数据穿越与跨语言问题。
- 多语言混连:SQL、Python、C++、Rust、Go、TypeScript、Shell 模块写在同一个
*.wiredag.yaml里,用 Apache Arrow 文件交换数据表。 - 增量重跑:代码、参数、输入都没变的节点直接复用缓存;重跑后输出与上次相同时,下游保持缓存不再重算(早期截断)。
- 分层成组:节点可以折叠成组、多层嵌套,画布和 Agent 都按层下钻,不用一次读完整张图。
- 流水线体检:确定性地查出
uint64 → int64溢出、切分前做全局归一化的特征穿越、没按实体列分组切分、把距离当相似度用的极性接反;修改建议以虚线预览(Ghost Diff)出现在画布上,一键采纳。 - Agent 工作流:新建或 Fork 模块、用 5 行真实数据冒烟测试、挂载上游缓存单步回放并对比输出差异、读取失败节点的报错和触发它的输入行。
- 纯本机:源码、试验文件、缓存数据和日志都留在你的电脑上。
安装(需要 Node.js 22.13 或更新版本):
- Claude Code:在项目里运行
npx -y wiredag-mcp@latest install --claude,重启 Claude Code;或从 Releases 下载wiredag-claude-<版本>.zip,解压后claude --plugin-dir <目录>。 - Cursor:在项目里运行
npx -y wiredag-mcp@latest install --cursor,重新加载 Cursor。 - VS Code / Cursor 编辑器画布:在 VS Code 插件市场或 Open VSX 安装 WireDag(
wiredag.wiredag-vscode),打开任意*.wiredag.yaml即显示画布。 - DeepSeek Harness:安装插件
dsh-wiredag,右侧栏的 WireDag 按钮打开画布。 - Antigravity:从 Releases 下载
wiredag-antigravity-<版本>.zip,解压后运行node install.mjs。 - 其他 MCP 客户端:命令
npx -y wiredag-mcp@latest mcp(stdio);官方 MCP Registry 名称io.github.zhiyuanvision-lang/wiredag。 - 浏览器:
npx -y wiredag-mcp@latest serve为当前目录打开画布。
价格:免费试用 7 天,无需登录;之后购买 WireDag Pro,一次买断 ¥59.9(微信支付)/ $29.9(银行卡),同一账号多设备通用。在 WireDag 画布里登录或购买,也可以在官网购买。
wiredag-mcpnpm install wiredag-mcpRelated Servers
io.github.zhiyuanvision-lang/bothpage
Concise Markdown + Git notes, hybrid semantic recall, and two-way Mind Map for coding agents.
io.github.zhiyuanvision-lang/claimdiff-ai-code-review-diff
Verify what your AI coding agent changed: clickable feature-to-diff guide with mismatch warnings.
io.github.zhiyuanvision-lang/inkmap-markdown-mindmap-markmap
Turn long, messy AI Markdown into a clear, editable mind map & visual Mermaid flowchart.