beimianism/Hermeslike-Mixagent-MoA1

hermeslike-moa

DSH plugin — Hermes-style Mixture-of-Agents request aggregator: router → parallel reference advisors → aggregator stream, with dual-provider failover (official + OpenCode Go) and V4P triple-gate cost guard.

包名
hermeslike-moa
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:beimianism/Hermeslike-Mixagent-MoA

配置(组合 base 层)

以下字段在 cordis.patch.yml 插件行 config: 中作为默认值;用户设置覆盖它们:

配置默认说明
apiKeyEnv / DEEPSEEK_API_KEYDEEPSEEK_API_KEYDeepSeek 官方 key 的环境变量引用
goApiKeyEnv / OPENCODE_GO_API_KEYOPENCODE_GO_API_KEYOpenCode Go key 引用(留空禁用 Go 通道)
endpointhttps://api.deepseek.com/chat/completions官方端点
goEndpointhttps://opencode.ai/zen/go/v1/chat/completionsGo 端点(pi-ai catalog 的 opencode-go 真实地址)
enabledtrue总开关
ratio0.5V4P 前瞻预算池比例(F×ratio−P)
windowMs3600000记账滚动窗口
refCount3参考顾问数量
refTemps[0.5,0.8,1.1]各参考温度
aggregatorModelauto聚合模型(auto/flash/pro)
referenceReasoningEffortauto参考顾问思考强度(off/high/max/auto)
aggregatorReasoningEffortauto聚合模型思考强度(off/high/max/auto)
fanoutuser_turn参考扇出节奏(user_turn/per_iteration)
showProgresstrue思考区显示 MoA 进度
preferGotrue优先 Go 通道
fallbackToFlashtrue闸门拦截 V4P 时降级 V4F
minBudgetMultiple3闸门:预算倍数
maxProPerWindow3闸门:窗口内 V4P 次数上限
minProIntervalMs900000闸门:最小间隔
privacyFilterdisplay参考输出脱敏(display/full)

示例:

- insert:
    - id: hermeslike-moa
      name: 'hermeslike-moa'
      config:
        apiKeyEnv: DEEPSEEK_API_KEY
        goApiKeyEnv: OPENCODE_API_KEY
        ratio: 0.5
        refCount: 3