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%

62
/ 100
Established

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.

Stale 6m
Maintenance 2 / 25
Adoption 16 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

4,571

Forks

373

Language

Python

License

Apache-2.0

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.