Scaffold, Fill, Verify: An Industrial Experience Report on Agentic Generation of Integration Pipelines

Luciano Lucindo Chaves, Renan Novais, Pablo Calvache

TL;DR

An industrial team replaced a write-then-repair pipeline generator with a scaffold, fill, and verify design: one strong model plans the skeleton, small models fill steps in parallel, and the real validator routes each error to the step that caused it.

Read this as a

Why builders care

Editor's note

On development cases it cut cost per case by 49.3% then 74.2% across two campaigns, and it built 41.0% and 61.9% faster. The accuracy gap later vanished once both builders were near the ceiling, so the lasting win was cost and speed.

How to apply it

Editor's note
  1. 1For artifact generation, plan a skeleton with a strong model, fix its shape deterministically, and fill steps with smaller models in parallel, instead of having one agent write the whole artifact and then repair it.
  2. 2Route validator and execution errors to the step that caused them, not through a global rewrite loop.
  3. 3When you compare a new builder with production, watch the baseline's cost over time. Here the old builder got more expensive between campaigns.
  4. 4Treat held-out pass-rate ties with care: on 32 held-out cases they found no difference that did not depend on the measuring instrument.

Code

Not found

No verified code link yet. We checked the abstract, arXiv comments and Hugging Face; if the authors release code later it will show up here.

Key results

From the abstract
  1. 1
    49.3% lower

    In both campaigns the scaffolded builder cost less and built faster; on cases used during development its cost per case was 49.3% lower in the first campaign and 74.2% lower in the second, and its build time 41.0% and 61.9% shorter.

  2. 2

    It also passed more often in the first campaign (once validator false positives were discounted for both builders); by the second, with both builders near the ceiling, the gap was no longer detectable and the production builder's cost had grown, and on 32 held-out cases we found no difference that did not depend on the measuring instrument.

  3. 3

    The scaffolded builder has since replaced the production builder.

  • A common design for agentic generators of executable artifacts lets one agent write the whole artifact and then loop over validation, testing and repair.
  • We report on replacing that design in the production pipeline builder of an enterprise integration platform, whose pipelines are written in a proprietary JSON-based domain-specific language.

  • In the scaffolded builder that replaced it, one strong-model call plans the control-flow skeleton, and deterministic passes fix its shape.
  • Small-model calls then fill each step in parallel.
  • The platform validator and a mocked execution in the real engine drive a correction loop that routes each error to the step that caused it.

A common design for agentic generators of executable artifacts lets one agent write the whole artifact and then loop over validation, testing and repair. We report on replacing that design in the production pipeline builder of an enterprise integration platform, whose pipelines are written in a proprietary JSON-based domain-specific language. In the scaffolded builder that replaced it, one strong-model call plans the control-flow skeleton, and deterministic passes fix its shape. Small-model calls then fill each step in parallel. The platform validator and a mocked execution in the real engine drive a correction loop that routes each error to the step that caused it. We compared the two builders in two campaigns three weeks apart, with one acceptance criterion for both. In both campaigns the scaffolded builder cost less and built faster; on cases used during development its cost per case was 49.3% lower in the first campaign and 74.2% lower in the second, and its build time 41.0% and 61.9% shorter. It also passed more often in the first campaign (once validator false positives were discounted for both builders); by the second, with both builders near the ceiling, the gap was no longer detectable and the production builder's cost had grown, and on 32 held-out cases we found no difference that did not depend on the measuring instrument. We describe the architecture, a measurement protocol for builders with different internals, and lessons on validator false positives and on benchmarking against a baseline that changes during the study. The scaffolded builder has since replaced the production builder.

Everything on this page is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Answers come from the paper summary and abstract.

Ask anything about “Scaffold, Fill, Verify: An Industrial Experience Report on Agentic Generation of Integration Pipelines”, or start with one of these:

Closest matches across the feed and every collection, by shared words in titles, topics and abstracts.