PromptForge
AI Glossary

Prompting techniques

Tree-of-thought

Also known as: tot, tree of thought

Definition

Tree-of-thought extends chain-of-thought by exploring several reasoning branches in parallel, evaluating each, and pursuing the most promising. It helps on problems where the first plausible path is often wrong.

Where chain-of-thought follows one line of reasoning, tree-of-thought generates multiple candidate next steps at each stage, scores them, and expands the best. It is closer to deliberate search than to intuition.

In practice this is implemented as an orchestration pattern rather than a single prompt: generate N approaches, evaluate each against criteria, select, then repeat. That makes it considerably more expensive than chain-of-thought — often several times the token cost.

Reserve it for problems where a wrong early commitment is costly and verification is cheap: planning, puzzles with dead ends, and design decisions with several viable directions.

Related terms

Put this into practice

Understanding the term is step one. Our free courses and tools let you actually use it.