Tree-of-Thoughts (ToT) is an agentic reasoning framework that explicitly models problem-solving as a search process over a tree structure, where each node represents an intermediate reasoning step or "thought." The framework enables an AI agent to explore multiple reasoning paths (branches) concurrently, evaluate them using a scoring function or language model self-evaluation, and employ search algorithms like breadth-first or depth-first search to systematically find an optimal solution sequence. This moves beyond linear Chain-of-Thought (CoT) prompting by allowing for backtracking and parallel exploration of hypotheses.




