← all repositories

kyegomez/tree-of-thoughts

Plug-and-play Python implementation of Tree of Thoughts for improving LLM problem-solving through multi-path reasoning.

4.6k stars Python AgentsLLMOps · Eval
tree-of-thoughts
Velocity · 7d
+4.1
★ / day
Trend
steady
star history

This repository provides an implementation of the Tree of Thoughts reasoning framework, which enables Large Language Models to explore multiple solution paths when solving complex problems. Unlike linear chain-of-thought prompting, it allows deliberate backtracking and evaluation of intermediate reasoning steps. The library integrates with various LLM providers and supports evaluating different thought branches to select optimal solutions.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.