How it works
The program sets the sequence. Call one extracts fields. Call two receives those fields and drafts. Call three receives the draft and checks it against a rule. Each call has its own instruction and its own window. The only link is the text the program forwards. If call one emits a wrong amount, call two will thank the donor for that amount, and call three may only check tone. Nothing in the chain looks at the world and decides to swap call two for a different tool. The order is the workflow.
An agent loop is the other design. There, the model chooses the next action, including whether to stop, from the result it just saw. A chain can be wrapped in retries, but a retry that always runs the same repair call is still a chain. The failure mode follows the pipes. An error early becomes the premise later, and a person only sees the last draft. Log each call's input and output, or the chain is a single opaque answer and the bad field cannot be found. Chaining also multiplies cost, because each step is a full call with its own prefix.
A worked example
Extract, thank, then check the Gift Aid line
A charity inbox runs three calls in order. The first reads an email and returns a donor name and a gift amount. The second writes a thank-you that mentions that amount. The third checks that the thank-you asks the donor to confirm they are a UK taxpayer, which is the charity's Gift Aid wording, and rewrites the draft if the sentence is missing. The first call reads "50" from a line that said "15 or 50 depending on the form" and emits 50. The thank-you names 50. The donor replies that the gift was 15. The fault is in the first output, and it is only visible because that output was stored before the second call ran.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- A wrong field from the first call is treated as fact by every later call, and the person only sees the final draft, so the bad extraction is invisible.
- The checker call is given a rubric that does not include the field that actually failed, so it approves a draft the donor then corrects.
- The chain is described as an agent because it has several calls, and nobody notices it cannot skip a step or fetch a missing form when the first extraction is unsure.
How to measure it
Store each call's input and output, not only the final text. When a person corrects the draft, mark which earlier output introduced the bad field, and whether a later call was even shown that field. Mark the upstream field on the trace.
After you insert, remove or reorder a step, compare task success for that task and cohort. Count corrections that match an upstream field the last call was not asked to check.
Further reading
How Abracadabra helps
A donor correction that matches a field from the first call, while the last call only checked wording, shows the pipe. After the sequence changes, 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.