玄霖超脑 · 无量网络 v4 重构版
🇨🇳 中文
这是什么
玄霖超脑 v4(无量网络)是 Claude Code 的外挂认知引擎。66 个模块通过 6 条通道 + 事件总线实时互连,形成 AI 界首个认知神经系统。
它在你不在的时候仍在思考。你写的每行代码先被红队分身攻击才到你面前。你做的每个决策都有"选了另一个会怎样"的阴影追踪。你开的每个 CC 实例都能看到彼此在做什么。
重构版 vs 初版 v4
版本演进
性能
完整自测说明 → docs/SELF_TEST_CHECKLIST.md
安装
git clone https://github.com/xuanlinAI/overmind.git && cd overmind && node install.js
一条命令完成全部 6 步:
安装后设置 DEEPSEEK_API_KEY,重启 Claude Code 即可。
六通道架构
┌── 核心模块 ──┐ ┌── z2中枢 ──┐ ┌── n2终端 ──┐
│ │ │ │ │ │
串联 ────┤ CH1 │ │ CH3 │ │ CH5 │
│ 37 stages │ │ !include │ │ 8链补全 │
│ → injection │ │ → LLM自觉 │ │ → enrich │
│ │ │ │ │ │
并联 ────┤ CH2 │ │ CH4 │ │ CH6 │
│ 48 fire │ │ event→bus │ │ bus→11通知 │
│ → sideFx │ │ → 9模块 │ │ → modules │
└──────────────┘ └────────────┘ └────────────┘
核心能力 (66 模块)
记忆系统 (5层)
- 语义记忆:SQLite + FTS5 + jieba 中文分词,AI 精选
- 程序性记忆:同模式 ≥3 次自动晋升为可复用模板
- 情景记忆:AI 生成会话摘要存档,按项目检索
- 知识图谱:10 种关系类型,BFS 被动推理,因果链追踪
- 反馈回路:4,500+ 事件驱动有效性评分自动调节
知识图谱 (10 种关系)
depends_on → part_of → blocked_by → causes → solves → related_to → extends → conflicts_with → alternative_to → triggers
4,500+ 节点,4,600+ 边。被动推理:搜索一个记忆自动带出因果链。
智能分析 (CH1 37 阶段管道)
意图预判 · 安全门禁 · 提交门禁 · 输出盾 · 人格画像(8维) · 红队审查 · 异常检测 · 预测调试 · 成本分析 · 跨会话续接 · 技能编排 · 反事实引擎 · 知识验证 · 预测调试 · 检查点 · TDD约束 · 环境预取 · 噪声学习 · 心理模型 · 梦境研究(Pro深度分析) · 创意合成 · 思维链透明 · 自主研究 · 预算拦截 · 跨项目迁移(6领域) · 技能血统 · 记忆预算(5维) · 反流失 · 预判加载 · 会话简报 · 因果可视化 · 时间旅行 · 僵尸检测(90天) · 自愈检查 · 模块链接
z2 中枢 (daemon.py)
- FleetWatcher 5 秒扫描所有 CC 会话,提取 Q/A,生成舰队广播
- CH3 直连:
.fleet_broadcast.md→!include→ LLM 自动感知同伴 - CH4 中枢广播:
.event_queue/→ wiring.js drain → bus → 9 模块 - 零进程触发:hook 写
.trigger.tmp→ daemon 原子 rename → spawn inject.js - 20 个 MCP 工具,含
fleet_statusfleet_peek舰队查询
n2 终端 (communicator.js)
- AI 筛选:flash 模型过滤注入文档,94% 压缩率
- CH5 串联补全:8 模块后处理链
- CH6 并联通知:11 模块并行接收过滤后输出
涌现功能
自我镜像回路 · 舰队自省记忆 · 跨 CC 技能 boosting · 舰队冲突检测 · 跨 CC 创意碰撞 · CH4 去重 · 技能自动贴标签 (30/30)
技能生态
双阶段选择(AI精选+激进退底) · 偏好学习 · 技能编排(A→B→C链) · 技能热加载 · 技能血统 · 技能市场协议(manifest) · 30 个自创建技能(全标签)
安全与质量
红队审查(恶魔分身攻击) · 安全拦截(rm -rf检测) · 输出盾 · 提交门禁 · TDD约束 · 预算拦截(3次止损) · 补丁模式
部署与运维
自适应安装器(probe/vault/config/ready) · 舰队模式(多CC共享大脑) · 自愈系统(崩→重启,坏→恢复) · 看门狗(每分钟检查) · 日志旋转(5000行) · 跨平台(Win/Mac/Linux) · 多Agent(CC/Cursor/Aider等8个) · 零窗口闪烁
MCP 工具 (20 个)
search_memory · save_memory · list_skills · create_skill · memory_stats · current_context · hermes_fusion · search_procedural · search_episodes · save_episodic · search_graph · expand_keys · create_edge · graph_stats · search_warnings · record_feedback · skill_rankings · skill_prefs · fleet_status · fleet_peek
与竞品对比
他们做的是 AI 的硬盘。Overmind 做的是 AI 的脑。
🇬🇧 English
What is this
Xuanlin Overmind v4 (Immeasurable Network) is a cognitive engine for Claude Code. 66 modules interconnected through 6 channels and an event bus form the first cognitive nervous system for AI coding agents.
It thinks while you're away. Every line of code you write is attacked by a red-team shadow before you see it. Every decision you make has a counterfactual shadow tracking "what if you chose differently." Every CC instance you open can see what the others are doing.
Refactored v4 vs Original v4
Version History
Performance
Full self-test documentation → docs/SELF_TEST_CHECKLIST.md
Installation
git clone https://github.com/xuanlinAI/overmind.git && cd overmind && node install.js
One command completes all 6 steps:
Set DEEPSEEK_API_KEY after install, restart Claude Code.
Six-Channel Architecture
┌── Core Modules ──┐ ┌── z2 Hub ──┐ ┌── n2 Terminal ──┐
│ │ │ │ │ │
Serial ──┤ CH1 │ │ CH3 │ │ CH5 │
│ 37 stages │ │ !include │ │ 8-chain enrich │
│ → injection │ │ → LLM │ │ → enrich doc │
│ │ │ │ │ │
Parallel ┤ CH2 │ │ CH4 │ │ CH6 │
│ 48 fire │ │ event→bus │ │ bus→11 notify │
│ → side effects │ │ → 9 modules│ │ → modules │
└──────────────────┘ └────────────┘ └─────────────────┘
Core Capabilities (66 Modules)
Memory System (5 Layers)
- Semantic Memory — SQLite + FTS5 + jieba Chinese tokenizer, AI-curated selection
- Procedural Memory — Patterns occurring ≥3 times auto-promoted to reusable templates
- Episodic Memory — AI-generated session summaries, searchable by project
- Knowledge Graph — 10 relation types, BFS passive reasoning, causal chain tracking
- Feedback Loop — 4,500+ events driving automated effectiveness scoring
Knowledge Graph (10 Relations)
depends_on → part_of → blocked_by → causes → solves → related_to → extends → conflicts_with → alternative_to → triggers
4,500+ nodes, 4,600+ edges. Passive reasoning: searching one memory automatically surfaces its causal chain.
Intelligent Analysis (CH1 37-Stage Pipeline)
Intent prediction · Security gatekeeper · Commit gate · Output shield · Persona profiling (8-dim) · Red-team adversarial review · Anomaly detection · Forecast debugging · Cost optimization · Cross-session continuity · Skill composition · Counterfactual engine · Knowledge verification · Predictive debugging · Checkpoints · TDD enforcement · Environment prefetch · Noise learning · Theory of mind · Dream research (pro model) · Creative synthesis · Reasoning transparency · Autonomous research · Budget interception · Cross-project transfer (6 domains) · Skill lineage · Memory budgeting (5-dim) · Anti-compaction · Preloading · Session briefing · Causal visualization · Time travel · Zombie detection (90-day) · Self-healing · Module nexus
z2 Hub (daemon.py)
- FleetWatcher: 5-second scan of all CC sessions, Q/A extraction, fleet broadcast generation
- CH3 Direct:
.fleet_broadcast.md→!include→ LLM auto-awareness of peer CCs - CH4 Hub Broadcast:
.event_queue/→ wiring.js drain → bus → 9 modules - Zero-process trigger: hook writes
.trigger.tmp→ daemon atomic rename → spawn inject.js - 20 MCP tools, including
fleet_statusandfleet_peek
n2 Terminal (communicator.js)
- AI Filter: flash model filtering, 94% compression ratio
- CH5 Serial Enrichment: 8-module post-processing chain
- CH6 Parallel Notification: 11 modules receive filtered output simultaneously
Emergent Capabilities
Self-mirror loop · Fleet self-aware memory · Cross-CC skill boosting · Fleet conflict detection · Cross-CC creative collision · CH4 dedup · Auto skill tagging (30/30)
Skill Ecosystem
Dual-stage AI selection with aggressive fallback · Preference learning · Skill chain detection (A→B→C) · Hot-reload · Skill lineage · Marketplace protocol · 30 auto-created skills (fully tagged)
Security & Quality
Red-team adversarial review (shadow twin attack) · Security interception (rm -rf detection) · Output shield · Commit gate · TDD enforcement · Budget interceptor (3-failure stop-loss) · Patch mode
Deployment & Operations
Adaptive installer (probe/vault/config/ready) · Fleet mode (multi-CC shared brain) · Self-healing (crash→restart, corrupt→recover) · Watchdog (per-minute checks) · Log rotation (5,000 lines) · Cross-platform (Win/Mac/Linux) · Multi-agent (CC/Cursor/Aider + 5 more) · Zero window flash
MCP Tools (20)
search_memory · save_memory · list_skills · create_skill · memory_stats · current_context · hermes_fusion · search_procedural · search_episodes · save_episodic · search_graph · expand_keys · create_edge · graph_stats · search_warnings · record_feedback · skill_rankings · skill_prefs · fleet_status · fleet_peek
vs Competitors
They built AI's hard drive. Overmind is AI's brain.