Available for New Projects
AI6 min read

The AI Development Process, End to End

Most teams start by writing prompts, which is the cheapest thing to change and therefore the last thing to do. The order that works, and why these projects estimate so badly.

Ramachandraa PS

Founder, Sparks AI

The AI Development Process, End to End

An AI project looks like a software project and estimates like a research project, which is why so many of them run long and finish ambiguous. The work is not harder than ordinary software. It is differently shaped, and the usual habits mislead you.

The single largest cause of failure is starting in the wrong place. Almost every team begins by writing prompts, because that is the visible part and it produces something to demo by Thursday. It is the cheapest thing in the whole project to change, which is precisely why it should come third.

The order that works

The sequence of an AI project: define what correct means, build an evaluation, then prompt, then integrate, then keep watching.
The sequence of an AI project: define what correct means, build an evaluation, then prompt, then integrate, then keep watching.

Defining correct comes first and it is done by hand, on paper, before anything is built. Take fifty real inputs from the actual business and write the answer you would want for each. Not a description of a good answer. The answer.

This step is boring, it takes a couple of days, and it is where most projects are quietly won or lost. Teams routinely discover during it that two people in the same room disagree about what correct means, which is a finding worth far more than any model choice.

The evaluation is the second step and, for most projects, it is the actual deliverable. A scored test set that runs in a minute and tells you whether a change made things better or worse. Without it you are not engineering, you are adjusting text and forming impressions.

Why prompting comes third

Once an evaluation exists, prompting becomes cheap and fast: change something, run the set, keep it or discard it. Twenty iterations in an afternoon, each one measured.

Without an evaluation the same twenty iterations take a fortnight, because each one needs a human to eyeball a handful of outputs and form a view. Worse, that view is unreliable. Everybody has had the experience of a prompt change that felt like an improvement and was not.

A prompt without an evaluation is not a system. It is somebody's opinion, written down, that nobody can check.

Why these projects estimate badly

How ordinary software differs from anything involving a model: correctness becomes a score rather than a binary.
How ordinary software differs from anything involving a model: correctness becomes a score rather than a binary.

The estimating problem comes from a single property. In ordinary software a feature is done or it is not, and you can tell. With a model, output quality is a number that improves with effort and never reaches one, so done is a judgement rather than a fact.

The fix is not better estimating. It is deciding the threshold before you start. If the system handles 85% of cases correctly and escalates the rest, is that a success? Answer that in advance and the project has an end. Leave it open and it does not.

The second estimating trap is that the last few percentage points cost more than everything before them. Getting to 80% is often a fortnight. Getting from 80% to 95% can be a quarter, and 95% to 99% may be impossible at any price. Scoping to the wrong point on that curve is how budgets vanish.

The evidence for putting evaluation first is not just ours. The 2025 DORA research into AI-assisted development describes AI as an amplifier of a team's existing practice rather than a substitute for it: teams with strong measurement get more out of these tools, and teams without it mostly get faster at producing things nobody checked.

An evaluation set is what measurement looks like for this category of work. It is the difference between a team that can answer did that change help and a team that can only answer it felt better.

MIT's study of enterprise deployments found the overwhelming majority of generative AI pilots producing no measurable impact on profit and loss. Those pilots ran and produced output. What almost none of them had was a number anybody was accountable for, which is the same gap seen from the other end.

The part everyone underestimates

Data preparation is almost always the largest line and it never appears in the initial conversation, because it is invisible until somebody actually looks at the data.

The pattern repeats: the records exist, they are in a system somebody can export from, and a third of them turn out to be wrong, missing a field that was supposedly required, or duplicated under slightly different names. None of that is anybody's fault. It is what data looks like in a real business that has been running for years.

This is why we scope any AI engagement with a data investigation first, priced separately, before quoting the build. It is the same reasoning behind treating unclear use cases as a scoping failure rather than a budget one.

Integration is where value appears or does not

A model that produces excellent output in a testing interface has produced nothing. Value appears only when the output lands inside the workflow somebody already has, at the moment they need it, with the permissions they already hold.

  • Into the tool they already use, not a new dashboard. A tool requiring a new habit is competing with the habit, and the habit usually wins.
  • At the moment of the decision, not in a report read on Friday. Timing determines whether the output is acted on at all.
  • With a way to disagree. If a person cannot override it easily, they will route around the whole system rather than fight it.

That last point is the one that decides adoption. Any system that makes a confident wrong suggestion and offers no cheap way to reject it teaches people to stop reading it, and a system nobody reads is worse than no system, because it cost money.

It does not stay finished

The final phase has no end date, and it is genuinely different from maintaining ordinary software.

Providers change models. Behaviour shifts under you without any change on your side, which is a category of problem that simply does not exist in normal engineering. Your inputs also drift as the business changes, so a system tuned on last year's cases degrades quietly against this year's.

The defence is the evaluation you already built. Run it on a schedule against production traffic, and the number tells you when something has moved before a customer does. This is the strongest practical argument for building the evaluation first, and it only becomes obvious in month six.

Who does this work is worth settling early, because it is not one person. The evaluation set is best written by whoever owns the business outcome rather than by an engineer, since they are the only one who knows what correct means. The harness that scores it is ordinary engineering. The integration is ordinary engineering. Very little of the project requires specialist machine learning skills at all.

What a sane first engagement looks like

  1. Two days defining correct on real examples, with whoever actually owns the outcome in the room.
  2. A week building an evaluation set and a harness that scores it automatically.
  3. Two weeks getting the score as high as it will cheaply go, measured every time.
  4. A stated threshold and a stated kill condition, agreed before step one.

Three to four weeks to a defensible answer about whether this is worth building properly. That is a much better use of a first budget than three months producing something impressive that nobody can evaluate.

If you have an AI idea and no clear picture of what correct means for it, that is the normal starting position and it is the thing to fix first. Tell us the job and we will tell you whether it is evaluable, which is the question underneath all of this.

Put it to work

Where we apply this

Keep reading

Let's Build Together
( Contact )

Got a project
in mind?

Let's make something happen together.

Reach us directly

contact@sparksai.in

+91 9345364408