tree-of-thoughts and the-compiler

Tree of Thoughts is a reasoning framework implementation that the-compiler builds upon as a higher-level abstraction for automated code generation and app development.

tree-of-thoughts
62
Established
the-compiler
52
Established
Maintenance 2/25
Adoption 16/25
Maturity 25/25
Community 19/25
Maintenance 0/25
Adoption 13/25
Maturity 25/25
Community 14/25
Stars: 4,571
Forks: 373
Downloads: 175
Commits (30d): 0
Language: Python
License: Apache-2.0
Stars: 145
Forks: 16
Downloads: 29
Commits (30d): 0
Language: Python
License: Apache-2.0
Stale 6m
Stale 6m

About tree-of-thoughts

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.

About the-compiler

kyegomez/the-compiler

Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!

Implements a Tree of Thoughts search architecture with five core components—Specification Parser, Thought Decomposer, Thought Generator, State Evaluator, and Search Algorithm (BFS/DFS)—to decompose programming tasks into manageable steps and iteratively refine solutions. Accepts high-level software specifications via LLM-driven agents (Architect, Developer, UnitTester) that collaboratively generate unit tests first, then synthesize code validated against those tests. Targets Python development workflows and integrates with OpenAI's API for LLM inference.

Scores updated daily from GitHub, PyPI, and npm data. How scores work