Skip to content
Pivot
← Back to Insights

Technology Strategy

AI as the Engine or AI as the Engineer

November 10, 20262 min read

There are two very different ways to put AI into a production system. AI as the engine that runs it, or AI as the engineer that builds it. Mixing the two up is where a lot of AI initiatives quietly go wrong.

When the outcome has to be deterministic

Some situations need deterministic outcomes, full stop. The same input has to produce the same output, every time. Financial calculations. Payroll. Safety-critical and industrial control systems. Anything under regulatory or audit scrutiny. Any pipeline where a small per-step error rate compounds across thousands of runs. This is the 95 percent problem again, and it doesn't go away because AI wrote the code instead of a person.

In these cases, use AI to help design, write and review deterministic code, then let that code run the same way every time. The bugs you'll hit are the bugs software has always had. Logic errors and edge cases, the kind normal QA discipline already handles.

The cost side

There's a cost argument too. Traditional software is usually far cheaper to run than burning tokens to re-reason something that has already been reasoned. Token prices keep falling, but token usage keeps climbing faster. It's the pattern Jevons described in The Coal Question back in 1865. Make fuel cheaper and you burn more of it.

Building software with AI carries its biggest token cost up front. Once it's built, that software is close to free to run. If the work is formulaic, running it through AI every time can be a poor choice on cost alone, before reliability even enters the conversation.

Where AI is the right engine

Other situations are where AI may be the best fit. Processing unstructured data, branching on probabilistic predictions, creating humanlike responses, or empirical work where the outcome or next action isn't known up front. Judgment calls, drafting, triage and research synthesis belong here too. Anything a human reviews before it has real consequence. Anything where variability is the point, like brainstorming, red-teaming or exploring a solution space.

That's where a new class of bugs shows up, ones traditional software never had to account for.

  • Hallucination. Confident fabrication instead of a crash or an error message.
  • Drift, as your data changes or the vendor updates the model under you, so behavior shifts without you touching a line of code.
  • The model quietly taking a different approach than the one you specified.
  • Different output on prompts that look identical, which breaks the assumptions behind regression testing.
  • Prompt injection, an entirely new attack surface.

My rule of thumb

If the logic can be written down as a formula, or a wrong answer would have to be explained to an auditor, a customer or a regulator, AI should build the system and deterministic code should run it.

Where do you draw the line? Which of your AI use cases truly need to be deterministic, and where are you comfortable letting the model improvise?

Have a question this raises for your business?

Let's talk through what applies to where you are today.

Let’s talk