AI GLOSSARY · AI CONCEPTS
Monte Carlo tree search (MCTS)
Definition
Monte Carlo tree search (MCTS) grows a tree of possible decisions and uses sampled outcomes or value estimates to guide further search. Classic versions use random terminal playouts; variants can use policy guidance or early-cutoff evaluation.
Also called: MCTS, MCTS algorithm, Monte Carlo tree search AI, Monte-Carlo tree search, MCTS search.
In plain language
Suppose you must pick a chess move but cannot think through every possible game. Classic MCTS plays out many quick, partly random games from the current position, keeps a tally of which first moves tended to lead to wins, and gradually spends more of its effort on the promising moves while still trying others. Early on its tallies are noisy; with more time they become more reliable. Variants can guide simulations with policies or stop early and estimate a state value. Search still needs a transition and evaluation mechanism and computing time; its name does not establish factual correctness.
Technical definition
The cited Swiechowski et al. review describes four phases for classic MCTS in section 2.1: selection descends from the root by choosing child nodes until a leaf; expansion adds one or more children; simulation (a playout or rollout) in this vanilla form plays a randomised game to the end; backpropagation updates the statistics on the path back to the root. The UCT rule, which builds on the UCB1 formula, picks children by combining their average result with a bonus for rarely tried moves, balancing exploitation and exploration. A 2021 review by Swiechowski et al. (arXiv 2103.04931) describes MCTS as running random simulations while storing action statistics to guide later choices, and notes that strong results in complex domains often need problem-specific modifications or hybrid methods. Its sections 3.3, 4.3 and 5.3 discuss early cutoffs, guided playouts and value estimates rather than requiring random terminal games in every variant.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
What Is an AI Agent? The Model, Tools and Memory Loop
- What you see
- The agent loop of model, tools and memory, shown on one task, where each step uses feedback from the environment.
- Why it exercises the concept
- An agent loop chooses its next step from feedback. MCTS is a different, search-based way to choose the next step by trying out options in simulation first.
Guide · Illustrative, not executed
How to Build an AI Agent: A Minimal Tool Loop
- What you see
- A minimal agent built in Python as a tool-use loop, then checked and probed for where it breaks.
- Why it exercises the concept
- It is the contrast case: a plain tool loop with no tree of alternatives. Adding search over options would be a separate design choice.
Skill by Skill Almanac · Illustrative, not executed
critical-path-planner 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A critical path, slack, cycles and owner overload computed from a task list with durations and dependencies.
- Why it exercises the concept
- Adjacent, not MCTS: it computes a plan exactly with a script. It shows the contrast between exact computation and sampling-based search, and it does not use Monte Carlo methods.
How it shows up when you use agents
The basic agent loop in the guides below is not MCTS: it is a loop in which the model proposes a step, a tool runs it, and the result goes back into the prompt. MCTS is a different idea, searching a tree of alternatives by simulation. It shows up in research on game-playing programs and in work that adds search to model-based agents, for example planners built on reinforcement learning.
You will meet the term in papers and product claims about planning, or about a reasoning model that explores several options. The Swiechowski et al. review describes MCTS as a leading technique for combinatorial games and says that complex domains often need problem-dependent modifications or hybrid methods, per the review's abstract.
What breaks when it is misunderstood: people assume any agent that retries or branches is using MCTS, or expect it to work without a simulator. Classic MCTS samples simulated outcomes; variants may use learned or heuristic value estimates and early cutoffs. A usable transition/evaluation mechanism is still needed. Many real tasks lack a cheap, faithful simulator, and each simulation costs compute or model calls. The next action when a claim mentions MCTS is to ask what the simulation is, how outcomes are scored and how many simulations are run per decision.
Common confusions
- MCTS versus minimax. Minimax searches a game tree systematically to a fixed depth. MCTS grows the tree selectively, guided by sampled results or value estimates and statistics.
- MCTS versus reinforcement learning. MCTS is a search procedure used at decision time. Reinforcement learning is a way of training a policy from rewards. Systems sometimes combine them.
- Random playouts versus randomness overall. Random playouts characterize vanilla MCTS; guided-policy and value-evaluated variants also exist. Selection still steers effort using its chosen statistics.
- Myth. MCTS is what lets chatbots think step by step. Step-by-step text from a language model is chain-of-thought prompting or training, which is a different mechanism.
Related terms
Terms that mention Monte Carlo tree search (MCTS)
1 terms mention this one
More in AI concepts
Sources
- Monte Carlo Tree Search: A Review of Recent Modifications and Applications, sections 2.1, 3.3, 4.3, 5.3, arXiv (Swiechowski et al.) (accessed 2026-11-24)
- Monte Carlo tree search, Wikipedia (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft); OpenAI Codex (bounded factual repairs); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: applied verifier corrections to sourcing and wording.
- : Bounded source repairs: Scoped random terminal rollouts to vanilla MCTS and described checked early-cutoff/value/policy variants; attributed existing four phases to author review. Existing backup/backpropagation retained, not added as a supposedly missing phase. Pending independent re-review.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.