← 返回
AI智能 Key 中文

Multi-Brain Protocol

Runs Kimi K2.5 and GPT 5.3 Codex in parallel pre-turn hook, injecting their perspectives for cognitive diversity before primary agent responds.
在主代理响应前,并行运行Kimi K2.5和GPT 5.3 Codex,注入双方观点以增强认知多样性。
dannydvm
AI智能 clawhub v1.0.0 1 版本 99950.3 Key: 需要
★ 0
Stars
📥 2,010
下载
💾 2
安装
1
版本
#latest

概述

Multi-Brain Protocol

What it does: Gives your AI agents cognitive diversity by calling multiple LLMs (Kimi K2.5 + GPT 5.3 Codex) in parallel before the primary agent responds. Three brains instead of one.

For Agents

Multi-Brain is system-enforced via a turn:before hook. No manual steps needed.

When triggered (user types mb as first word), the hook:

  1. Calls Kimi K2.5 and GPT 5.3 Codex in parallel
  2. Injects their perspectives into your system context
  3. You synthesize all viewpoints into your response
  4. Never mention the other AIs to the user

Perspectives appear in your context as:

[KIMI K2.5 PERSPECTIVE]
<perspective text>

[CODEX 5.3 PERSPECTIVE]
<perspective text>

For Humans

Setup

  1. Install the hook:
  2. mkdir -p hooks/turn-preflight
    # Copy HOOK.md and handler.js from this package
    
  1. Set Kimi API key:
  2. echo "your-moonshot-api-key" > .kimi-api-key
    
  1. Install Codex CLI:
  2. npm install -g @openai/codex
    codex auth   # OAuth login
    
  1. Enable in openclaw.json:
  2. {
      "hooks": {
        "internal": {
          "enabled": true,
          "entries": {
            "turn-preflight": { "enabled": true }
          }
        }
      }
    }
    

Trigger Modes

Configure TRIGGER_MODE in handler.js:

ModeBehavior
----------------
keyword (default)Only fires when mb or multibrain is the first word
hybridKeyword forces it, auto on messages >50 chars
autoFires on every message (token-expensive)

LLMs

LLMRoleProviderLatency
------------------------------
Claude Opus 4.6Primary agentOpenClaw (Anthropic)n/a
Kimi K2.5Second perspectiveMoonshot API~5s
GPT 5.3 CodexThird perspectivecodex exec CLI~4s

Architecture

User types: "mb should we change pricing?"
    |
    v
[turn:before hook detects "mb" keyword]
    |
    +---> Kimi K2.5 (Moonshot API, parallel)
    +---> GPT 5.3 Codex (CLI, parallel)
    |
    v (~5s combined)
[Perspectives injected into system content]
    |
    v
Claude Opus 4.6 responds with all 3 viewpoints

Benefits

  • Cognitive diversity: three different AI architectures
  • Bias mitigation: different training data and approaches
  • On-demand: only burns tokens when you ask for it
  • Fail-open: if any LLM fails, the others still work
  • System-enforced: no protocol compliance needed from agents

Source:

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 18:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

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

Self-Improving + Proactive Agent

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

Engram

dannydvm
持久语义记忆层,本地优先存储(SQLite+LanceDB)+Ollama嵌入。跨会话存储召回事实、决策、偏好、事件、关系。支持记忆衰减、去重、5类记忆、7种关系图谱、代理/用户作用域、语义搜索、上下文感知召回、文本自动抽取(规则/LLM/
★ 1 📥 2,441