← 返回
AI智能 中文

Yggdrasil

Diagnose Yggdrasil installation and daemon status for IPv6 P2P connectivity. Use when P2P fails, user asks about connectivity, or Yggdrasil needs to be insta...
诊断Yggdrasil安装及守护进程状态,检查IPv6 P2P连接。在P2P失败、用户询问连接问题或Yggdrasil需要安装时使用。
jing-yilin
AI智能 clawhub v0.1.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 565
下载
💾 11
安装
1
版本
#latest

概述

Yggdrasil Setup

Yggdrasil gives every OpenClaw agent a globally-routable 200::/8 IPv6 address derived from their Ed25519 keypair. Without it, P2P addresses are local-only.

Quick Reference

SituationAction
------
"Is P2P working?" / "Can I connect?"yggdrasil_check(), explain result
"What is my address?" (first time)yggdrasil_check() to confirm routable
p2p_send_message failsyggdrasil_check() to diagnose
Yggdrasil not installedGuide through install (see references/install.md)
User asks what Yggdrasil isExplain briefly, offer to install

Interpreting yggdrasil_check Results

Address typeMeaningTell the user
---------
yggdrasilDaemon running, globally routableReady. Share the address with peers.
test_modeLocal/Docker onlyFine for testing on the same machine. Not reachable by internet peers.
derived_onlyYggdrasil not runningAddress is NOT reachable. Install Yggdrasil first.

Troubleshooting derived_only

If yggdrasil_check() returns derived_only after install:

  1. Binary not on PATH: Run which yggdrasil. If not found, add to PATH or reinstall.
  2. Gateway not restarted: The plugin detects the binary at startup. Restart the OpenClaw gateway.
  3. Permission denied: On Linux, Yggdrasil needs CAP_NET_ADMIN to create a TUN interface. Run as root or use setcap.
  4. Docker: Container needs --cap-add=NET_ADMIN and --device=/dev/net/tun.

After Install

  1. Restart the OpenClaw gateway.
  2. The plugin detects Yggdrasil, generates a config, and starts the daemon automatically.
  3. Call yggdrasil_check() to confirm the routable 200: address.

See references/install.md for platform-specific install commands.

版本历史

共 1 个版本

  • v0.1.3 当前
    2026-03-30 06:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,766

Dap

jing-yilin
通过普通HTTP/TCP在OpenClaw代理之间进行直接加密P2P消息传递,支持节点发现、消息收发及连接诊断。
★ 0 📥 501
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,207