tree-of-thoughts logo

tree-of-thoughts

kyegomez/tree-of-thoughts

Plug in and Play Implementation of Tree of Thoughts for Elevated Model Reasoning

GraphCanon updated 3w · GitHub synced 3w

4.6k stars374 forksLast push 1y Python Apache-2.0

Decision brief

(Tree-of-Thoughts) Plug in and Play Implementation of Tree of Thoughts for Elevated Model Reasoning

Good fit when

  • - When you require enhanced reasoning capabilities from large language models through structured problem-solving techniques
  • - If you want a pre-implemented solution that claims to elevate model reasoning by at least 70%, simplifying the integration into existing Python projects

Avoid when

  • - Avoid if you need solutions that are heavily customizable beyond what is provided, as it may not offer deep configuration options
  • - Should be avoided in scenarios where minimal dependency installations are critical, as this tool might come with broader package dependencies that could complicate setup
Pricing:
freemium - Free to use due to open-source nature; potential costs associated with hosting and any paid models it interfaces with
Requirements:
Min 4 GB RAM

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (364d since push)
As of 3w
Provenance
Not a fork · Personal account
As of 3w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install tree-of-thoughts
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

kyegomez/tree-of-thoughts is a Python-based implementation focusing on enhancing reasoning capabilities using large language models through deliberate problem-solving techniques.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Jul 28, 2026

Categories

Tags

README

Install

$ pip3 install -U tree-of-thoughts

Requirements

In your .env file, you need to have the following variables:

WORKSPACE_DIR="artifacts"
OPENAI_API_KEY="your_openai_api_key"

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.