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% observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 34
- Release rhythm 8
- Longevity 85
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1200
- days_rel: n/a
- days_push: 400
- n_releases_24m: 0
Adoption not part of the score
4591 stars · 376 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library implementing the Tree of Thoughts algorithm for deliberate, multi-step problem solving with large language models. It provides plug-and-play agents (e.g., DFS-based ToT agents) that wrap your own LLM calls to improve model reasoning.
Use cases
- improve llm reasoning on complex problems
- run tree of thoughts prompting with gpt-4
- solve math and planning tasks with deliberate search
- plug my own model into a tree of thoughts agent
- compare chain of thought vs tree of thoughts reasoning
When to choose
- you want a ready-made Tree of Thoughts implementation to boost LLM reasoning
- you need a plug-and-play agent that works with your own model or OpenAI API
- you are experimenting with search-based prompting strategies like DFS
When to avoid
- you need a production-grade, well-maintained reasoning framework with broad support
- you want simple single-shot prompting without extra token cost
- you need non-Python environments
Facets
library · maturity active
prompt-engineering llm-inference agent-framework machine-learning artificial-intelligence large-language-models python tree-of-thoughts reasoning llm dfs-search plug-and-play natural-language-processing
3 sources
- readme: https://github.com/kyegomez/tree-of-thoughts · fetched 2026-08-28 · 368b3cabe8ff
- homepage: https://discord.gg/qUtxnK2NMf · fetched 2026-08-29 · 3c791664bd51
- registry_pypi: https://pypi.org/pypi/tree-of-thoughts/json · fetched 2026-08-29 · 441b94905379
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kyegomez/tree-of-thoughts | main | 35 |
For agents
markdown · JSON · MCP: product_card(name="kyegomez/tree-of-thoughts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem