← 返回
AI智能 中文

DualAgentSolver

Run a two-agent collaborative problem-solving workflow where one agent is your OpenClaw agent (primary solver) and a second agent challenges assumptions, sur...
运行双代理协作问题解决工作流,其中一个代理是主要求解器,第二个代理质疑假设、审查逻辑并提供替代观点,以增强解决方案质量。
tvaloki
AI智能 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 497
下载
💾 18
安装
1
版本
#latest

概述

DualAgentSolver

Use this when the user wants two agents to work a problem and converge on a practical solution.

Setup

export OPENBRAIN_MCP_URL="http://127.0.0.1:54321/mcp"
# optional
export OPENBRAIN_MCP_TOKEN="..."

Optional second-agent model via OpenAI API (if key exists):

export OPENAI_API_KEY="..."
export SOLVER_SECOND_MODEL="gpt-4o-mini"

If OPENAI_API_KEY is missing, the second agent also runs through openclaw agent.

Run

python3 skills/dual-agent-solver/scripts/dual_agent_solver.py \
  --query "How should we migrate our cron jobs safely?" \
  --rounds 3

Output

Returns JSON including:

  • round-by-round solver + critic outputs
  • final merged solution
  • memory write result and key (dual-agent-solver:)

Storage

Persists outcome into public.memories (creates table if missing).

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 15:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

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

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,350 📥 317,757
communication-collaboration

DualAgentDebate

tvaloki
在 ChatGPT (OpenAI API) 与通过 MCP 从 Supabase Open Brain 获取的用户自身思考之间运行结构化的2代理辩论循环,最多迭代3轮...
★ 0 📥 558