Chain of Thought

Chain of thought is a prompting technique where you ask the model to reason step by step before answering, writing its intermediate steps out loud, which sharply improves accuracy on multi-step maths, logic and planning problems.

LLMs & languageCoTchain-of-thought promptingreasoning steps
§ 01DefinitionChain of Thought

No jargon, no math

In plain words, what is it?

A language model answering a hard question in one shot behaves like someone asked “what's 17 × 24?” under pressure: it blurts out the first plausible result. Chain of thought changes the task: you ask it to write the reasoning first (“first multiply 17 × 20, then 17 × 4, then add”) and only then conclude. Each written step becomes context for the next, so errors get a chance to surface mid-chain instead of hiding inside the final number. You trigger it with a plain instruction (“think step by step”) or, better, by showing one worked example in your prompt (few-shot). The cost is more tokens and more latency, and the model can still dress up a wrong answer with confident-sounding steps, so for anything with real consequences a human or a calculator should verify the chain, not just the result.

§ 02How it worksReason first, answer second
  1. 01

    The problem. A question too long to land in one shot.

  2. 02

    The draft. The model writes intermediate steps before any conclusion.

  3. 03

    The check. Each step is read against the previous ones; broken logic sends it back.

  4. 04

    The answer. A chain that holds becomes the final reply.

§ 04

Want this running in your stack?

We design and ship AI systems with permissions, logs and human approval. It starts with a 30-minute scoping call.