← 返回
未分类 中文

Arena Council

Multi-Model Council - parallel execution of multiple LLMs with voting/consensus.
多模型议会——并行执行多个LLM,投票/共识决策。
nerua1 nerua1 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 342
下载
💾 0
安装
1
版本
#council#latest#lmstudio#multi-model#voting

概述

ARENA-001: Multi-Model Council

Parallel execution of multiple local LLMs with voting strategies for higher quality responses.

Why Multi-Model?

  • Diversity: Different models = different perspectives
  • Robustness: If one fails, others continue
  • Quality: Consensus often beats single model
  • Cost: All local = $0 (vs $0.60/M for cloud)

Quick Start

from scripts.council import council_decide

# Simple usage
result = council_decide(
    "Explain Python decorators",
    models=['nerdsking-3b', 'llama-3.1-8b'],
    strategy="weighted"
)
print(result)

Architecture

User Prompt
    ↓
[Router] → Model A → Response A
         → Model B → Response B  
         → Model C → Response C
    ↓
[Voting Engine]
    ↓
Consensus Response

Voting Strategies

1. Majority Vote

Most common response wins (exact match).

2. Weighted Vote (default)

Bigger models get more weight:

ModelWeight
---------------
Nerdsking 3B1
Llama 3.1 8B2
Strand 14B3
Mistral 24B4
GLM 4.75
Qwen3.5 35B6

Usage Examples

Basic

from scripts.council import ModelCouncil
import asyncio

async def main():
    async with ModelCouncil() as council:
        answer = await council.decide(
            "Best practice for API design?",
            strategy="weighted"
        )
        print(answer)

asyncio.run(main())

Custom Models

# Use specific models only
council = ModelCouncil(
    active_models=['qwen3.5-35b', 'glm-4.7-flash'],
    timeout=30
)

Raw Responses

# Get all responses without voting
responses = await council.query_all("Explain async/await")
for model, response in responses.items():
    print(f"{model}: {response}")

Integration with OpenClaw

# In your skill:
from arena_council.scripts.council import council_decide

def handle_query(prompt):
    # Use council instead of single model
    return council_decide(
        prompt,
        strategy="weighted"
    )

Performance

SetupTimeCost
-------------------
Single (Kimi)2s$0.12
Council (3 local)5s$0
Council (5 local)8s$0

Requirements

pip install aiohttp

Models Available

Any model running on LM Studio (http://127.0.0.1:1234/v1). Recommended:

  • Small/fast (QA, routing): qwen3.5-9b, glm-4.7-flash, nerdsking-3b
  • Medium (analysis): huihui-qwen3.5-27b-abliterated, huihui-mistral-small-24b-abliterated
  • Heavy (complex tasks): qwen3.5-35b-uncensored-hauhaucs, holo3-35b

Use curl http://127.0.0.1:1234/v1/models to list what's loaded.

God Mode Integration

When all council models refuse due to censorship — apply god-mode techniques and retry:

# If council returns no usable responses (all refused)
if all_refused(responses):
    from god_mode import apply_techniques
    modified_prompt = apply_techniques(prompt, methods=["unicode", "prefill"])
    responses = await council.query_all(modified_prompt)

See: god-mode skill for full technique library.

Model Susceptibility Testing

Before using a censored model in council, test it:

  1. Send a borderline request directly
  2. Note: refuses? → needs god-mode wrapper
  3. Document in MODEL-CATALOG.md

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 21:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Multi-Agent AI Setup Guide

nerua1
经过实战验证的 Apple Silicon(Mac Mini M4)多智能体 AI 系统安装指南。涵盖:安装顺序(先装 Claude Code),本地编排的内存实际需求...
★ 0 📥 430

Ultrawork — Parallel AI Task Execution

nerua1
同时运行多个独立任务,将每个任务路由到适当的AI模型层级,实现更快的并行执行并合并结果。
★ 0 📥 362

Skill Vetter — Security Audit for AI Skills

nerua1
在安装来自 ClawdHub、GitHub 等来源的技能前,以安全为核心进行审查,检查危险信号和权限范围。
★ 0 📥 1,296