↓ Skip to main content
  1. writings/
  2. AI-Assisted Data Engineering/

From Prototype to Production

·6 mins·
Table of Contents

Introduction
#

AI has moved from side-task support to operational systems, and that shift changes the bar. Prototype-era habits are fine for a sketch, but production work demands measurement, reliability, and a much higher standard of verification.

I have been an early adopter for my whole career, and the move I am describing here is one of the fastest I have lived through. What follows is less a history lesson than a warning about a habit. The way most of us first learned to use these tools was shaped by a prototype era, and those instincts betray you the moment the output starts running in a real system that real people depend on.

What Changed Between Eras
#

In the early phase, AI felt like a clever novelty that lived off to the side. I used it for first drafts, rough ideas, and quick experiments, and it was a separate tool, something I copied questions into and pasted answers out of. It was useful, but it was never load-bearing. Nothing important rested on it.

Three things shifted at once, and the timing is what matters. Capability improved, so the outputs got genuinely better. Our ability to measure capability improved alongside it, so the gains were not just a feeling, they were observable across many independent yardsticks. And adoption scaled, so these tools moved from pilots into the actual operations of serious organizations. Any one of those alone would be interesting. All three together are what moved AI from experiment to infrastructure. I deliberately avoid pinning this to specific numbers or model names, because those age out within months, and the durable lesson is the direction of travel, not the snapshot.

The everyday version of this is that the assistant is no longer a sidebar I forget about. It reads the repository and proposes changes across files, it drafts the pull request and flags the risky parts, it turns a rough brain dump into a structured ticket, and it helps trace why a pipeline broke overnight. The tools stopped waiting for me to click a button and started working alongside me toward an outcome. That is a different relationship, and it deserves a different level of care.

The Cost of a Production Mistake
#

The reason the bar has to rise is that the cost of a mistake is not symmetric across the two eras. An error in a throwaway prototype costs you a rerun. You shrug, you fix it, you move on, and nobody else ever knew. The blast radius is exactly one person, and the recovery is measured in minutes.

A production data error is a different animal. The cost is usually delayed rather than immediate, which is what makes it so dangerous. A broken metric can sit quietly in a dashboard for days before anyone notices, and by then the number has already traveled into a deck, a decision, or a leadership update. You are no longer fixing a value. You are unwinding everywhere that value has already been believed and acted on, and some of that you cannot fully unwind at all.

This asymmetry is the entire argument for treating production-bound AI work differently. The same prompt, the same model, and the same casual review that served you fine in a notebook become reckless when the output feeds a system of record. Nothing about the tool changed. What changed is the size of the crater if it is wrong, and the standard has to scale with the crater.

Raising the Bar on Verification
#

Verification in the prototype era is mostly vibes, and that is fine, because a sketch only has to look right. Verification in the production era is evidence. It means the change runs against representative data, the assumptions are encoded as tests that fail loudly when violated, and the result is reconciled against a source you trust rather than against the model’s own description of what it did.

The mindset shift is from asking whether the answer looks correct to asking how I would know if it were wrong. Those are very different questions. The first one the model can satisfy effortlessly, because looking correct is precisely what it is good at. The second one forces you to build the checks that catch the failure the model is too confident to see, and those checks are the actual product of senior work.

This is also where data engineering gives AI work a sharper verification surface. Data work has unusually good verification tools available, including uniqueness and not-null assertions, referential checks, row-count reconciliation, and grain validation before and after a change. The agent can help write every one of these, and the chapters in the back half of this book lean on them heavily. The point for now is that verification stops being optional the moment the work leaves the sketchpad.

Designing for Reliability
#

The deepest change the production era asks of you is a change in role. In the prototype era you are a coder producing a one-off result. In the production era you are closer to a system architect, and you are designing for failure, recovery, and trust rather than for a single correct output today. The question is no longer does it work. The question is what happens when it does not.

Designing for reliability means assuming the unhappy path will arrive and deciding in advance how the system behaves when it does. What happens when a source is late, when a key goes missing during a backfill, when a refresh fails halfway? A reliable design has an answer to each of these that does not depend on a human noticing in time. The agent can accelerate building all of it, but the decision about what reliable even means is yours to own.

This is the work that does not fit in a prototype and does not show up in a demo, and it is exactly the work that separates something impressive from something dependable. The exciting phase of convincing people these tools are useful is largely over. The harder and frankly more interesting phase is engineering them into systems that hold up, and that is the phase this book is really about.

Putting It Into Practice
#

  1. Decide explicitly whether a piece of work is a prototype or production-bound, because the standard differs sharply between them.
  2. For anything production-bound, ask how you would know if it were wrong, not just whether it looks right.
  3. Encode your assumptions as tests that fail loudly, so a regression announces itself instead of hiding.
  4. Reconcile results against a trusted source rather than against the model’s own summary of its work.
  5. Design for the unhappy path on purpose, including late sources, missing keys, and failed refreshes.
  6. Treat yourself as the system architect, and keep the definition of reliable in your own hands.
  7. Keep durable principles in view and let specific tools, models, and numbers stay on the living web where they can change.

Related

The Danger of Trusting the Agent

·6 mins
Introduction # Speed without ownership becomes expensive very quickly. When an agent operates in an area you do not understand deeply, you end up with changes you cannot explain, verify, or recover from with any confidence.

Why AI Rests on Earned Judgment

·7 mins
Introduction # AI only makes sense as a tool once you have already been through the cognitive struggle yourself. The struggle is not the obstacle to learning, it is the learning, and it is the only thing that lets you judge what a model hands back instead of accepting it blindly.

anything i can imagine

ai is excellent at helping me produce anything i can already imagine clearly enough to describe, guide, and evaluate. that does not make human creativity obsolete. it makes human creativity the starting point, because the model still needs a person to frame the work, lead the process, and decide what good looks like.

Preface

·2 mins
What this book is # This is a practical account of how I actually work with AI agents as a data engineer, written so I can hold myself to it and so anyone doing similar work can borrow what fits. It is not a survey of every tool, and it is not a promise that the machine will do the thinking for you. It is a record of the habits, the setup, and the guardrails that let me hand real work to an agent and still stand behind what ships.

what room to breathe makes room for

i argued before that room to breathe protects me from burnout and helps me understand what i shipped, but that is only half of it. the space i refuse to fill with one more small improvement does not stay empty, it is where the slower, bigger ideas finally get room to take shape, including the longer thing i recently hinted at. room to breathe is not only rest, it is what makes space for something bigger to come.