liveBook · Manning

Chain-of-thought

As explained in Designing AI Agents

A reasoning technique that represents a decision as a sequence of intermediate steps or claims.

Chain-of-thought represents a decision as selected intermediate claims and their dependencies before the final answer. The application owns this structure: claims, evidence references, assumptions, and decisions that later steps can inspect. It is not a request for the model’s complete private scratchpad; a fluent rationale is not proof of correctness. section 5.2 section 5.9

Make the chain useful by:

  • Explicitly representing only important claims whose evidence or invariants can be checked. section 5.2
  • Owning the trigger, claim granularity, evidence links, verification rule, and stopping condition. section 5.2
  • Skipping it for lookups, formatting, deterministic transformations, and narration that nobody can verify. section 5.2

Payroll calculation

A calculation involving an effective-dated policy, location rule, and rounding convention can expose its policy version, calculation order, and intermediate amount. Another component can then check decisive dependencies that a direct final answer might hide. section 5.2

Explicit claims can reveal missing assumptions and support targeted repair, but add token cost and latency, and can sound convincing while wrong. Keep the chain only when its checkable structure improves accepted outcomes; retain the decision record and external evidence, not a rationale as proof. section 5.2 section 5.9

How Designing AI Agents covers it

How deep it goes
Specifies application-owned claims, evidence links, verification, and stopping conditions, but not a faithful private reasoning trace.
Examples
Uses a payroll calculation with policy dates, location rules, rounding, and checkable intermediate amounts.
What you can do after
Evaluate whether explicit decision dependencies justify their verification, token, and latency costs.
How it connects
Connects reasoning chains to mathematical proofs, audit trails, dependency graphs, evidence checks, and execution traces.

Also explained in

Compare how 21 books explain chain-of-thought →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Designing AI Agents. The section links point to the parts of the book it draws on.