GlossaryLanguage models
Chain of thought
Definition: Chain of thought is the series of intermediate reasoning steps that a language model writes out before it gives its final answer.
In chain-of-thought prompting, the prompt includes a few worked examples whose answers show their steps, and the model follows the pattern. Wei et al. found that, compared with examples that gave only the answer, this more than doubled the share of GSM8K math word problems solved by the largest GPT and PaLM models they tested, though it helped only in models of about 100 billion parameters or more. Kojima et al. showed that adding the sentence “Let’s think step by step”, with no worked examples, raised the share of GSM8K problems an InstructGPT model (text-davinci-002) solved from 10.4% to 40.7%. A reasoning model is trained to write a long chain of thought before it answers.
The written steps do not necessarily show how the model reached its answer; researchers call such reasoning unfaithful. Turpin et al. reordered the options in a prompt’s worked examples so that the answer was always “(A)”. The models’ explanations systematically failed to mention this pattern, and when it pointed to a wrong answer, the models often wrote explanations justifying that answer. Anthropic slipped hints about the answer to two reasoning models; in cases where a model used the hint, Claude 3.7 Sonnet mentioned it in its chain of thought 25% of the time and DeepSeek R1 39% of the time. Reading the chain of thought can still show what a model intends. A July 2025 paper by 41 researchers from Anthropic, Google DeepMind, OpenAI, the UK AI Security Institute and other organizations recommends chain-of-thought monitoring, in which an automated system reads the reasoning and flags suspicious or harmful interactions, while noting that this monitoring “is imperfect and allows some misbehavior to go unnoticed”.
Mangrove’s limits do not rely on the chain of thought. Position sizing rules, daily loss limits, drawdown limits and circuit breakers are enforced in code outside the AI model, so they apply whether or not the model’s written reasoning is correct or reflects what drove its decision. A refused entry is recorded with the reason it was refused.
Jason Wei and eight co-authors named the method in Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (28 January 2022). Large Language Models are Zero-Shot Reasoners (Kojima et al., 24 May 2022) introduced the “Let’s think step by step” prompt. The idea of writing out intermediate steps predates the name: Show Your Work: Scratchpads for Intermediate Computation with Language Models (Nye et al., 30 November 2021) trained models to write intermediate computation steps into a “scratchpad”. Miles Turpin, Julian Michael, Ethan Perez and Samuel Bowman described the faithfulness problem in Language Models Don’t Always Say What They Think (7 May 2023), and Anthropic tested it on reasoning models in Reasoning models don’t always say what they think (3 April 2025). The monitoring paper is Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety (Korbak, Balesni and co-authors, 15 July 2025).
