OpenClaw Consensus
9-LLM consensus + disagreement scoring + cheapest-route picks to fight hallucinations.
Versions
0.1.1latestTools 3
consensus Get a 9-LLM consensus answer. Args: prompt: The user question or instruction. mode: ``deep`` (9 models), ``balanced`` (5), or ``fast`` (3). Returns: A dict with ``answer``, ``confidence`` (0..1), ``models_used`` (list), and ``disagreement`` (0..1, higher = riskier hallucination signal).
disagreement_score Score how much the 9 models disagree on a prompt (0..1). A high score is a useful hallucination warning: when frontier models disagree, single-model answers are more likely to be wrong. Returns: ``{"score": float, "per_model": {model: answer_summary}}``.
cheapest_route Recommend the cheapest model combination that meets a quality bar. Args: prompt: The user prompt to route. target_quality: Minimum acceptable quality, 0..1. Default 0.85. Returns: ``{"models": [...], "estimated_cost_usd": float, "estimated_quality": float}``.
Permissions 3
network medium filesystem low env_vars low