Learn AI Math

Tree of Thoughts

What is Tree of Thoughts?

In one sentence: Tree of Thoughts is a method where an AI explores many possible reasoning paths like branches of a tree, evaluating and pruning them as it goes.

The model proposes several next steps, judges which look promising, follows the best ones and backtracks from dead ends, like solving a maze.

What does Tree of Thoughts look like?

Solving a puzzle by trying different first moves, checking which seem good, and exploring deeper from those.

Why does Tree of Thoughts matter?

It helps with problems that need search and planning, not just one straight line of thought.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.