dage

DAG-based Agent Workflow Orchestrator — 把AI工作流写成YAML,按下run,走开

编排AI agent曾经意味着写胶水脚本、逐步看护、祈祷第三步不要在你睡着前崩溃。dage是解药。

定位

把工作流写成一份YAML DAG,按下run,走开。节点按拓扑序执行,gate失败即短路,能并行的全部并行。你回来时只剩一份干净的日志,告诉你什么成了、什么没成。

核心特性

工作流示例

  你                       dage                         AI agents
   │                         │                              │
   │  dage run workflow.yaml │                              │
   │ ───────────────────────>│                              │
   │                         │  topo sort -> layer 0        │
   │                         │  ├─ scan ───────────────────>│
   │                         │  └─ read_docs ─────────────>│
   │                         │  gate_test (cargo test)       │
   │                         │  ├─ impl_ir ───────────────>│
   │                         │  └─ impl_topo ─────────────>│
   │                         │  gate -> auto-commit + push  │

技术栈

纯Python实现,标准库为主:

< back to projects