Discover and explore top open-source AI tools and projects—updated daily.
Resolving LLM agent conflicts via formal verification
New!
Top 97.3% on SourcePulse
Cognitive Dissonance DSPy provides a framework for multi-agent LLM systems to rigorously resolve belief conflicts. It targets developers and researchers seeking ground truth for disagreements, offering deterministic resolution via machine-checked proofs for formalizable claims, moving beyond heuristic-based arbitration.
How It Works
The system leverages DSPy for agent-based belief extraction and conflict detection. Identified conflicts are translated from natural language into the Coq formal specification language. A Coq prover then attempts to generate a machine-checked proof for the claim. This integrated loop of dissonance detection, NL-to-Coq translation, and online proving offers a novel approach to achieving verifiable consensus among LLM agents.
Quick Start & Requirements
coqc
command), Ollama or compatible API endpoint.pip install -r requirements.txt
. Coq installation instructions are provided for Ubuntu/Debian and macOS.https://github.com/evalops/cognitive-dissonance-dspy.git
. Examples: examples/mathematical_claims.py
, examples/advanced_theorems.py
, examples/comprehensive_demo.py
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 weeks ago
Inactive