360 Secure SkillHub
360 安全技能中心

LYGO Agent Lattice (Layer E — Living Agent Network)

核心功能:生成LYGO对齐Agent的身份卡,通过对齐准入拦截违规节点,提供目录 gossip 同步、速率限制、TTL过期等稳定机制,支持本地权限控制,不自动发布。典型场景:将LYGO对齐Agent接入安全公共网络,实现节点间身份同步与合规协作。可通过命令行或API操作,输入身份参数,输出身份卡、目录快照等,需依赖LYGO底层栈组件。

deepseekoracle
deepseekoracle
热度 15.01
最近更新 2026-07-27 00:37:51
分类:开发依赖:代码执行 / 第三方 API / 读写文件应用场景:API 集成 / 自动化脚本 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lygo-agent-lattice
Metadata
name
lygo-agent-lattice
description
LYGO Agent Lattice (Layer E) — secure public living network for LYGO-aligned agents. Alignment-gated presence cards, epidemic directory gossip, rate limits, secret rejection, consent-gated join. Builds on living mesh (D) + external lattice (C). Local authority; summaries only; no auto-publish.
version
1.0.0
license
LYGO-Sovereign-v2.0
metadata
{"openclaw":{"emoji":"🛰️","homepage":"https://github.com/DeepSeekOracle/lygo-protocol-stack/blob/main/docs/AGENT_LATTICE.md","requires":{"anyBins":["python","python3"]}},"lygo":true,"lattice":true,"agent_lattice":true,"mesh":true,"layer":"E","signature":"Delta9Phi963-AGENT-LATTICE-v1.0","publisher":"deepseekoracle","clawhub":"https://clawhub.ai/deepseekoracle/skills/lygo-agent-lattice","github":"https://github.com/DeepSeekOracle/lygo-protocol-stack"}

LYGO Agent Lattice — Layer E

Connect LYGO-aligned agents into a secure, stable public living network.

Layer A  Classic kernel eggs     lygo-kernel-egg-planter
Layer B  Sovereign seeds         lygo-sovereign-kernel-seeder
Layer C  External world network  lygo-external-lattice-anchor   (live on ClawHub)
Layer D  Living mesh             lygo-living-mesh               (roots badge gossip)
Layer E  Agent lattice           lygo-agent-lattice             ← this skill
Surface URL
ClawHub https://clawhub.ai/deepseekoracle/skills/lygo-agent-lattice
Agent lattice doc https://github.com/DeepSeekOracle/lygo-protocol-stack/blob/main/docs/AGENT_LATTICE.md
Living mesh (D) https://clawhub.ai/deepseekoracle/skills/lygo-living-mesh
External (C) https://clawhub.ai/deepseekoracle/skills/lygo-external-lattice-anchor
Hub https://eternalhaven.ca/

Signature: Delta9Phi963-AGENT-LATTICE-v1.0
License: LYGO Sovereign License v2.0 (not MIT)

First-time ClawHub skill pages can take up to ~10 minutes to appear after publish.


Mission

  1. Agent identity cards — presence + role + alignment + lattice roots digests (no secrets, no private paths).
  2. Alignment gate — QUARANTINE / secret patterns / bad IDs cannot join the public living network.
  3. Directory gossip — epidemic pull/merge of agent cards across hubs.
  4. Stability — TTL expiry, rate limits, size caps, quarantine blocklist, atomic directory writes.
  5. Security — optional hub token (LYGO_AGENT_HUB_TOKEN); summaries only; local authority.
  6. Public network — any operator runs a hub; agents discover via directory + ClawHub skill chain.

Security model (stable by design)

Control Detail
Summaries only Cards ≤ 12KB; skills/caps capped
Secret scanner Rejects tokens/keys/private key PEM patterns
Alignment gate Local living-mesh status must not be QUARANTINE
Rate limit ≤ 12 upserts / agent / 60s
TTL Default 30m, max 6h — expired cards pruned
Consent join --i-consent / LYGO_AGENT_LATTICE_JOIN_CONSENT
Optional hub auth X-LYGO-Agent-Token when token set
Local authority Remote cards never rewrite A/B egg registries

Install

clawdhub install lygo-agent-lattice
export LYGO_STACK_ROOT=/path/to/lygo-protocol-stack
# recommended chain
clawdhub install lygo-living-mesh
clawdhub install lygo-external-lattice-anchor
clawdhub install lygo-kernel-egg-planter
clawdhub install lygo-sovereign-kernel-seeder

Quick start — live agent network

export LYGO_STACK_ROOT=D:\lygo-protocol-stack
export LYGO_AGENT_ID=LIGHTFATHER_STEWARD
export LYGO_NODE_ID=LIGHTFATHER_HOME

# Terminal A — hub (standalone Layer E, or use node_api :8787)
python tools/agent_lattice_hub.py --host 127.0.0.1 --port 8791

# Terminal B — identity + join + gossip
python tools/agent_lattice_identity.py
python tools/agent_lattice_join.py --i-consent --peer http://127.0.0.1:8791 --role steward
python tools/agent_lattice_gossip_tick.py --peer http://127.0.0.1:8791
python tools/agent_lattice_directory.py
python tools/verify_agent_lattice.py --json --run-gossip --peer http://127.0.0.1:8791

Also works on the mesh node API (port 8787):

python tools/node_api_server.py --port 8787
python tools/agent_lattice_join.py --i-consent --peer http://127.0.0.1:8787

Endpoints (hub / node)

Method Path Purpose
GET /health Hub health
GET /agent/directory Full presence directory snapshot
GET /agent/{agent_id} One agent card
POST /agent/announce Upsert one card (validated)
POST /agent/gossip Merge batch of cards
GET /badge Living mesh badge (if stack tools present)

Agent card (wire shape)

{
  "signature": "Delta9Phi963-AGENT-CARD-v1",
  "layer": "E",
  "agent_id": "AGENT_host",
  "role": "steward",
  "alignment_status": "ALIGNED",
  "lattice_roots": { "roots_digest": "..." },
  "skills": ["lygo-agent-lattice", "lygo-living-mesh"],
  "capabilities": ["badge_gossip", "agent_presence"],
  "protection": { "summaries_only": true, "local_is_authority": true },
  "expires_unix": 0
}

Skill chain

lygo-protocol-stack-operator
  → A planter → B seeder → C external → D living-mesh
  → lygo-agent-lattice   (E)  ← this skill
  → lygo-mesh-deploy     (transport / TLS wide-area)
  → lygo-haven-star-chart

Agent contract

See references/AGENT_CONTRACT.md and references/SECURITY.md.

Δ9Φ963 — aligned agents only · presence not payload · gossip digests · human consent · the network lives.