← 返回
未分类

Council Of Llms

Real multi-model council deliberation for OpenClaw subagents. Spawns 3 parallel subagents with different LLMs and distinct analytical perspectives (Strategy,...
真实的OpenClaw子代理多模型委员会审议:生成3个并行子代理,各自使用不同的大语言模型并拥有独特的分析视角(策略、…)
wahajahmed010
未分类 clawhub v2.0.0 3 版本 100000 Key: 无需
★ 1
Stars
📥 657
下载
💾 0
安装
3
版本
#latest

概述

Council of LLMs

Overview

A real council spawns 3 parallel subagents, each with a different model and perspective, then synthesizes their outputs into a unified verdict. This is NOT one model roleplaying 3 experts — it's genuinely different models providing independent analysis.

Models

Configure your council models in ~/.openclaw/council-config.json:

{
  "council_models": [
    "your-strategic-model",
    "your-analytical-model",
    "your-creative-model"
  ],
  "default_timeout": 900,
  "max_tokens": 8192
}

Choose models with different strengths:

  • Strategos (Strategic): Pick a model known for strategic thinking, long-context reasoning, and business insight
  • Analyticos (Analytical): Pick a model known for data analysis, technical precision, and logical reasoning
  • Creativos (Creative): Pick a model known for creative thinking, novel perspectives, and user empathy

The more diverse the models, the better the council output. Using the same model for all three defeats the purpose.

Example configuration:

{
  "council_models": [
    "ollama/kimi-k2.6:cloud",
    "ollama/deepseek-v4-pro:cloud",
    "ollama/gemma4:31b-cloud"
  ],
  "default_timeout": 900,
  "max_tokens": 8192
}

Perspectives

Each model gets a different analytical lens:

PerspectiveRoleFocus
-------------------------
StrategosStrategic analystBig-picture strategy, business impact, feasibility, ROI
AnalyticosData & logic analystTechnical correctness, edge cases, data quality, consistency
CreativosCreative thinkerNovel alternatives, user experience, unconventional approaches

How to Run a Council

Step 1: Prepare the Context

Gather all relevant data BEFORE spawning. Council agents cannot browse the web or access your conversation history. Paste everything they need inline.

Step 2: Spawn 3 Parallel Subagents

Read the model names from council-config.json and spawn each with a different perspective:

sessions_spawn(
  runtime: "subagent",
  mode: "run",
  model: <first model from config>,
  label: "Council-Strategos",
  lightContext: true,
  runTimeoutSeconds: <default_timeout from config>,
  task: "You are Strategos, a strategic analyst. [PASTE CONTEXT HERE]

  Analyze from a STRATEGIC perspective:
  - Business impact and feasibility
  - Resource requirements and ROI
  - Strategic risks and opportunities

  Return your analysis as a structured review with: verdict, conditions, risks, recommendations."
)

sessions_spawn(
  runtime: "subagent",
  mode: "run",
  model: <second model from config>,
  label: "Council-Analyticos",
  lightContext: true,
  runTimeoutSeconds: <default_timeout from config>,
  task: "You are Analyticos, a data and logic analyst. [PASTE CONTEXT HERE]

  Analyze from an ANALYTICAL perspective:
  - Data quality and completeness
  - Technical correctness and edge cases
  - Logical consistency

  Return your analysis as a structured review with: verdict, conditions, risks, recommendations."
)

sessions_spawn(
  runtime: "subagent",
  mode: "run",
  model: <third model from config>,
  label: "Council-Creativos",
  lightContext: true,
  runTimeoutSeconds: <default_timeout from config>,
  task: "You are Creativos, a creative thinker. [PASTE CONTEXT HERE]

  Analyze from a CREATIVE perspective:
  - Novel alternatives and unconventional approaches
  - User experience and usability
  - What's missing that no one else would think of

  Return your analysis as a structured review with: verdict, conditions, risks, recommendations."
)

Step 3: Synthesize

When all 3 return, merge their verdicts:

  1. Consensus points — where all 3 agree
  2. Disagreements — where they differ and why
  3. Blind spots — what none of them caught
  4. Final verdict — weighted synthesis with conditions
  5. Action items — concrete next steps

Write the synthesis to council-review-[topic].md.

Critical Rules

  1. Paste ALL context inline — agents have no conversation history
  2. Keep task descriptions under 2000 words — longer = context overflow = failure
  3. Use lightContext: true — always, to prevent context bloat
  4. Set runTimeoutSeconds from config — default 900, increase for complex topics
  5. Don't spawn with too much data — if pasting 10k+ words, summarize first
  6. Wait for ALL 3 to complete — don't synthesize with 2/3 results
  7. Never re-spawn — if one model times out, note it in the synthesis

Common Failure Modes

SymptomCauseFix
---------------------
All 3 return emptyGateway overloadKill zombie subagents, wait, retry
One model times outSlow model + complex taskIncrease timeout or simplify task
Context overflow (300k+ tokens)Too much data pastedSummarize to <2000 words
Shallow analysisVague task descriptionBe specific about what to analyze
All 3 say the same thingNot enough perspective differentiationMake perspective prompts more distinct

Security & Safety

This skill is read-only and sandbox-safe:

  • Spawns 3 text-in/text-out subagents via sessions_spawn — no filesystem access, no arbitrary commands, no network calls
  • Subagents receive a text prompt and return a text analysis — that's it
  • No exec, no shell commands, no file reads/writes, no API calls
  • Models are configured locally — you control which models run
  • All output is a markdown synthesis file written to your workspace

Anti-Patterns

  • Spawning one subagent and asking it to "be 3 experts" — that's roleplay, not a council
  • Pasting 10k+ words of raw data — summarize first
  • Using the same model for all 3 perspectives — defeats the purpose
  • Synthesizing before all 3 complete — wait for everyone
  • Ignoring disagreements — disagreements are the most valuable output

版本历史

共 3 个版本

  • v2.0.0 当前
    2026-05-21 12:53 安全 安全
  • v1.2.0
    2026-05-07 03:50 安全 安全
  • v1.1.0
    2026-05-02 16:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Auto Skill Extractor

wahajahmed010
自动学习AI的工作,将重复的子任务转化为可复用技能
★ 0 📥 425

Overleaf LaTeX

wahajahmed010
通过 Git 集成或原生代理工具管理 OverleafLaTeX 项目。安装 @wahajahmed010/openclaw-overleaf 插件可获得 6 个原生工具(克隆、分支...)
★ 0 📥 495

Subagent Orchestration

wahajahmed010
有效编排 OpenClaw 子代理,覆盖全部三种代理类型(Worker、Researcher、Council),包括正确的生成模式和沙箱约束等。
★ 0 📥 466