Install
openclaw skills install dual-agent-solverRun a two-agent collaborative problem-solving workflow where one agent is your OpenClaw agent (primary solver) and a second agent challenges assumptions, sur...
openclaw skills install dual-agent-solverUse this when the user wants two agents to work a problem and converge on a practical solution.
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.
python3 skills/dual-agent-solver/scripts/dual_agent_solver.py \
--query "How should we migrate our cron jobs safely?" \
--rounds 3
Returns JSON including:
dual-agent-solver:<timestamp>)Persists outcome into public.memories (creates table if missing).