AI recursion framework for improved reasoning
Top 20.5% on sourcepulse
This project introduces Chain of Recursive Thoughts (CoRT), a method to enhance AI model performance by enabling recursive self-critique and refinement. It's designed for users seeking to improve AI reasoning and problem-solving capabilities, particularly in tasks like programming, by making models "think harder."
How It Works
CoRT operates by having the AI generate an initial response, then recursively create and evaluate multiple alternative responses over several "thinking rounds." In each round, it generates three alternatives, assesses them, and selects the best one. This iterative refinement process, driven by self-evaluation and competitive generation, aims to produce a superior final output.
Quick Start & Requirements
start_recthink.bat
(Windows).pip install -r requirements.txt
, cd frontend && npm install
, cd ..
, then python ./recthink_web.py
. For the UI demo, cd frontend && npm start
in a new shell.pip install -r requirements.txt
, export OPENROUTER_API_KEY="your-key-here"
, python recursive-thinking-ai.py
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The Web UI is noted as being in early development. The effectiveness is primarily demonstrated on a specific model (Mistral 3.1 24B) and programming tasks, with broader applicability not yet detailed.
3 months ago
Inactive