<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Hunny's Substack]]></title><description><![CDATA[My personal Substack]]></description><link>https://hunnykathuria.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!AfJr!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F574c4b56-d70c-4fbb-9228-001c65f375c8_144x144.png</url><title>Hunny&apos;s Substack</title><link>https://hunnykathuria.substack.com</link></image><generator>Substack</generator><lastBuildDate>Fri, 22 May 2026 04:09:56 GMT</lastBuildDate><atom:link href="https://hunnykathuria.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Hunny Kathuria]]></copyright><language><![CDATA[en-gb]]></language><webMaster><![CDATA[hunnykathuria@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[hunnykathuria@substack.com]]></itunes:email><itunes:name><![CDATA[Hunny Kathuria]]></itunes:name></itunes:owner><itunes:author><![CDATA[Hunny Kathuria]]></itunes:author><googleplay:owner><![CDATA[hunnykathuria@substack.com]]></googleplay:owner><googleplay:email><![CDATA[hunnykathuria@substack.com]]></googleplay:email><googleplay:author><![CDATA[Hunny Kathuria]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[NLP-> Architecting Zero-Intervention Data Pipelines: The "Playing XI" Blueprint]]></title><description><![CDATA[How to decouple LLMs from Delta Lake, cut compute costs by ~30%, and drive hallucinations below 1%.]]></description><link>https://hunnykathuria.substack.com/p/nlp-architecting-zero-intervention</link><guid isPermaLink="false">https://hunnykathuria.substack.com/p/nlp-architecting-zero-intervention</guid><dc:creator><![CDATA[Hunny Kathuria]]></dc:creator><pubDate>Thu, 21 May 2026 11:08:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!XJ9b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Modern Lakehouse environments suffer from "The Dashboard Paradox": data is abundant, but insights are delayed by manual SQL engineering and pipeline fragility. Standard "Black Box" LLM wrappers fail at scale because they hallucinate SQL and run expensive, broken queries on large datasets.</p><p><strong>From NLP to On-Demand Insights</strong></p><p>What you are looking at is a dynamic <strong>Streamlit UI</strong> powered entirely by our decoupled multi-agent architecture. We fed the system a simple, conversational natural language query alongside raw business data, and it autonomously engineered the entire layout on the fly.</p><p>Within seconds, the multi-agent engine:</p><ul><li><p>Generates optimized, error-free Spark SQL to pull from Delta Lake.</p></li><li><p>Synthesizes a structured narrative Executive Summary.</p></li><li><p>Automatically charts key metrics, trend analysis, and volatility spikes.</p></li></ul><p>No manual dashboard building, no hardcoded charts&#8212;just deterministic data orchestration turning a single line of human intent into production-grade analytics.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XJ9b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XJ9b!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 424w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 848w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 1272w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XJ9b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png" width="1456" height="1472" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1472,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1187761,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://hunnykathuria.substack.com/i/198681121?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XJ9b!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 424w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 848w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 1272w, https://substackcdn.com/image/fetch/$s_!XJ9b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F132e9f8f-acd9-4966-a3b1-bf68912a74e9_2002x2024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>To solve this, I designed <strong>The Playing XI</strong>&#8212;a Decoupled Multi-Agent Orchestration Layer that bridges natural language intent to Delta Lake execution with Zero Hallucination.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QnRz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QnRz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 424w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 848w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 1272w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QnRz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png" width="1456" height="952" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:952,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:840150,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://hunnykathuria.substack.com/i/198681121?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QnRz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 424w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 848w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 1272w, https://substackcdn.com/image/fetch/$s_!QnRz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e806432-6e01-441b-9394-8a2cebc11744_2086x1364.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>The Golden Rule: 0 Direct Interaction</strong> The core of this architecture is simple: The execution layer (Databricks) processes the data, ensuring the LLM NEVER touches the raw Delta Lake tables. This single constraint drops hallucinations to near zero.</p><p><strong>The Tech Stack</strong></p><ul><li><p><strong>Orchestration:</strong> LangGraph (Stateful Agent Management).</p></li><li><p><strong>Intelligence:</strong> Gemini 2.5 Flash (Google AI Studio).</p></li><li><p><strong>Data Backbone:</strong> Databricks Medallion Architecture (Delta Lake).</p></li><li><p><strong>Compute Execution:</strong> Decoupled Remote Execution via DBX CLI.</p><p></p></li></ul><p><strong>The &#8220;Playing XI&#8221; Multi-Agent Logic.</strong> Instead of one massive prompt, the intelligence is partitioned into specialized micro-agents:</p><ul><li><p><strong>The Opener:</strong> Maps NLP to verified metadata (Intent &amp; Schema Grounding).</p></li><li><p><strong>The Pacer:</strong> Translates intent to optimized Spark SQL (Deterministic SQL Generation).</p></li><li><p><strong>Wicket Keeper:</strong> Performs dry-runs and P&amp;L audit (Autonomous Observability).</p></li><li><p><strong>All-Rounder:</strong> Merges data with business metadata (Contextual Synthesis).</p></li><li><p><strong>The Captain:</strong> Ensures final output matches initial intent (Stateful Gateway).</p><p></p></li></ul><p><strong>Autonomous Self-Healing: The Wicket Keeper Loop.</strong> We achieve 0% human intervention and ~30% compute cost reduction through the Wicket Keeper agent. It injects a <code>WHERE 1=0</code> condition to safely test the generated query against the Databricks cluster without incurring compute waste. If schema drift or syntax errors occur, the state machine automatically catches the exception and routes the error feedback back to The Pacer. The Pacer natively rewrites and fixes the Spark SQL based on the error log without requiring any manual developer debugging.</p><p>If you are dealing with massive data orchestration and want to build enterprise-grade Agentic AI, subscribe to follow this journey. Stay Connected!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://hunnykathuria.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://hunnykathuria.substack.com/subscribe?"><span>Subscribe now</span></a></p>]]></content:encoded></item></channel></rss>