Mohammed Khalid Shaik

The Real Leverage Problem: AI in Software Development

The hardest problem in applying AI isn’t capability — it’s classification. Specifically, identifying which problems are probabilistic versus deterministic, and then among the probabilistic ones, which are worth the cost of AI involvement.


The Deterministic Trap in Software Architecture

Take software architecture. The system has to be airtight — no leaks, no ambiguity. And given the number of times an application runs in production, any probabilistic error that AI could make while architecting is essentially guaranteed to surface. Race conditions, null pointers, memory leaks — if the probability is non-zero and the system runs long enough, it’s not a matter of if, it’s when.

Now, humans make those errors too. Software development has never had 100% reliability in theory. But in practice, the reliability gap between a skilled human architect and current models is significant — roughly 100x. More importantly, humans bear liability for their code. That accountability dimension alone makes human judgment irreplaceable at the architecture level, beyond just error rates.


Where AI’s Costs Collapse

There are, however, other dimensions of the software development lifecycle where AI’s value arrives at extremely low cost: error handling, logging, testing, boilerplate, documentation. Beyond a reasonable threshold of complexity, these are areas where probabilistic output is good enough — and the economics flip decisively in AI’s favor.

The shift that needs to happen is converting the software development system from a deterministic formulation to a probabilistic one. That reframing is what unlocks AI leverage across the SDLC. As long as the system is designed to demand deterministic precision end-to-end, AI remains a liability. Once tolerances are built in — appropriate to the layer and the risk — AI becomes a multiplier.


The Lifecycle Dimension

The other variable that determines AI’s role is where the project sits in its lifecycle. Each phase carries its own nuances, tolerances, and failure costs:

Each of these phases has to be individually formulated — what the tolerances are, what the failure modes look like, and where within that phase AI leverage makes sense. There is no single answer across the lifecycle.


The Framework

The core argument reduces to two sequential questions:

  1. Is this problem probabilistic or deterministic? If deterministic, AI is a risk, not a tool.
  2. If probabilistic, does the cost of AI involvement justify the value at this phase of the lifecycle? The answer changes depending on where you are.

Get that classification right, and AI in software development stops being a gamble and starts being a leverage point.