经 AI Skill Hub 精选评估,Kun 工作流 获评「强烈推荐」。已获得 4.8k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.5 分,适合有一定技术背景的用户使用。
Kun 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Kun 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g kun # 方式二:npx 直接运行(无需安装) npx kun --help # 方式三:项目依赖安装 npm install kun # 方式四:从源码运行 git clone https://github.com/KunAgent/Kun cd Kun npm install npm start
# 命令行使用
kun --help
# 基本用法
kun [options] <input>
# Node.js 代码中使用
const kun = require('kun');
const result = await kun.run(options);
console.log(result);
# kun 配置说明 # 查看配置选项 kun --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export KUN_CONFIG="/path/to/config.yml"
<p align="center"> <img src="src/asset/img/kun.png" width="88" alt="Kun 蓝色 K 标识"> </p>
<p align="center"> 让 AI 在真实项目中规划、执行、验证并交付。<br> 桌面 GUI 与终端 TUI 共用同一个本地运行时,任务、审批、计划和证据始终连续。 </p>
<p align="center"> <a href="https://github.com/KunAgent/Kun/releases">下载桌面版</a> · <a href="https://www.kun-agent.com/docs">阅读文档</a> · <a href="https://github.com/KunAgent/Kun">GitHub</a> · <a href="./README.en.md">English</a> </p>
<p align="center"> <a href="https://github.com/KunAgent/Kun/releases"><img src="https://img.shields.io/github/v/release/KunAgent/Kun?label=release" alt="Kun 最新 GitHub Release"></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/license-PolyForm%20Noncommercial%201.0.0-blue" alt="Kun 使用 PolyForm Noncommercial 1.0.0 许可证"></a> <img src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey" alt="支持 macOS、Windows 和 Linux"> <img src="https://img.shields.io/badge/GUI%20%2B%20TUI-one%20shared%20runtime-6366f1" alt="桌面 GUI 与终端 TUI 共用一个 Kun 运行时"> </p>
<p align="center"> <img src="./docs/assets/readme/kun-hero-gui-tui-character-demo.jpg" alt="Kun GUI 与 TUI 海报:虚构演示数据中的吉祥物、桌面 Code 界面与终端 TUI" width="100%"> </p>
要求:Node.js 22.19+、npm,以及至少一个可用的模型连接。
git clone https://github.com/KunAgent/Kun.git
cd Kun
npm ci
npm run dev
| 命令 | 用途 |
|---|---|
npm run dev | 构建运行时并启动 Electron 开发环境 |
npm run dev:tui | 构建运行时并启动终端 TUI |
npm run typecheck | TypeScript 类型检查 |
npm run lint | 运行 ESLint 与文件大小检查 |
npm run test | 运行测试 |
npm run build | 生产构建 |
npm run dist:mac / dist:win / dist:linux | 构建对应平台安装包 |
中国大陆网络访问较慢时可使用 npm 镜像:
npm ci --registry=https://registry.npmmirror.com
高质量的开源AI工作流项目
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:Kun 工作流 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | Kun |
| 原始描述 | 开源AI工作流:AI agent workspace with Code and Write modes built into your application.。⭐4.8k · TypeScript |
| Topics | AI工作流TypeScript |
| GitHub | https://github.com/KunAgent/Kun |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-06-24 · 更新时间:2026-06-26 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端