← 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
Not currently ranked — collecting fresh signals.
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.

Frequently asked

What is kyegomez/tree-of-thoughts?
Plug-and-play Python implementation of Tree of Thoughts for improving LLM problem-solving through multi-path reasoning.
Is tree-of-thoughts open source?
Yes — kyegomez/tree-of-thoughts is open source, released under the Apache-2.0 license.
What language is tree-of-thoughts written in?
kyegomez/tree-of-thoughts is primarily written in Python.
How popular is tree-of-thoughts?
kyegomez/tree-of-thoughts has 4.6k stars on GitHub.
Where can I find tree-of-thoughts?
kyegomez/tree-of-thoughts is on GitHub at https://github.com/kyegomez/tree-of-thoughts.

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