经 AI Skill Hub 精选评估,去中心化知识图谱 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
去中心化知识图谱 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
去中心化知识图谱 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g dkg # 方式二:npx 直接运行(无需安装) npx dkg --help # 方式三:项目依赖安装 npm install dkg # 方式四:从源码运行 git clone https://github.com/OriginTrail/dkg cd dkg npm install npm start
# 命令行使用
dkg --help
# 基本用法
dkg [options] <input>
# Node.js 代码中使用
const dkg = require('dkg');
const result = await dkg.run(options);
console.log(result);
# dkg 配置说明 # 查看配置选项 dkg --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export DKG_CONFIG="/path/to/config.yml"
<img width="1536" height="1024" alt="dkg_img" src="docs/assets/dkg-v10.png" />
Give your AI agents the ultimate memory that survives the session.
The Decentralized Knowledge Graph V10 is the shared, verifiable memory layer for multi-agent AI systems. Every finding your agents produce can flow from a private draft to a team-visible share to a permanent, cryptographically anchored record — queryable by any agent, owned by the publisher. No black boxes. No vendor lock-in. No context that evaporates when the session ends.
Disclaimer: DKG V10 is in release-candidate on the testnet. Expect rapid iteration and breaking changes. Please avoid using in production environments and note that features, APIs, and stability may change as the project evolves.
---
Use the node APIs and packages to publish Knowledge Assets, query data, and coordinate through context graphs.
| Guide | Use it when |
|---|---|
| [MCP Setup](docs/setup/SETUP_MCP.md) | You want Cursor / Claude Code / Claude Desktop / Windsurf / VSCode + Copilot / Cline / Codex CLI to use DKG as memory |
| [Join the Testnet](docs/setup/JOIN_TESTNET.md) | You want a full node setup and first publish/query flow |
| [OpenClaw Setup](docs/setup/SETUP_OPENCLAW.md) | You want OpenClaw to use DKG as memory/tools |
| [Hermes Setup](docs/setup/SETUP_HERMES.md) | You want Hermes Agent to use DKG as memory/tools |
| [ElizaOS Setup](docs/setup/SETUP_ELIZAOS.md) | You want ElizaOS integration |
| [Custom agent Setup](docs/setup/SETUP_CUSTOM.md) | You are wiring an agent framework not covered above |
| [Testnet Faucet](docs/setup/TESTNET_FAUCET.md) | You need Base Sepolia ETH and TRAC |
---
Prerequisites: Node.js 22+, npm 10+. macOS, Linux, and Windows (PowerShell 5.1+ or WSL2) all supported.
dkg publisher enable # enable the async publisher dkg publisher enqueue <cg> ... # enqueue a publish job dkg publisher jobs # list publisher jobs dkg publisher stats # publisher throughput stats
```bash dkg init # interactive setup — node name, role, relay dkg start [-f] # start the node daemon (-f for foreground) dkg stop # graceful shutdown dkg status # node health, peer count, identity dkg logs # tail the daemon log dkg peers # connected peers and transport info dkg peer info <peer-id> # inspect a peer's identity and addresses
Node APIs use bearer token auth by default.
The token is created on first run and stored in:
~/.dkg/auth.token
Example:
TOKEN=$(dkg auth show)
curl -H "Authorization: Bearer $TOKEN" http://127.0.0.1:9200/api/agents
The full node API surface (assertions, memory layers, context graphs, file ingestion, querying) is documented in packages/cli/skills/dkg-node/SKILL.md — this is the canonical reference loaded by any DKG-aware agent.
---
Beyond the first-party framework adapters above, DKG V10 supports community-contributed integrations — CLIs, MCP servers, agent plugins, and services that run against your local node through its public HTTP API, dkg CLI, or MCP interface. They live in contributor-owned repositories and are discovered through the OriginTrail/dkg-integrations registry.
dkg integration list # list verified + featured tiers (default)
dkg integration list --tier community # include community-tier (contributor-submitted) entries
dkg integration info <slug> # inspect a single entry
dkg integration install <slug> # install — automates `cli` and `mcp` install kinds
dkg integration install <slug> --allow-community # required to install a community-tier entry
By design, list shows only verified and featured tiers and install refuses community-tier entries unless you opt in — community submissions haven't been peer-reviewed by the OriginTrail core team, so discovering and installing them is an explicit choice. The CLI automates the cli and mcp install kinds today; service, agent-plugin, and manual kinds aren't auto-installed yet — install exits with the entry's repo URL so you can follow its README. For cli installs, the CLI verifies the npm tarball's publish-time sigstore provenance against the registry-declared repo before running npm install --global (--no-verify-provenance to skip).
Building one: fork the minimal reference template at OriginTrail/dkg-hello-world — ~150 lines, zero dependencies, demonstrates the full Working Memory write → read round trip. Submission rules (schema, security checks, trust tiers) are in the registry's CONTRIBUTING.md.
---
dkg integration list [--tier community] # default tier filter is verified+ dkg integration info <slug> # show details for one entry dkg integration install <slug> # install cli/mcp kind; --allow-community for community-tier entries
@origintrail-official/dkg CLI and node lifecycle (daemon, HTTP API, file store)
@origintrail-official/dkg-core P2P networking, protocol, crypto, memory model types
@origintrail-official/dkg-storage Triple-store interfaces and adapters
@origintrail-official/dkg-chain Blockchain abstraction
@origintrail-official/dkg-publisher Publish and finalization pipeline (SWM → VM)
@origintrail-official/dkg-query Query execution and retrieval
@origintrail-official/dkg-agent Identity, discovery, messaging, wallet keys
@origintrail-official/dkg-node-ui Web dashboard, chat memory, SPARQL explorer
@origintrail-official/dkg-graph-viz RDF visualization
@origintrail-official/dkg-evm-module Solidity contracts and deployment assets
@origintrail-official/dkg-network-sim Multi-node simulation tooling
@origintrail-official/dkg-epcis EPCIS → RDF supply-chain adapter
@origintrail-official/dkg-mcp MCP server for Cursor / Claude Code / coding agents
高质量的开源AI工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:去中心化知识图谱 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | dkg |
| 原始描述 | 开源AI工作流:OriginTrail Decentralized Knowledge Graph (DKG) is a decentralized knowledge inf。⭐137 · TypeScript |
| Topics | ai去中心化知识图谱ethereum |
| GitHub | https://github.com/OriginTrail/dkg |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-05-25 · 更新时间:2026-05-25 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端