Building Intelligent Distributed Systems for Enterprise Automation
Why the hard part isn't the model, but the layer underneath it

The models are ready. What usually is not is the layer underneath them, where five systems that were never designed to cooperate have to agree on what just happened.
A team spends months refining the prompts behind an AI agent. In production it fails, and the reason has nothing to do with the model. The ticketing system it depends on returns its errors as ordinary sentences, and the agent cannot tell what any of them mean.
Bharadwaj Kasinadhuni has watched that sequence play out more than once. “I have seen teams spend months fine-tuning prompts for an agent that fails in production because the underlying ITSM API returns unstructured error messages that the agent cannot interpret,” he says. He treats it as the clearest evidence for an unpopular argument: “Enterprise automation at scale is an integration engineering problem disguised as an AI problem.”
Kasinadhuni architects distributed systems that automate operations across heterogeneous backend platforms at a Fortune 500 financial services organisation. His focus is what rarely gets written about: the orchestration layers, tool contracts and cross-system workflows that connect AI capabilities to real enterprise infrastructure.
A category error, not a bug
An error returned as prose is legible to a human and close to useless to a system that must choose between retrying, escalating and stopping. No amount of prompt engineering turns an unstructured string into a decision, so the months spent trying were spent in the wrong layer.
The wider environment makes this harder. A large enterprise is a constellation of specialised systems, among them identity providers, API gateways, secrets managers, ticketing platforms and observability stacks. Each has its own API, authentication model and idea of how data should be shaped. Kasinadhuni has built production workflows across all of these, using tools such as Keycloak, Apache APISIX, Azure Key Vault and Prometheus. None of the integrations is exotic, which is his point. “The common engineering challenge across all of these is not calling any single API,” he says. “It is managing the dependencies, sequencing, failure modes, and audit requirements of workflows that cross all of them.”
Where it breaks
Partial failure is where the difficulty concentrates. A workflow touching five systems can succeed in three, fail in the fourth and leave the fifth waiting. Someone has to decide whether that state is recoverable, whether to retry, whether to reverse what has already happened, and what to record afterwards, and in a regulated industry that record must satisfy compliance. In his view, those are questions for deterministic systems with well-defined contracts rather than for a language model’s judgment.
What changed when the layer was fixed
The fix was unglamorous. His team made the failure legible: errors were returned in a form the agent could act on, writes were given idempotency keys so a repeat could never create a duplicate, and an explicit retry and rollback policy decided what happened after a partial failure. The prompts barely changed. Failed runs fell by more than half, and when something did go wrong, recovery was markedly faster.
The missing connective tissue
He lists what is missing precisely: structured tool interfaces, cross-system identity propagation, transactional error handling, and compliance-grade audit trails. Together these allow an automated system to operate safely across enterprise boundaries, and none of them is a modelling problem. “The models are already capable enough,” he says, a judgement drawn from production deployments where the failures he has seen traced back to the interfaces rather than the model.
His prescription follows. “The highest-leverage investment is not in the AI layer but in the system interfaces the AI operates through.”
A discipline nobody owns yet
It is an awkward argument right now, because the interesting work sounds like it lives in the model and the tedious work in the interfaces. Kasinadhuni’s position is that the tedious work decides whether anything reaches production. It sits between platform engineering and AI application development, and neither field quite claims it. Platform engineers build the systems, and AI developers build on top of them. The layer in between, where identity must travel intact across five services and every action must leave an auditable record, belongs to whoever is willing to learn both sides.
“The enterprise automation revolution will be led by integration engineers, not AI researchers,” he says. His thesis fits in one line that could hang above a keyboard: “Clean inputs produce clean outputs, regardless of model sophistication.”
More from Tom Allen
See all
AI & TechnologyThe Economics of Doing Less: How Aleksandr Nesterov Makes Mobile Apps Pay
AI & TechnologyAI Can Write Software in Minutes. Hud Wants to Make Sure It Doesn’t Break Production
InterviewSmita Verma on AI Reliability, Autonomous Cybersecurity, and the Risks of Removing Human Oversight
InterviewInside AI-Driven Advertising: Industry vet Monica Shukla on What’s Really Changing for Brands on Meta and Google
Recommended for you
More stories
Enterprise AIGoodbye DevRel, Hello AgentRel: Who Decides Enterprise Tool Adoption When Coders Stop Browsing?
Enterprise AIBeyond the pilot: Why platform-first architecture determines whether enterprise AI scales
Enterprise AIBeyond the Hype: Why Enterprise AI Investments Fail Without Deterministic Economics
Enterprise AIWhen Every Vendor is Machine-Readable: What Wins the Agent’s Shortlist
Enterprise AIEnterprise IT isn’t fighting AI regulation. It can’t staff it.
Future of AI