KDNA开源AI工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
KDNA是开源AI工作流,提供了一个开放的格式来编码域认知,促进AI代理的认知和推理。它通过定义提示来告诉AI代理什么要做,什么不要做。KDNA的目标是提供一个统一的、可扩展的和可定制的AI工作流解决方案。
KDNA开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
KDNA是开源AI工作流,提供了一个开放的格式来编码域认知,促进AI代理的认知和推理。它通过定义提示来告诉AI代理什么要做,什么不要做。KDNA的目标是提供一个统一的、可扩展的和可定制的AI工作流解决方案。
KDNA开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g kdna # 方式二:npx 直接运行(无需安装) npx kdna --help # 方式三:项目依赖安装 npm install kdna # 方式四:从源码运行 git clone https://github.com/aikdna/kdna cd kdna npm install npm start
# 命令行使用
kdna --help
# 基本用法
kdna [options] <input>
# Node.js 代码中使用
const kdna = require('kdna');
const result = await kdna.run(options);
console.log(result);
# kdna 配置说明 # 查看配置选项 kdna --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export KDNA_CONFIG="/path/to/config.yml"
Maintained by AIKDNA — the open ecosystem for the KDNA Protocol.
Build domains, tools, integrations — not parallel protocols.
KDNA is an open judgment protocol for AI systems. It turns human-governed domain judgment into portable structural assets that agents can load, trace, verify, and evolve.
Prompt changes what AI says. RAG changes what AI can access. Tools change what AI can do. KDNA changes how AI judges within a domain.
Skill + KDNA — Skills make agents capable. KDNA makes their judgment reliable. Learn more →
```
Want to create your own? kdna init my_expertise scaffolds a minimal domain. Then kdna validate my_expertise checks it, and kdna publish my_expertise sends it to the registry.
---
User: "Help me improve this product launch post."
Without KDNA:
→ Suggests clearer wording, shorter sentences, more enthusiasm.
With writing.kdna:
→ Classifies as structural writing diagnosis (not language polishing).
→ Checks: Is there a real argument? A cognitive hook? Evidence density?
→ Avoids banned terms: "polish the language", "make it punchy".
→ Self-checks: 5/5 passed. Risk flags: none.
The agent didn't get better at writing. It got better at judging what kind of problem this is.
---
One path. Five minutes. See KDNA change an agent's judgment.
npm install -g @aikdna/kdna-cli
kdna setup
kdna install @aikdna/writing
kdna verify @aikdna/writing --judgment
kdna compare @aikdna/writing --input "help me improve this post"
That's it. Your agent now loads a domain judgment package. The last command sends the same input to an LLM with and without KDNA, diffing the judgment paths so you can see exactly what changed.
```bash
<details> <summary>Is this related to biological kDNA, KnowledgeDNA, or other DNA projects?</summary>
No. In this project, KDNA refers to the KDNA Protocol: an open judgment protocol for AI systems. It focuses on human-governed domain judgment assets, not biological kinetoplast DNA, goal-tracking SaaS, codebase summaries, agent identity profiles, or model lineage analysis. </details>
<details> <summary>How is KDNA different from Prompt, RAG, Skills, and MCP?</summary>
KDNA is the judgment reference layer. It does not replace these mechanisms — it sits alongside them. </details>
<details> <summary>Is KDNA just a fancy system prompt?</summary>
No. System prompts are free-text behavioral instructions scoped to a single conversation. KDNA is a structured, validated, version-controlled format with explicit fields (axioms, boundaries, self-checks, failure risks). KDNA packages are designed to be signed, hash-verified, and distributed through a registry — a system prompt is none of these. </details>
<details> <summary>Does KDNA replace the model?</summary>
No. KDNA is a judgment reference that the model loads before it reasons and acts. The model still does all the reasoning, generation, and tool use. KDNA tells the model what to pay attention to, what to avoid, and what to verify — it does not generate output. </details>
<details> <summary>How is KDNA different from RAG?</summary>
RAG retrieves facts and documents for the model to reference. KDNA encodes what matters and what to watch for in a domain. RAG says "here's the coding standard document." KDNA says "when reviewing code, classify whether the problem is structural or cosmetic before suggesting changes." </details>
<details> <summary>Can I use KDNA without coding?</summary>
Yes — start with KDNA Studio (@aikdna/kdna-studio) for guided domain authoring. To install and use domains with your AI agent, you only need the CLI (npm install -g @aikdna/kdna-cli). Creating your own domain currently requires editing JSON files, though KDNA Studio's interview mode helps non-technical experts structure their judgment without writing code. </details>
<details> <summary>Does KDNA work with any AI model?</summary>
KDNA is model-agnostic. The format encodes judgment as structured JSON — any agent framework that can load context before reasoning can use KDNA. Currently supported agents include Claude Code, Codex, OpenCode, Cursor, and GitHub Copilot. </details>
<details> <summary>What happens if I load multiple KDNA domains that conflict?</summary>
KDNA's composition mechanism detects and reports conflicts rather than silently merging incompatible principles. When domains conflict — for example, a brand domain encouraging emotional intensity while a compliance domain requires conservative wording — the agent reports the conflict rather than choosing one side. </details>
<details> <summary>Can AI agents modify KDNA domains?</summary>
No — not the judgment-class fields. KDNA's Human Judgment Lock requires human confirmation before axioms, boundaries, risk models, failure criteria, and other judgment-class fields can be modified. Operational fields like usage statistics can be updated automatically. </details>
<details> <summary>Where can I see KDNA in action?</summary>
Run kdna compare @aikdna/writing --input "help me improve this post" to see a side-by-side judgment path comparison. Visit aikdna.com/benchmark for evaluation data across multiple domains. </details>
---
KDNA是一个有潜力的开源AI工作流项目,提供了一个开放的格式来编码域认知。它的目标是提供一个统一的、可扩展的和可定制的AI工作流解决方案。然而,项目的星数较少,需要更多的贡献者和用户来推动它的发展。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,KDNA开源AI工作流 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | kdna |
| 原始描述 | 开源AI工作流:An open format for encoding domain cognition for AI agents. Prompts tell AI what。⭐6 · JavaScript |
| Topics | workflowagentsaicognitiondomain-knowledgejavascript |
| GitHub | https://github.com/aikdna/kdna |
| License | Apache-2.0 |
| 语言 | JavaScript |
收录时间:2026-05-24 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端