能力标签
伊格德拉斯
⚙️
Agent工作流

伊格德拉斯

基于 TypeScript · 无代码搭建完整 AI 自动化流程
英文名:Yggdrasil
⭐ 26 Stars 🍴 6 Forks 💻 TypeScript 📄 MIT 🏷 AI 8.0分
8.0AI 综合评分
AI工作流TypeScript
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,伊格德拉斯 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。

📚 深度解析

伊格德拉斯 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

伊格德拉斯 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.0 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

伊格德拉斯 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 26
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.0 分
工具类型
Agent工作流
Forks
6

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

伊格德拉斯 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:npm 全局安装
npm install -g yggdrasil

# 方式二:npx 直接运行(无需安装)
npx yggdrasil --help

# 方式三:项目依赖安装
npm install yggdrasil

# 方式四:从源码运行
git clone https://github.com/krzysztofdudek/Yggdrasil
cd Yggdrasil
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
yggdrasil --help

# 基本用法
yggdrasil [options] <input>

# Node.js 代码中使用
const yggdrasil = require('yggdrasil');

const result = await yggdrasil.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# yggdrasil 配置说明
# 查看配置选项
yggdrasil --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export YGGDRASIL_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 40/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<img src="https://raw.githubusercontent.com/krzysztofdudek/Yggdrasil/v6.1.0/docs/public/logo.svg" alt="" width="120" />

What you install

npm install -g @chrisdudek/yg
cd your-project
yg init

Requires Node.js 22 or newer. yg init asks one question: which reviewer judges the rules that need judgment. "None for now" is a valid answer.

PieceWhere it landsWhat it doesWhen it acts
The yg commandyour global npm packagesReads the graph, gives the agent its rules, runs the checks.When you, the agent, a hook or CI call it.
.yggdrasil/repository root, committedHolds the graph of your components, the rules, the logs of why, and the lock with every recorded verdict.Read by every yg command.
.yggdrasil/.gitignoreinside .yggdrasil/, committedKeeps the local cache and local state out of git.On every commit.
Agent rulesa block in AGENTS.md, one import line in CLAUDE.md, .clinerules/yggdrasil.mdTells the agent to run yg context --file before it edits a file and yg check --approve after a change.Every agent session that reads those files.
Eight lines in .gitattributesrepository root, committedMark the lock as generated and name the merge drivers for the logs and the lock.On git diff and git merge.
Two merge drivers.git/config of this clone, never committedMerge log entries and verdicts from two branches without a hand-resolved conflict.On git merge.
A post-merge hook.git/hooks/post-merge of this clone, only when you have noneRecords the merged logs' baselines.After git merge.
  • Does not touch: yg init does not edit your source files, your build or your runtime; it writes the files in the table above. It installs no pre-commit hook and no CI step; you add those yourself (step 5 of Start).
  • Needs: Node.js 22 or newer. A reviewer only for rules a script cannot decide: Claude Code, Codex, Gemini CLI or Copilot CLI with no key, Anthropic, OpenAI or Google with a key, Ollama on your machine, or any OpenAI-compatible endpoint.
  • Costs: script rules, dependency checks, a plain yg check and the CI gate are free, local and need no key or network. A reviewer rule costs one model call per rule and component when it is first judged, and again only after its inputs change. One call takes roughly 10 to 40 seconds. yg check --approve --dry-run tells you how many paid calls a run will make before it makes them.
  • In the agent's context: the rules block in AGENTS.md, and for each file the agent edits, the rules in force on that file only.

<details> <summary>What the words in the reports mean</summary>

A rule is an aspect, a component is a node, and a pair is one rule on one component or file. The graph is the map of components and rules in .yggdrasil/, a verdict is the recorded pass or refusal of one pair, and the lock is the file that holds the verdicts. The full list is in the glossary.

</details>

3. Install it in your own repository

Run the three install commands above.

You see: the reviewer question, then the files from the table written.

2. Run the example with a recorded verdict

Run cd ../failing, then npx @chrisdudek/yg@6.1.0 check.

You see:

yg check: FAIL  1 error   2 nodes · 3/3 files covered · 4 excluded

error[refused] requires-audit — refused on payments
  at:   payments  Both mutation functions in src/payments.ts violate the requirement: charge (line 5) and refund (line 11) mutate state but use only generic console.log() calls instead of calling emitAudit(). The aspect requires structured audit events with operation, timestamp, and entityId fields. No suppression markers found.
  why:  Every mutation must emit an audit event
  fix:  Four exits — the verdict is recorded for this exact code, so re-running the reviewer changes nothing:

(Trimmed; the full report lists the four exits.) That is a model's verdict, recorded once in the lock and replayed with no model call. Change src/payments.ts by one character and check again:

yg check: FAIL  1 error   2 nodes · 3/3 files covered · 4 excluded

error[unverified] 1 pair whose inputs changed since the verdict
  at:   requires-audit @ payments
  why:  A verdict was recorded, but its inputs changed since (a source edit, an aspect edit, or a changed reference), so it no longer counts. It is re-judged over the code as it stands now.
  fix:  yg check --approve  (1 reviewer pair · 1 call · paid)

Questions

How is this different from a rules file? A rules file is flat text in every prompt, with no scope and no check. Here the agent gets only the rules on the file it is editing, and its change is checked against them.

And from dependency-cruiser or ArchUnit? For import rules in one language they are mature, and if that is all you need, use them. Yggdrasil's dependency check is one part of it: one graph across eleven languages, with script rules, reviewer rules and the lock beside it.

And from an AI review bot? A review bot looks for bugs against its own idea of good code and runs again on every pull request. Yggdrasil checks your team's rules and pays for a verdict once per version of the code it judged.

🎯 aiskill88 AI 点评 A 级 2026-06-13

高质量的AI工作流项目,值得关注

📚 实用指南(长尾问题)
适合谁
  • 使用 Cursor 编辑器、希望提升 AI 编程效率的开发者
  • 构建多智能体协作系统的 Agent 开发者
最佳实践
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
  • Cursor rules 控制在 80 行内,否则模型上下文成本会显著上升
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 本地部署:CPU 8GB 起,GPU 推荐 16GB+ 显存
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
Yggdrasil 中文教程Yggdrasil 安装报错怎么办Yggdrasil Agent 工作流Yggdrasil 与同类工具对比Yggdrasil 最佳实践Yggdrasil 适合谁用

⚡ 核心功能

👥 适合谁
  • 使用 Cursor 编辑器、希望提升 AI 编程效率的开发者
  • 构建多智能体协作系统的 Agent 开发者
⭐ 最佳实践
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
  • Cursor rules 控制在 80 行内,否则模型上下文成本会显著上升
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • −初始配置和调试需投入一定时间
  • −强依赖外部服务的稳定性
  • −复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

Yggdrasil 是一款TypeScript开发的AI辅助工具。开源AI工作流:Architecture rules your AI coding agent can't ignore. Every change gets checked 。⭐26 · TypeScript 主要应用场景包括:AI编码辅助。
💡 AI Skill Hub 点评

AI Skill Hub 点评:伊格德拉斯 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 伊格德拉斯
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 Yggdrasil
原始描述 开源AI工作流:Architecture rules your AI coding agent can't ignore. Every change gets checked 。⭐26 · TypeScript
Topics AI工作流TypeScript
GitHub https://github.com/krzysztofdudek/Yggdrasil
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/krzysztofdudek/Yggdrasil 🌐 官方网站  https://krzysztofdudek.github.io/Yggdrasil/

收录时间:2026-06-13 · 更新时间:2026-06-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →