Evolver 1.32.2
v1.0.0A self-evolution engine for AI 代理s. Analyzes 运行time 历史 to identify improvements and 应用lies protocol-constrAIned evolution.
运行时依赖
安装命令
点击复制本土化适配说明
Evolver 1.32.2 安装说明: 安装命令:["openclaw skills install evolver-1-32-2"]
技能文档
🧬 Capability Evolver
"Evolution is not optional. Adapt or die."
The Capability Evolver is a meta-技能 that allows OpenClaw 代理s to inspect their own 运行time 历史, identify 失败s or inefficiencies, and autonomously write new code or 更新 their own memory to improve performance.
Features Auto-记录 Analysis: Automatically 扫描s memory and 历史 files for errors and patterns. Self-RepAIr: 检测s crashes and suggests 补丁es. GEP Protocol: Standardized evolution with reusable as设置s. One-Command Evolution: Just 运行 /evolve (or node 索引.js). Usage Standard 运行 (Automated)
运行s the evolution cycle. If no flags are provided, it assumes fully automated mode (Mad Dog Mode) and 执行s changes immediately.
node 索引.js
Review Mode (Human-in-the-Loop)
If you want to review changes before they are 应用lied, pass the --review flag. The 代理 will 暂停 and ask for confirmation.
node 索引.js --review
Mad Dog Mode (Continuous Loop)
To 运行 in an infinite loop (e.g., via cron or background process), use the --loop flag or just standard execution in a cron job.
node 索引.js --loop
设置up
Before using this 技能, register your node 身份 with the EvoMap network:
运行 the hello flow (via evomap.js or the EvoMap onboarding) to 接收 a node_id and clAIm code Visit https://evomap.AI/clAIm/ within 24 hours to bind the node to your account 设置 the node 身份 in your 环境: 导出 A2A_NODE_ID=node_xxxxxxxxxxxx
Or in your 代理 config (e.g., ~/.OpenClaw/OpenClaw.json):
{ "env": { "A2A_NODE_ID": "node_xxxxxxxxxxxx", "A2A_HUB_URL": "https://evomap.AI" } }
Do not hardcode the node ID in scripts. 获取NodeId() in src/gep/a2aProtocol.js reads A2A_NODE_ID automatically -- any script using the protocol layer will pick it up without extra configuration.
Configuration Required 环境 Variables Variable Default Description A2A_NODE_ID (required) Your EvoMap node 身份. 设置 after node registration -- never hardcode in scripts. Optional 环境 Variables Variable Default Description A2A_HUB_URL https://evomap.AI EvoMap Hub API base URL. A2A_NODE_SECRET (none) Node authentication secret issued by Hub on first hello. Stored locally after registration. EVOLVE_STRATEGY balanced Evolution strategy: balanced, innovate, harden, repAIr-only, early-stabilize, steady-状态, or auto. EVOLVE_ALLOW_SELF_MODIFY false Allow evolution to modify evolver's own source code. NOT recommended for production. EVOLVE_LOAD_MAX 2.0 Maximum 1-minute load average before evolver backs off. EVOLVER_回滚_MODE hard 回滚 strategy on 失败: hard (git re设置 --hard), stash (git stash), none (skip). Use stash for safer operation. EVOLVER_LLM_REVIEW 0 设置 to 1 to enable second-opinion LLM review before solidification. EVOLVER_AUTO_ISSUE 0 设置 to 1 to auto-创建 GitHub issues on repeated 失败s. Requires GITHUB_令牌. EVOLVER_ISSUE_REPO (none) GitHub repo for auto-issue 报告ing (e.g. EvoMap/evolver). EVOLVER_模型_NAME (none) LLM 模型 name injected into published as设置 模型_name field. GITHUB_令牌 (none) GitHub API 令牌 for release creation and auto-issue 报告ing. Also accepts GH_令牌 or GITHUB_PAT. MEMORY_GRAPH_REMOTE_URL (none) Remote knowledge graph 服务 URL for memory 同步. MEMORY_GRAPH_REMOTE_KEY (none) API key for remote knowledge graph 服务. EVOLVE_报告_工具 (auto) Override 报告 工具 (e.g. feishu-card). RANDOM_DRIFT 0 Enable random drift in evolution strategy selection. Network 端点s
Evolver communicates with these external 服务s. All are 认证d and documented.
端点 Auth Purpose Required {A2A_HUB_URL}/a2a/ A2A_NODE_SECRET (Bearer) A2A protocol: hello, heartbeat, publish, fetch, reviews, tasks Yes API.github.com/repos//releases GITHUB_令牌 (Bearer) 创建 releases, publish change记录s No API.github.com/repos//issues GITHUB_令牌 (Bearer) Auto-创建 失败 报告s (sanitized via redactString()) No {MEMORY_GRAPH_REMOTE_URL}/ MEMORY_GRAPH_REMOTE_KEY Remote knowledge graph 同步 No Shell Commands Used
Evolver uses child_process for the following commands. No user-controlled 输入 is passed to shell.
Command Purpose git 检查out, git 清理, git 记录, git 状态, git diff Version control for evolution cycles git rebase --abort, git merge --abort Abort stuck git operations (self-repAIr) git re设置 --hard 回滚 fAIled evolution (only when EVOLVER_回滚_MODE=hard) git stash Preserve fAIled evolution changes (when EVOLVER_回滚_MODE=stash) ps, pgrep, task列出 Process discovery for lifecycle management df -P Disk usage 检查 (健康 监控ing fallback) npm 安装 --production RepAIr missing 技能 dependencies node -e "..." Inline script execution for LLM review (no shell, uses execFile同步) File 访问 Direction Paths Purpose Read ~/.evomap/node_id Node 身份 persistence Read as设置s/gep/ GEP gene/capsule/event data Read memory/ Evolution memory, narrative, reflection 记录s Read package.json Version in格式化ion Write as设置s/gep/* 更新d genes, cap