glossary

Context and retrieval

Chain of thought

Chain of thought is the practice of having the model write intermediate steps before the final answer, which spends extra tokens and can expose a calculation, and it is not the same as showing labelled examples of the finished output.

Abracadabra Team Glossary

How it works

The model produces intermediate steps, then a final line. Sometimes the prompt asks for those steps in the open. Sometimes a reasoning model spends hidden tokens the caller does not see, and the bill still shows them. Either way the point is the same: the answer is reached through stated intermediates rather than as a single jump. Those steps can be checked against a source. They can also be tidy and wrong. A false step that the final line follows is still a chain of thought. It is not evidence that the arithmetic was sound.

This lever is different from few-shot prompting. Examples show finished inputs and outputs. A chain shows the working. You can put working inside examples, and then both levers are on. Steps cost tokens, which matters on a long form, and they consume the window if they are fed into a later call. They do not retrieve a missing rule. If the rate for a booklet was never in the prompt, a longer chain does not discover it. It only spends more tokens on a guess that now looks organised.

A worked example

A mixed supply written out before the tax boxes

A training company asks an assistant to prepare VAT box figures for a course that includes classroom teaching and a printed booklet posted to the delegate. The assistant writes steps: it treats the teaching as one supply, treats the booklet as a separate line, assigns a rate to each, then adds the lines into the box figures. A reviewer can see that the booklet was given the same rate as the teaching. The source note the finance team keeps, which distinguishes the two, was not in the prompt. The steps made that choice inspectable. They did not make it correct.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The steps are fluent and the arithmetic in the middle does not match the final line, and a reader who checks only the last sentence ships the figure.
  • Hidden reasoning tokens are turned on for a short classification that did not need them, and the cost per task rises with no change in the label.
  • The chain is copied into the next call as if it were a source, so a wrong intermediate becomes the premise of the following draft.

How to measure it

Keep the steps, not only the final line, and mark a step that contradicts the source note or the final figure. Record the completion tokens on those calls so a longer chain is visible as cost, separate from correctness.

After you show or hide the steps, or you change how much reasoning the model spends, compare task success for that task and cohort. Read finals the person challenged where the faulty step was already on the page.

Further reading

How Abracadabra helps

A challenge to the final figure, with the faulty step already written above it, is the chain doing its job as an audit trail and still being wrong. After you change whether steps are written, compare task success for that task and cohort.

When context is lost, people restate a fact or repeat the request. Abracadabra pins those corrections and repeated intents to the turn. After a change to what the agent keeps, compare task success for that task and cohort with the previous period.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.