<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rajvi Desai on Medium]]></title>
        <description><![CDATA[Stories by Rajvi Desai on Medium]]></description>
        <link>https://medium.com/@rajvicurious?source=rss-0aea497de70f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6Gmk9OVKid7TeLWdg0nX4Q.jpeg</url>
            <title>Stories by Rajvi Desai on Medium</title>
            <link>https://medium.com/@rajvicurious?source=rss-0aea497de70f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:04:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajvicurious/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dispatch from MLDS’26: Engineering the Agentic AI Era]]></title>
            <link>https://medium.com/@rajvicurious/dispatch-from-mlds26-engineering-the-agentic-ai-era-712aeb87d1e0?source=rss-0aea497de70f------2</link>
            <guid isPermaLink="false">https://medium.com/p/712aeb87d1e0</guid>
            <category><![CDATA[mld]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Rajvi Desai]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 08:39:36 GMT</pubDate>
            <atom:updated>2026-04-09T08:39:36.477Z</atom:updated>
            <content:encoded><![CDATA[<p>After attending the MLDS’26 (Machine Learning Developers Summit), one message rings loud and clear: we are at the inflection point of Agentic AI. We’re moving far beyond chatbots and basic RAG (Retrieval-Augmented Generation) into systems that reason, plan and execute at scale, with human-like flexibility and enterprise-grade governance.</p><p>This post synthesizes the architectural vision, engineering strategy and production heuristics from MLDS’26, integrating best practices from industry leaders (Snowflake, EY) and hands-on lessons to accelerate our transition.</p><h3>1. The Macro Shift: From Determinism to Dynamic Agents</h3><h3>The Evolution</h3><ul><li><strong>From Monoliths</strong> → <strong>Microservices</strong> → <strong>Multi-Agent Systems (MAS)</strong></li><li><strong>Traditional Logic:</strong> Static, hard-coded flows.</li><li><strong>Agentic Logic:</strong> Dynamic reasoning, where agents use <em>semantic API contracts</em> to decide which tool to use, when, and why.</li></ul><h3>The Operating Model Redefined</h3><p>Our work is shifting from manual execution to strategic oversight:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAol4rVHVLFj7qj1FQEUOw.png" /><figcaption>Fig: Operating Model Shift</figcaption></figure><p><strong>Goal:</strong> Minimize “Edit Distance.” The closer the agent’s output to the human’s final decision, the more effective the system. If the delta isn’t shrinking, it’s a system design problem — not a model problem.</p><h3>2. Enterprise Agent Architecture: The Four-Layer Stack</h3><p>A robust agentic solution isn’t just a prompt. It’s a modular, layered system:</p><ol><li><strong>Interfaces:</strong> Conversational, proactive and human-in-the-loop gateways.</li><li><strong>Decision Intelligence:</strong> The “Reasoning” engine — planning, reflecting, and learning (ReAct loops, Reflection Gates).</li><li><strong>Context Warehouse:</strong> The “Unified Truth” — curated expert knowledge, workflows and system connectors (not just a document dump).</li><li><strong>Governance:</strong> The non-negotiables — RBAC, unified access, cost guardrails, compliance, and audit trails.</li></ol><p><strong>Agent States &amp; Lifecycle:</strong><br>Agents operate as state machines, not linear scripts:</p><ul><li>Analysis → Planning → Execution → Re-analysis / Re-planning (as needed) → Human Handoff</li></ul><p><em>Handoffs are triggered by confidence scores or risk thresholds, not just errors.</em></p><h3>3. Engineering Heuristics: From “Vibe Coding” to Spec-Driven Systems</h3><h3>The New Engineering Mandate</h3><ul><li><strong>No more “prompt until it works.”</strong> Move to <em>Spec-First Development</em>:</li><li>Write PRDs with strict “SHALL” statements (WSDL-style).</li><li>Register tools and capabilities in a discoverable runtime registry.</li><li>Agents must <em>self-reflect</em> (read and retry on their errors before surfacing to users).</li></ul><h3>State &amp; Memory Management</h3><ul><li><strong>Avoid “Context Rot”:</strong> Don’t rely solely on chat history. Persist key “Source of Truth” variables and constraints, re-inject at every step.</li><li><strong>Stateful Memory:</strong> Extract and persist critical facts for long-running or multi-step tasks.</li></ul><h3>Determinism Over Cleverness</h3><ul><li><strong>Constraint Injection:</strong> Use hard rules (JSON Schema, Model Context Protocol) to enforce what the agent can/can’t do.</li><li><strong>Spec-Driven Development:</strong> The spec is the contract; the code is the implementation. The agent reads, plans, and verifies against the spec.</li></ul><h3>4. The Context Warehouse: Expert-First Agentic Solutions</h3><ul><li><strong>Context Warehouse:</strong> A curated repository of SME decision patterns, validation rules and workflows.</li><li><strong>SME-Rooted Flow:</strong> Instead of “Input → LLM → Output”, use “Input → Expert Decision Tree → LLM Execution → Validated Output”.</li><li><strong>Logic:</strong> Experts architect the workflow. LLMs execute within those bounds, ensuring reliability and explainability.</li></ul><h3>5. Production Lessons: Avoiding Common Failure Modes</h3><p><strong>A. The “Bolt-On” Trap</strong></p><ul><li>Don’t wrap LLMs around broken processes. Instead, <em>reimagine workflows</em> where AI is the orchestrator and humans-in-the-loop handle high stakes.</li></ul><p><strong>B. Context Rot &amp; Catastrophic Forgetting</strong></p><ul><li>Fix: Persist and manage agent state at every step, not just chat logs.</li></ul><p><strong>C. Over-Reliance on Prompts (“Vibe Coding”)</strong></p><ul><li>Fix: Move to spec-driven, constraint-based systems.</li></ul><p><strong>D. The Trust Gap</strong></p><ul><li>Fix: Immutable audit trails. Every decision and tool call is traceable to its source for full transparency.</li></ul><h3>6. Agentic Design Patterns: What We’ll Prioritize</h3><ol><li><strong>Tool Use:</strong> Real-time, grounded API/code execution for factual answers.</li><li><strong>Reflection Loop (Draft → Check → Fix):</strong> Mandatory for high-value outputs.</li><li><strong>Human-in-the-Loop (HITL):</strong> For regulated or irreversible actions (e.g., compliance, finance).</li><li><strong>Multi-Agent (Divide &amp; Conquer):</strong> Hierarchical teams for complex, multi-skill workflows.</li></ol><h3>7. Observability: Metrics That Matter</h3><ul><li><strong>Traces:</strong> Monitor not just outputs, but every decision step.</li><li><strong>Tokens/Latency per Tool-Call:</strong> Optimize for speed and cost.</li><li><strong>Retrieval Hit-Rate:</strong> Precision and recall, not just “did it answer.”</li><li><strong>Confidence vs. Correctness:</strong> Correlate agent confidence with output quality.</li></ul><blockquote><strong><em>Key Principle:</em></strong><em> “AI won’t fail because of models; it will fail because of data granularity, staleness and lack of transparency”.</em></blockquote><h3>8. The Hybrid Future: Agentic + Fixed Workflows</h3><p>The most successful patterns are <em>hybrid</em>: agentic reasoning for flexibility, fixed workflows for auditability and compliance. HITL isn’t a fallback — it’s a feature to ensure edits are small and fast, while agents do the heavy lifting.</p><h3>Insightful topics</h3><ul><li><strong>Adopt Spec-First Development.</strong></li><li><strong>Agentic Design Patterns</strong> (parallel vs. hierarchical)</li><li><strong>Prioritize building a Context Warehouse- </strong>not another document dump, but a living, expert-validated knowledge graph.</li></ul><p><strong>Prepared by:</strong> Rajvi Desai<br><strong>Reference:</strong> MLDS’26 Learnings, Industry Best Practices</p><p>Let’s embrace this shift, not as an incremental update, but as a reimagining of how we design, build and operate AI systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=712aeb87d1e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>