Xavier Fok
← All writing

· 6 min read

Building the Smallest Useful Version First

A practical case for minimum useful automation: build the smallest slice of an AI workflow that actually works before you build the whole pipeline.

Every time I sit down to automate something with AI, I want to build the whole pipeline on day one. Ingest, process, render, publish, notify, retry, log. It feels productive to design the full system before writing the first line of code. It’s also almost always the wrong move. The thing that actually ships and keeps running is the smallest version that does one useful thing end to end, not the most complete version that does everything in theory.

I call this minimum useful automation. It’s a simple idea, but it’s easy to talk yourself out of it, especially once you’ve got agents, local models, and a pile of tools sitting there ready to be wired together.

The trap of building the whole pipeline

When you’re automating something with AI, the appeal of the big build is obvious. You can see the finished shape in your head: a script that watches a folder, an agent that decides what to do with each file, a queue that hands work off to a renderer, a notifier that pings you when something needs a human. It’s tempting to build all of it at once because each piece looks small on its own.

The problem is that none of it is tested until all of it exists, and by the time all of it exists you’ve spent days or weeks on a system you haven’t actually run against real input. Every assumption you made along the way is still unverified. If your assumption about the input format was wrong, or the model’s output doesn’t fit the schema you designed for, you find out after the whole thing is built, not before.

I’ve done this the expensive way more than once: built a multi-stage pipeline for a content or rendering task, only to discover on the first real run that one early stage produces output the next stage can’t actually use. Now the fix isn’t a small patch, it’s touching three of the five stages I built.

What “smallest useful” actually means

Minimum useful automation isn’t “do less.” It’s “automate the smallest slice that replaces a real manual step, end to end, and produces something you’d actually use.” Not a demo. Not a proof of concept that only works on the one example you tested. Something that takes real input, does the actual job, and gives you real output you can act on.

The test I use is simple: can I point this at one real item from my actual backlog and get a usable result out the other end, without me stepping in to fix the middle? If yes, that’s the smallest useful version. If the answer is “yes, but only if I clean the input first” or “yes, but I have to manually reformat the output after,” it’s not there yet. Those manual steps aren’t rounding errors, they’re the part that was supposed to be automated.

This also means the smallest useful version is often narrower than what you originally scoped. Instead of “automate the whole content queue,” it’s “automate turning one script into one rendered draft, using the tools and file layout I already have.” Instead of “build an agent that manages my whole inbox,” it’s “have an agent draft replies to one specific, well-defined category of message, and leave everything else alone.”

An example from my own queue

A good chunk of what I run day to day is content automation: scripts get written, turned into audio, rendered into video, and queued for publishing. When I first set this up, my instinct was to build the entire chain before touching a single real script: file watcher, text-to-speech step, render step, queue manager, publish step, all wired together.

What worked better was picking the one stage that was eating the most manual time, wiring an AI step into just that stage, and running it against real scripts already sitting in my backlog. Once that one stage reliably produced output I didn’t need to touch by hand, I moved to the next stage. Each stage got proven against real material before the next one was built on top of it. The pipeline that exists now is the same shape I originally imagined, but it got there by being useful at every step along the way instead of only being useful once the whole thing was finished.

That order matters more than it sounds like it should. Build stage two before stage one is proven, and you’re debugging two unverified things at once instead of one.

Why local vs cloud matters at this stage

The local versus cloud question comes up constantly in AI automation, and it matters more at the “smallest useful version” stage than people expect. When you’re testing whether a step actually works, you’re going to run it over and over, on real examples, tweaking prompts and logic as you go. A cloud model call that costs you API usage or hits a rate limit every time you iterate slows down exactly the loop you need to move fast.

Running a step locally, even with a smaller or slower model than you’d eventually use in production, lets you iterate against real data as many times as you need without worrying about cost or throttling. Once the logic is right and the step is proven useful, that’s the point to decide whether it needs a more capable cloud model for quality, or whether the local model was good enough all along. Making that decision after you’ve proven the step works is a much better position than committing to a cloud dependency before you know if the step is even worth automating.

I’m not claiming local models match cloud models on every task, because they don’t always, and it depends heavily on the specific job. What I am saying is that the iteration loop for building minimum useful automation is usually cheaper and faster locally, and that’s reason enough to start there for most steps.

Agents and MCP don’t change the order of operations

Agents and MCP servers get talked about like they let you skip straight to the ambitious version, because now the AI can call tools, read files, and make decisions on its own. That capability doesn’t change the order you should build in. An agent wired up to five tools is still five integration points that can each be wrong in a way you won’t see until you run it on something real.

The same minimum useful test applies. Give the agent access to one tool, aimed at one narrow task, and see if it reliably does that task correctly on real input. If it does, add the next tool or the next piece of scope. If you wire up all five tools at once and the agent behaves badly, you won’t know which tool, which instruction, or which piece of context caused it. MCP makes it easier to give an agent access to a lot of capability quickly. That’s exactly why it’s worth resisting the urge to hand over all of it before you’ve proven the agent handles the smallest slice correctly.

How to know when to expand

The signal to add scope is simple: the smallest useful version has been running against real work for a while, without you quietly stepping in to fix its output by hand. If you catch yourself correcting the output every time before you actually use it, the automation isn’t done, it just moved the manual work to a different spot in the process. Once a step is genuinely hands-off on real input, that’s when it’s worth extending to the next piece of the pipeline, not before.

The failure mode on the other side

It’s worth naming the opposite failure too, because “start small” can turn into “never finish.” Some steps stay in perpetual prototype mode, tested once, called “working,” and never actually plugged into anything real. Minimum useful automation only counts if the small version is actually running and actually saving you the manual step, not just proven possible in a one-off test. The goal isn’t to stay small forever, it’s to build the smallest version that’s real, let it earn the next piece of scope, and keep going from there.

If you want to see how this plays out on the video and automation side of what I build, I write these breakdowns as I go, and I’d rather show the actual working pieces than a diagram of the whole imagined system. You can find more of that on the home page.

Get new guides and videos first — join the Telegram channel.

Keep reading