Extension for the text-generation-webui that adds self-reflection, heuristics and improved reasoning.
- 🔄 Self-Reflection – Models can silently evaluate and improve their own answers before output.
- 🧠 Heuristics – Trigger reflection based on questions, sentence length, uncertainty, code snippets, etc.
- ⚡ Presets – Ready-to-use profiles: Minimal, Light, Strict, Always Think, Only Questions.
- 🌍 Multilingual UI – Available in German, English, Spanish, French, Portuguese, Italian, Czech.
- Navigate to your
text-generation-webuidirectory. - Clone this repo into the extensions folder:
cd text-generation-webui/user_data/extensions git clone https://github.com/Chris4081/maat-reflection.git 3. Restart the web UI.
• Open the WebUI and go to the 🧭 Maat Reflection tab.
• Adjust:
• Minimum Score and Max Repairs
• Heuristics (questions, multiple sentences, long text, numbers, uncertainty…)
• Presets to quickly switch mode.
💡 Tips • For testing, try clicking the “Always Think” preset – the model will reflect on every response. • Reflection also works with force regex triggers like ? or /think.
📜 License
MIT License © 2025 Chris4081