When a generative system fails at a hard job, the instinctive fix is to break the job up. Extract first, then draft, then check. Each small step is easier than the big one, so the system should get more reliable.

Each small step is easier. The conclusion does not follow. A pipeline is less reliable than its best step, and usually less than its average one, because end-to-end success multiplies the steps' rates together. Decomposition is a real tool — but it pays only under specific conditions, and teams that apply it as a ritual collect the costs without the prize.

Why one call sometimes cannot carry the job

Some jobs genuinely exceed what a single generation should be asked to do. The input is too long to weigh all at once. The reasoning has stages whose errors compound invisibly inside one answer. Or the output has parts with different contracts — facts in one place, judgment in another, style throughout — with no point at which any of them can be checked.

Multi-step generation is the discipline of decomposing such a job into a fixed pipeline of smaller generations, each with its own prompt, context, and output contract, connected by intermediate artifacts that are stored, validated, and inspectable. Fixed matters: the sequence is specified in advance. A chain you specified step by step is an architecture, not an agent, and keeping that line clear is part of the engineering.

Cut where inspection pays

A decomposition earns a step boundary where cutting makes something possible that was impossible inside a single call. There are three such gains, and every step must pay rent in at least one of them — or be cut.

The first is validation. An intermediate artifact can be checked before it conditions the next step. An extracted fact list can be checked against its sources before a narrative is built on it, so errors are caught where they are cheap.

The second is substitution. A step with a fidelity contract, such as extraction, can run a different model, a lower variation setting, or a deterministic program entirely. Generative steps are then reserved for the work only generation does.

The third is reuse and repair. A stored artifact can be regenerated alone when its inputs change, and reviewed by a human where human judgment is strongest. And when the final output is wrong, the trace tells you which step produced the defect — the difference between debugging and re-rolling the whole job and hoping.

Respect the failure arithmetic

Now the other side of the ledger. Suppose, as a round illustration, that each of four steps produces a usable artifact on nineteen of twenty cases, and that the steps' failures are independent. The pipeline then delivers end-to-end success on roughly four cases in five. A chain demonstrated step by step always looks better than the chain run whole, because each demo shows one rate and hides the multiplication.

Real designs substitute measured rates, from a reference set, for each step — but the shape of the arithmetic does not change. Decomposition is justified when the per-step gain outweighs the multiplication: typically when the single-call job's success rate is poor for structural reasons — length, mixed contracts, invisible stages — that cutting genuinely removes.

It is not justified as a ritual. A two-step pipeline whose first step merely rephrases the input adds a failure point, a cost multiple, and a latency multiple, and buys nothing: more calls to pay for, more seams to defend, and a whole-job failure rate nobody computed.

Design the seams, and test the whole job

The joints carry the weight. Each step's output contract should be a schema where software consumes it, with validation at the boundary — not inside the next step's prompt, as a plea.

Errors need a stated move. When a step receives a flagged or low-confidence artifact, it proceeds with the flag attached to the final output, branches to a repair step, or stops and routes to a human. What it never does is the silent move: conditioning on the defect as if it were fact.

The pipeline as a whole is versioned, with each step's prompt and model recorded. It is costed by summing the steps, including retries, and timed by budgeting the slowest path, not the average one. And it keeps a whole-job reference set alongside the per-step sets, because per-step rates can all look healthy while the composed job fails on interactions — an extraction that is technically valid and a narrative faithful to it, jointly producing a summary whose emphasis misleads. Only whole-job cases see the composition.

What the complexity bought: one wrong premium

Consider a renewal-letter generator built as a pipeline. The first step extracts, from claim and policy records, a structured fact sheet: renewal date, premium change, coverage changes, each bound to its source. The second step drafts the letter from the fact sheet alone, never from the raw records, so drafting cannot reach a fact extraction did not validate. The third step checks the draft against the fact sheet mechanically — every amount and date in the letter must appear in the sheet — and attaches its verdict to the review screen.

When a broker found a wrong premium in a letter, the trace assigned the fault in minutes: the extraction had read the prior term's record, a source-selection defect, fixed at the first step's allow-list. Drafting and checking had both performed to contract. A single-call design would have produced the same wrong letter with no way to locate the fault. That locatability is what the complexity bought — and it is the honest test for any chain. If cutting buys validation, substitution, or repair a single call cannot give you, cut it. If it buys none of the three, count the composed rate before celebrating any single step.

Experience it, don’t just read about it

Multi-step generation — decomposition that pays rent in validation, substitution, or repair is Concept 8 of Generative AI Engineering (Course No. 216), from Cognosco Learning, a learning company powered by AI. The course builds the full discipline beyond this distinction — Structured Output — Schemas, Constraints, and Parseable Results, Evaluation Design — Reference Sets, Rubrics, and Golden Cases, and Cost Engineering — Tokens, Caching, and Routing by Difficulty — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.

Try a Free PreviewAll Signature CoursesThe Corporate License

Navigate your own course.

← All Insights

© 2026 Cognosco Learning. All rights reserved.