kyegomez/tree-of-thoughts
Plug in and Play Implementation of Tree of Thoughts: Deliberate Problem Solving with Large Language Models that Elevates Model Reasoning by atleast 70%
Implements depth-first search (DFS) tree exploration with configurable pruning thresholds and multi-agent parallel evaluation to systematically explore reasoning branches. Supports pluggable LLM backends via OpenAI API integration, with built-in prompt engineering templates that simulate expert consensus to guide thought trajectory evaluation and selection.
4,571 stars and 175 monthly downloads. Used by 1 other package. No commits in the last 6 months. Available on PyPI.
Stars
4,571
Forks
373
Language
Python
License
Apache-2.0
Category
Last pushed
Jul 29, 2025
Monthly downloads
175
Commits (30d)
0
Dependencies
6
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/kyegomez/tree-of-thoughts"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
spcl/graph-of-thoughts
Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"
kyegomez/the-compiler
Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!
habedi/cogitator
A Python toolkit for chain-of-thought prompting 🐍
amazon-science/auto-cot
Official implementation for "Automatic Chain of Thought Prompting in Large Language Models"...
atfortes/Awesome-LLM-Reasoning
From Chain-of-Thought prompting to OpenAI o1 and DeepSeek-R1 🍓