Most enterprise AI projects never reach production. Not because the models are bad. Not because the teams are incompetent. But because of five structural debts that accumulate silently during the pilot phase - and detonate the moment you try to scale. In this episode, Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global; author, O’Reilly Media) breaks down the complete taxonomy of AI production failure: Technical Debt, Operational Debt, Evaluation Debt, Integration Debt, and Governance Debt. Drawing on research from MIT, McKinsey, Gartner, and S&P Global - as well as his own experience deploying causal AI systems in the insurance industry - Ari gives you the diagnostic framework to identify which debts your project is carrying, and the playbook to pay them down before they kill your launch. Topics covered: enterprise AI failure rates, LLM production readiness, AI technical debt, orchestration, evaluation scorecards, governance frameworks, agentic AI systems, insurance AI, regulatory compliance, demo-to-production gap. Wangari is the newsletter and podcast for practitioners and leaders navigating the real work of enterprise AI. New podcast episodes every Friday. https://wangari.global/contact Upcoming Course: From Demo to Production This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit newsletter.wangari.global/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Welcome back to Wangari. I'm Ari Joury, particle physicist, founder and CEO of Wangari Global and author of the upcoming O'Reilly book Soccer Analytics with Python. Today, I want to talk about failure. Not the dramatic obvious kind of failure, the kind where the model hallucinate something embarrassing in a live demo, or the kind where the data pipeline crashes on day one.
SPEAKER_00We've all been there, but I don't want to talk about that. I want to talk about that quiet kind. The kind that accumulates slowly, quite invisibly, over the course of a pilot or even a deployment and then detonates six months later when you're trying to push your system into production. I want to give you a complete map of that failure. A taxonomy, if you will. There's really five categories of debt
SPEAKER_00that kill AI pilots, not all at once, but one by one, sometimes all together in a cascade that is very hard to recover from. But let's start with a number, because I think this number is important. And I think that a lot of people in the enterprise AI space have not fully reckoned with what that means. The number that I want to talk about is somewhere between 80 and 95%.
That's the percentage of enterprise AI projects that never make it into production.
SPEAKER_00Depending on which study you read and how you define production, the number varies, of course, but the range is consistent across multiple independent sources and the direction of travel is not improving. There's McKinsey's 2025 State of AI report that found that while 88% of companies now use AI in some capacity, only 21% have reached production scale with measurable returns.
SPEAKER_00And measurable doesn't mean sizable, right? It just means they managed to find a metric that tells them how much or how little. And that also means that 79% of AI initiatives are stuck somewhere between pilot and production, burning budget, consuming engineering time, and generating exactly zero business value. S&P Global found that 42% of companies abandoned most of their
AI initiatives in 2025 alone.
SPEAKER_00And that's up from 17% in 2024. Now, of course, AI uptake has increased on the whole, but still, that's not a trend, it's an acceleration. The gap between what AI can do in a demo and what it reliably does in production is getting wider, not narrower, even as the underlying models improve. And then there's this MIT study published in the summer of 2025,
which found that 95% of generative AI pilots at large companies were failing to
SPEAKER_00deliver measurable business impact. Not failing to work technically, failing to deliver business impact. That distinction matters because a lot of these systems work, they just don't work in a way that changes anything, that improves anything. Now I want to be careful here because I think there's a temptation to read these numbers and to conclude that AI is overhyped,
SPEAKER_00that their technology doesn't work and that we are all in a bubble. I don't think that's the right conclusion. The technology works, the models are genuinely extraordinary. I've seen what they can do in controlled environments and it's remarkable. The problem is not the technology and, you know, really it's just the gap between the controlled environment and the production environment. It's between the lab and the real world.
SPEAKER_00The problem is that building a demo and building a production system are fundamentally different activities and most organizations are treating them as if they were the same activity simply because the space is moving so fast. Let me give you a picture of what this looks like in practice. So let's say a small, highly motivated team, maybe an innovation lab or a couple of rogue engineers who've been given some discretionary time,
SPEAKER_00spend a few weeks building an AI prototype. They hook up a popular LLM API to a vector database, they build a slick interface, they Tune their prompts carefully for the specific use case that they are demonstrating. Come Monday morning, they demo it to the executive sponsor. The AI summarizes a 50-page compliance document flawlessly. It answers complex queries about a specific policy.
SPEAKER_00The executives are thrilled. The demo is a triumph. High fives all around. Budget is approved for a production roll-up. Six months later, the project is quietly abandoned. It never rolled out to the wider team. It never generated one dollar of ROI. It just faded away. This is not an isolated incident.
SPEAKER_00I've seen versions of this story at insurance companies, at banks, at asset managers, at healthcare providers. The demo works. The production deployment fails. And when you dig into why, you almost always find the same five things. I call them the five debts of AI production. The first debt is a technical debt, and it's the one that most engineers are fairly familiar with already,
SPEAKER_00but it takes a specific and rather particularly nasty form in AI systems. Technical debt in the traditional sense is the accumulated cost of technical shortcuts. So you write code quickly to hit a deadline and you promise yourself you will refactor it later. And usually you don't. The shortcuts then compound and the code base ultimately becomes fragile. Eventually the cost of maintaining all these shortcuts actually
exceeds the cost of
SPEAKER_00writing the whole thing from scratch. In AI systems, technical debt has all of those properties, plus several new ones that are unique to machine learning and, frankly, to LLMs. The first such element is what researchers at Google Brain identified in their landmark 2015 paper, Hidden Technical Debt in Machine Learning Systems.
SPEAKER_00The core insight is that the model itself The actual neural network or gradient booster tree or whatever you're using is often the smallest and most maintainable part of the system. The real complexity lives in the surrounding infrastructure. The data pipelines, the feature engineering code, the serving infrastructure, the monitoring systems, all that.
And all of that infrastructure is typically built quickly under deadline pressure during the pilot phase with the implicit assumption that it'll be cleaned up later.
SPEAKER_00It never gets cleaned up. It gets extended. Features get added on top of features. Data pipelines get patched rather than redesigned and by the time you try to move into production you have a system that is technically functional but architecturally incoherent where changing one component breaks three others in a way that is not obvious and not documented. These Google Brain researchers estimated that for every line of
machine learning
SPEAKER_00code in a production system, there are approximately 10 lines of surrounding infrastructure code. And that infrastructure code is where the debt lives. The second form of technical debt specific to AI is what I call prompt brittleness If you're building on top of a large language model, which most enterprise teams are doing right now,
then your system's behavior is partly determined by the prompts that you've
SPEAKER_00written. And prompts are really fragile. A prompt that works beautifully with one model version may produce completely different results with the next version. A prompt that works in English may fail in French A prompt that works for one type of document may fail for another A prompt that works when the user asks a question in a certain way may fail when they ask the question differently
SPEAKER_00During a pilot, you tune your prompts for the specific documents, right? The specific use case, the specific model version that you are testing because it's all about feasibility during a pilot. When you move to production, those documents are different, the use cases expand and the model gets updated and suddenly your carefully tuned prompts are producing outputs that are subtly wrong in ways that are very hard to cache.
SPEAKER_00The third form of technical debt is what I call the orchestration gap. So a production agentic AI system is not a single model core, right? It's a complex workflow which involves multiple model cores, tool invocations, data retrievals, validation steps, and error handling routines. building this orchestration layer correctly. So with a retry logic and fallback mechanisms and state
management and graceful
SPEAKER_00degradation, it's a significant engineering challenge. And it's almost never done during the pilot phase because the pilot is focused on demonstrating that the core capability works, not on building the infrastructure to run it reliably at scale. That's not what it's there for. Wrapping all of this up, the fix for technical debt is not to write perfect code during the pilot.
SPEAKER_00It's not realistic. The fix is to be really deliberate about where you're taking shortcuts to document them explicitly and to build a refactoring plan before you start the production push. So treat your pilot code base as a prototype, not as a foundation. The prototype proves the concept, then the production system is a different engineering project. You might want to set it all up from scratch.
SPEAKER_00Now, let's move on to the second debt. It's the operational debt. And it's the one that surprises most teams. During a pilot, you have a small and highly motivated team that understands the system intimately. When something goes wrong, somebody on the team knows exactly where to look When the model produces a strange output, which happens more often than not, someone can diagnose it And when the data pipeline breaks, someone can fix it In production,
that's not the case The team that built the pilot is not the same team that operates the production system The people operating the system may not understand
SPEAKER_00how it works And the system itself might be producing wrong outputs in ways that are not immediately visible, but equally fatal. This is the operational debt side of things. So the gap between the operational requirements of a production AI system and the operational capabilities of the organization running it. Let me give you a concrete example of this from the insurance industry which is
SPEAKER_00where I spent most of my time. A major European insurer deployed an AI system for claims triage automatically routing incoming claims to the appropriate processing teams based on the content of the claim. The pilot, which is not by Wangari, was excellent. The model was accurate on the test set. The demo was really impressive and the business case was clear. So they pushed it to production.
A few months later, they discovered that the model's accuracy had degraded significantly.
SPEAKER_00And that was not because the model had changed. It hadn't changed at all. It was just because the data had changed. The mix of claims types had shifted because a new product line had been launched and the claims from that product lines were different systematically from anything in the training data. So the model was routing them incorrectly and there was nobody to monitor the infrastructure so no one noticed until a claims manager started
asking why a
SPEAKER_00particular team was overwhelmed. That's a classical case of model drift and it's one of the most common and most dangerous forms of operational debt. According to research from Galileo AI, 85% of machine learning models fail silently in production, meaning they continue to produce outputs, but the outputs are increasingly wrong and nobody notices until the damage is done.
SPEAKER_00This silent part is the key word. Traditional software fails loudly. It's built that way. So when a database query fails, you get an error message. That's a good thing. When a network connection drops, you get a timeout. But when an AI model starts producing wrong outputs, you just get outputs that look completely normal. They're formatted correctly. They're plausible. They just happen to be wrong.
Detecting silent degradation requires a completely different approach to monitoring
SPEAKER_00than traditional software monitoring. You can't just monitor update time and latency. You need to monitor output quality and monitoring output quality requires having a clear definition of what quality means which brings us back to the evaluation debt which we will get to in a moment. This other dimension of operational debt beyond this is what I
call the ownership gap.
SPEAKER_00So who owns the AI system after it goes to production? Who's responsible for retraining the model when it drifts? Who's responsible for updating the prompts when a new model version is released? Who's responsible for handling the edge cases that the system cannot solve? In most organizations, the answer to all these questions is... Nobody? Unclear? I don't know?
Because the team that built the pilot has moved on to the next pilot project so the operations team doesn't have the skills to maintain an AI system and the system
SPEAKER_00slowly becomes an orphan, technically running but nobody's responsibility. The fix for operational debt is to build monitoring infrastructure before you go to production, not after, and to establish clear ownership before you go. to production as well and not after. These are not technical problems, they're organisational problems and they require real human experts that review the quality of the outputs. That's why they're much harder to solve than the technical ones
because it's not IT on this.
SPEAKER_00Number three is evaluation debt. This is the one that I'm most passionate about because it's the one that's most directly connected to the work that I do at Wangari and the course that I'm teaching this summer. Evaluation debt is the gap between how you measure your AI system's performance during the pilot and how you should be measuring it in production. During a pilot, teams typically evaluate their AI systems using one of two
approaches.
SPEAKER_00The first is what I call the vibe check. You look at a sample of outputs, they seem good, and you ship it. The second is the standard machine learning metrics, so accuracy, precision, recall, F1 score. These are useful metrics, but they're not sufficient for enterprise production. Here's why. Standard ML metrics measure how often the model is correct on a held out test set.
But in enterprise production, what matters is not how often the model is correct on average. It's how the model performs on the specific types of input that matter most to the
SPEAKER_00business and how the model's errors affect business outcomes. Let me make this concrete for you. So imagine you are building an AI system to assist with insurance claims that need some processing. Your model has 95% accuracy on your test set. That sounds excellent. But what if the 5% of cases where the model is wrong are
disproportionately the
SPEAKER_00complex high-value claims? What if the model is systematically wrong on claims involving certain types of damage or certain geographic regions or certain customer demographics? A 95% accuracy score tells you nothing about any of that. That's what I call the accuracy illusion. The false sense of security that comes from optimizing for a
metric that doesn't
SPEAKER_00actually capture what you care about. The accuracy illusion is particularly dangerous in regulated industries. In insurance, a model that is 95% accurate on average, but systematically wrong on a specific demographic group, It's not just a performance problem, it's a regulatory problem, it's a legal problem, it's a reputational and frankly ethical problem.
SPEAKER_00The solution is what I call a decision grade evaluation scorecard. So instead of single accuracy numbers, you build a multi-dimensional evaluation framework that measures the model across five dimensions. Accuracy on the full distribution Reliability on edge cases Latency under production load Cost per decision And most importantly,
SPEAKER_00the quality of the decisions the model enables, not just the quality of the model's outputs. This last dimension is arguably the hardest to measure, but it's also the most important. An AI system that produces technically correct outputs but doesn't actually improve business decisions is not a successful AI system. It's just an expensive dashboard, really. Building this kind of evaluation infrastructure requires what I
call the golden data set. It's a carefully curated set of examples that represent the full distribution of
SPEAKER_00input that your system will encounter in production. and it's annotated with the correct outputs and the reasoning behind those outputs. Building a golden dataset is slow, expensive and unglamorous. It requires domain expertise. It requires careful thought about edge cases. It requires iteration. And it is also one of the highest leverage investments you can make in the long-term reliability of your AI system.
SPEAKER_00A good golden dataset is the foundation of everything else. Your monitoring, your regression testing, your model comparison framework. Without it, you're really just flying blind. The fourth debt is integration debt. And it's the one that most often kills projects that have successfully navigated the first three. Enterprise AI systems do not operate in isolation.
SPEAKER_00They operate within an existing ecosystem of legacy systems, databases, APIs, workflows, and human processes. And integrating an AI system into that ecosystem is almost always significantly harder than building the AI system itself. During a pilot, you typically work with a simplified version of the integration problem. You get a clean data export from the relevant systems,
you build a prototype integration that works for the specific use case that you are
SPEAKER_00demonstrating, but you don't have to deal with the full complexity of a production environment. And then in production, the full complexity hits you all at once. The data is not clean. The APIs are not reliable. The legacy systems have undocumented behaviors. The human workflows that the AI system is supposed to augment are actually just more complex and more bearable than anybody told you during the pilot's
I've seen this pattern in the insurance industry myself and I've bumped against
SPEAKER_00some walls there. An insurer builds a pilot for automated regulatory reporting. The pilot works beautifully on a clean data extract. and when we try to connect the system to the actual production data sources that's the policy administration system and the claim system and the general ledger we discover that the data is inconsistent and that the systems have different data models and that there are thousands of edge cases that the pilot never encountered
SPEAKER_00I'm speaking from experience here The most common response to this discovery is building data cleaning layers. So a set of transformations that normalize the data before it reaches the AI system. This is absolutely how we've worked in the past and it's a reasonable approach. However, it's also a significant engineering project that often was not foreseen in the original scope.
SPEAKER_00was not in the original timeline and was not in the original budget. That's why integration debt is fundamentally a scoping problem. The pilot scopes the AI capability, but it doesn't scope the integration work. And the integration work is often larger than the AI work. The fix is to invest in data archaeology before you start building.
SPEAKER_00So what I mean by that is understand where your data comes from. Understand how it is structured. Understand what edge cases exist. Understand what happens when the upstream systems fail or produce unexpected outputs. Build your integration layer to be robust against all of those scenarios, not just the happy path. And finally, governance debt.
This is the one that's becoming increasingly important as AI regulation also
SPEAKER_00accelerates globally. Governance debt is the gap between What do I mean by governance? I mean the policies, processes and controls that ensure that your AI system behaves in ways that are consistent with your organization's values, legal obligations and risk appetite.
I mean the audit trails that allow you to explain why the system made a particular decision and the human oversight mechanisms that allow you to catch and correct
SPEAKER_00errors before they cause harm. I mean the documentation that allows regulators to understand how the system works and verify that it complies with applicable regulations. During a pilot, governance is often an afterthought. You're focused on proving that the technology works. You're not thinking about audit trails or explainability or regulatory compliance. That's understandable. But it means that by the time that you try to move to production,
you have a system that is technically functional but governance deficient,
SPEAKER_00and retrofitting governance onto an existing system is really difficult. This is particularly acute in regulated industries. In insurance, the EU's Solvency 2 framework, for example, requires that actuarial models be fully auditable and explainable at all times. An AI system that produces correct outputs but that can't explain how it arrived at those outputs is not compliant with Solvency 2,
SPEAKER_00regardless of how accurate it is. The same is true for IFRS 17, for the EU IAC and for a growing body of sector-specific AI regulation in the EU and beyond. The EU AI Act, which came into full force in 2025, classifies AI systems used in insurance, underwriting and claims processing as high-risk systems, which means that they are subject to mandatory conformity assessments,
SPEAKER_00technical documentation requirements and human oversight obligations. Organizations that deployed AI systems without considering these requirements are now facing a very difficult retrofitting problem. The fix for governance debt is to build governance in from the beginning, not to bolt it on at the end. This means designing your system with auditability in mind. It also means choosing model architectures that support explainability.
SPEAKER_00It means building audit logs into your data pipelines, and it means engaging your legal and compliance teams during the pilot phase, not after the production deployment. At wangari we made a deliberate architectural choice to use causal AI rather than purely correlational AI for exactly this reason. Causal models produce outputs that can be explained in terms of cause and effect,
SPEAKER_00which is what regulators and auditors need. Correlational models produce outputs that are accurate on average but opaque in the reasoning, which is what gets you in trouble with Solvency 2 and other legal frameworks. So those are the five deaths. Technical, operational, evaluation, integration, and governance. The reason I find this framework so useful is that it's not
just a diagnostic tool,
SPEAKER_00it's also a prioritization tool. Not all debts are equal. Different projects carry different debt profiles. A team that is building on top of a well-maintained data infrastructure may have very low integration debt but very high evaluation debt. A team in a regulated industry may have very high governance debt. A team that is deploying a new model architecture may have high technical debt.
The first step in paying down your production debts is to take an honest inventory
SPEAKER_00of which debts you are carrying and how large they are. I recommend doing this as a structured exercise with your team at the end of every pilot phase before you make the decision to push into production. In fact, at wangari we do this before the pilot even. So ask yourself five questions. 1. What shortcuts did we take in the codebase and what were the costs to fix them?
What monitoring infrastructure do we have and what were the costs to build it? What edge case have we not evaluated and what were the costs to evaluate it? What integration scenarios have we not tested and what were the costs to test them?
SPEAKER_005. What governance requirements have we not met and what would it cost to meet them? The answers to those questions are your debt inventory. And your debt inventory is the roadmap for your production push. One more thing I want to say about this framework. These debts are not independent of one another. They interact. Governance debt often amplifies evaluation debt. If you don't have a clear definition of what correct means for
your system,
SPEAKER_00you can't build the audit trails that governance requires. Operational debt often amplifies technical debt. So if you don't have monitoring infrastructure, you can't detect the silent failures that technical shortcuts create. The most dangerous situation is when you have high debt across all five dimensions simultaneously. That's when projects don't just fail, they fail expensively publicly and in ways that set back their
entire AI program in
SPEAKER_00an organization. We're almost done. A quick update now from Wangari. The reason I'm so focused on these five deaths is that they are exactly the problems that we solve for our enterprise clients. Wangari's core product SEO is an authentic AI system for regulatory reporting in the insurance industry. And the reason we built it the way we did with causal AI at the core,
with full auditability and with zero data leaving the client's environment is precisely because we took the governance debt and the evaluation debt really
SPEAKER_00seriously from day one. We did a pilot at Zurich Insurance Group which we completed earlier this year and it was built on this foundation. Our system produces Solvency 2 and IFRS 17 compliant actuarial reports in a fraction of the time it previously took. And every output is fully auditable, traceable back to its source data, and explainable in terms that a regulator can understand. So if you're a chief actuary,
a head of AI or a CTO at an insurance company or financial institution and you're
SPEAKER_00dealing with the actuarial time trap, so spending weeks of highly skilled human time on regulatory reports that should take hours, then I'd love to talk to you. You can reach us at wangari.global. Just tap it in your browser and you'll see where to go. And if you're a technical leader who wants to learn how to navigate the demo to production gap yourself, I'm teaching a six-week live course starting on June 9 called
From Demo to
SPEAKER_00Production. It covers all five of those steps in depth with real-world case studies and hands-on exercises. The link is in the show notes. That's it for today's episode of Wangari. The five debts, technical, operational, evaluation, integration and governance. If you're in the middle of an AI pilot right now, I want you to do one thing before your next team meeting.
SPEAKER_00Write down which of these five debts you are carrying. Be honest. Be specific as well. The act of naming them is the first step towards paying them down, even if it's uncomfortable. Next week, we're going to go deep on a question that I get asked a lot. Why am I teaching the boring parts of AI? Orchestration, evaluation, governance. People say, ah, it's not boring, but it really is. It's the stuff that doesn't get conference talks or venture
capital pitches, although
SPEAKER_00Frankly, increasingly it does. It's the stuff that determines whether your AI system actually delivers value over the long term. So if you enjoyed today's episode, please share it with a colleague who's currently in the middle of an AI pilot. They might not know that they are accumulating debt. They might need to hear this. Until next week, keep building things that actually work.
Summer is here, the soccer World Cup is in full swing, and Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global) is connecting the dots between the beautiful game and the hardest concepts in machine...
People often ask how transitioning from theoretical particle physics to founding an enterprise AI company makes any sense. In this episode, Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global) explains why...
For the past decade, the enterprise AI narrative has been dominated by deep learning and pattern matching. These models are incredibly powerful at answering “What is happening?” but fundamentally incapable of answering...
If you want to build a machine learning model to predict the outcome of a soccer match, the algorithm you choose is the least important part of the process. The real challenge is deciding what data to feed it. In this...
Walk into the actuarial department of any major insurance firm, and you will find some of the most highly educated, analytically brilliant minds in the corporate world. Now ask them how they spend their time. The answer...