<?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 Sinhasulabh on Medium]]></title>
        <description><![CDATA[Stories by Sinhasulabh on Medium]]></description>
        <link>https://medium.com/@sinhasulabh?source=rss-bd3e1bc164a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Sinhasulabh on Medium</title>
            <link>https://medium.com/@sinhasulabh?source=rss-bd3e1bc164a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:49:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sinhasulabh/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[Beyond Chatbots: Exploring Agentic Service Desk Workflows]]></title>
            <link>https://medium.com/@sinhasulabh/ai-is-not-about-chatbots-reimagining-service-desks-with-agentic-workflows-e2b766f186c6?source=rss-bd3e1bc164a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2b766f186c6</guid>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[process-improvement]]></category>
            <category><![CDATA[google-agent-development]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Sinhasulabh]]></dc:creator>
            <pubDate>Fri, 22 May 2026 20:41:22 GMT</pubDate>
            <atom:updated>2026-05-22T23:32:04.064Z</atom:updated>
            <content:encoded><![CDATA[<p><em>An early-stage prototype using Google ADK, Gemini 2.5 Flash, and cloud-native tooling</em></p><h3>Introduction</h3><p>Most enterprise AI conversations today still revolve around a familiar pattern:</p><p><strong>Chat UI → RAG → Answer generation</strong></p><p>This pattern has proven useful, especially for knowledge retrieval use cases. But while building with LLM systems, I kept running into a recurring limitation:</p><p>We tend to optimize for answering questions, while most enterprise work is actually about <strong>executing workflows</strong>.</p><p>Organizations rarely struggle because information is missing.</p><p>They struggle because operational workflows are repetitive, fragmented, and heavily dependent on human effort.</p><p>One of the clearest examples of this is the <strong>service desk</strong>.</p><p>Across industries, service desks exist in many forms:</p><ul><li>IT support desks</li><li>HR operations desks</li><li>Customer service teams</li><li>Airline support and rescheduling flows</li><li>E-commerce support systems</li><li>Internal enterprise help desks</li></ul><p>In almost every case, humans are repeatedly performing similar resolution steps at scale.</p><p>That observation led me to build a small prototype exploring a different direction: an <strong>agentic service desk workflow running on Google Cloud Platform</strong>.</p><p>This is not a production system. It is an early experiment to explore how far agent-driven workflows can go beyond chatbot-style interactions.</p><h3>Why Chatbots and RAG Systems Are Not the End State</h3><p>RAG-based systems are excellent at answering questions like:</p><ul><li>“What is the VPN reset procedure?”</li><li>“Where is this policy documented?”</li></ul><p>But in practice, many service desk interactions are not just informational queries.</p><p>They are <strong>multi-step workflows</strong>.</p><p>A RAG chatbot might tell a user how to reset VPN access.</p><p>An agentic system could potentially:</p><ul><li>Check the user’s account state</li><li>Validate access conditions</li><li>Trigger a reset workflow</li><li>Confirm completion with the user</li></ul><p>This shift is important:</p><p>We move from <strong>information retrieval</strong> → to <strong>process participation</strong></p><p>That difference is what motivated this experiment.</p><h3>The Problem with Deterministic Service Desk Systems</h3><p>Most service desk systems today still rely on deterministic routing:</p><pre>User Email<br>    ↓<br>Mailbox<br>    ↓<br>Rules / Routing Logic<br>    ↓<br>Human Agent<br>    ↓<br>Investigation<br>    ↓<br>Resolution</pre><p>While functional, this approach introduces well-known inefficiencies:</p><ul><li>Repetitive manual handling of similar requests</li><li>Context loss between handoffs</li><li>SLA dependency on human availability</li><li>Fragmented knowledge across systems</li><li>High operational overhead for simple issues</li></ul><p>Even when automation exists, it is typically rule-based and brittle.</p><p>Traditional systems ask:</p><blockquote><em>“Which predefined workflow should run?”</em></blockquote><p>Agentic systems instead ask:</p><blockquote><em>“What outcome should be achieved?”</em></blockquote><p>That distinction is the core shift being explored here.</p><h3>Reimagining the Service Desk as an Agentic System</h3><p>In an agent-driven model, a user email is not immediately turned into a ticket.</p><p>Instead, it becomes an input to a system that can attempt resolution first.</p><p>A simplified flow looks like this:</p><pre>User Email<br>      ↓<br>AI Agent receives request<br>      ↓<br>Knowledge + Tool Access<br>(Web / RAG / Tools)<br>      ↓<br>Attempt resolution<br>      ↓<br>Is issue resolved?<br><br>YES → Close interaction<br><br>NO → Escalate with full context</pre><p>The key difference is not just automation.</p><p>It is <strong>context preservation across the entire interaction lifecycle</strong>.</p><p>Instead of passing a blank ticket to a human, the system can pass:</p><ul><li>Full conversation history</li><li>Troubleshooting steps already attempted</li><li>External sources consulted</li><li>Observed constraints or errors</li><li>Suggested next actions</li></ul><p>This significantly reduces the cognitive load on human operators.</p><h3>Prototype Overview</h3><p>To explore this idea, I built a small working prototype deployed on <strong>Google Cloud Platform</strong>.</p><p>It focuses only on a narrow slice of the full vision:</p><blockquote><em>Email → Agent → Response generation</em></blockquote><h4>Current working capabilities</h4><ul><li>Email intake via a monitored mailbox</li><li>Periodic processing of new messages</li><li>Agent invocation using Google ADK</li><li>Response generation using Gemini 2.5 Flash</li><li>Web search via Tavily when needed</li></ul><h4>Not yet implemented</h4><ul><li>RAG over internal knowledge sources</li><li>Ticket creation system</li><li>Formal escalation workflows</li><li>Persistent long-term memory</li></ul><p>The purpose is not completeness, but validation of the agent workflow loop.</p><h3>Architecture Overview</h3><p>The system is composed of two small services:</p><ol><li>Email ingestion and orchestration layer</li><li>Agent execution layer</li></ol><pre>┌────────────────────┐<br>│ End User           │<br>│ Sends Email        │<br>└─────────┬──────────┘<br>          │<br>          ▼<br>┌────────────────────┐<br>│ Gmail Mailbox      │<br>└─────────┬──────────┘<br>          │<br>          │ Cloud Scheduler (polling)<br>          ▼<br>┌────────────────────┐<br>│ Email Handler      │<br>│ Cloud Run          │<br>└─────────┬──────────┘<br>          │<br>          │ A2A (JSON-RPC transport)<br>          ▼<br>┌────────────────────┐<br>│ Google ADK Agent   │<br>│ Gemini 2.5 Flash   │<br>└─────────┬──────────┘<br>          │<br>          ▼<br>┌────────────────────┐<br>│ Tavily Search Tool │<br>└────────────────────┘</pre><h3>Technology stack</h3><ul><li>Google Cloud Run</li><li>Cloud Scheduler</li><li>Google ADK</li><li>Gemini 2.5 Flash</li><li>A2A protocol</li><li>Tavily search API</li></ul><h3>Why This Prototype Uses Polling Instead of Pub/Sub</h3><p>A production-grade architecture would typically use an event-driven approach:</p><pre>Gmail users.watch<br>        ↓<br>Pub/Sub<br>        ↓<br>Email Handler</pre><p>This approach is preferable because it provides:</p><ul><li>Lower latency</li><li>Better scalability</li><li>Event-driven execution</li><li>Cleaner system design</li></ul><p>However, in this prototype I prioritized simplicity and stability within free-tier constraints.</p><p>While experimenting, I encountered cold-start behavior where Cloud Run scaled down to zero between requests.</p><p>In that setup, Pub/Sub delivery required more careful tuning of retries and acknowledgement timing than I wanted to invest in for a prototype.</p><p>Rather than risk unreliable behavior during experimentation, I opted for <strong>Cloud Scheduler polling</strong>, which provided predictable execution.</p><p>It is important to note that this is not a limitation of Pub/Sub itself, but a trade-off made for rapid prototyping.</p><p>For production systems, the event-driven Pub/Sub approach would be the preferred design.</p><h3>How the Agent Works</h3><p>At runtime, the flow is straightforward:</p><pre>User Email<br>   ↓<br>Scheduler triggers ingestion<br>   ↓<br>Email Handler sends request<br>   ↓<br>A2A call to ADK agent<br>   ↓<br>Gemini 2.5 Flash processes request<br>   ↓<br>Agent decides whether to use tools<br>   ↓<br>Tavily search (if needed)<br>   ↓<br>Response generated<br>   ↓<br>Email reply sent back</pre><p>A key design choice here is that tool usage is <strong>model-driven</strong>.</p><p>The agent itself decides when external search is required based on the task context and instructions.</p><p>This makes tool invocation part of the reasoning loop rather than a hardcoded step.</p><h3>Security Considerations (Important)</h3><p>This class of system introduces a non-trivial security surface.</p><p>The current prototype:</p><ul><li>Accepts untrusted email input</li><li>Feeds it into an LLM</li><li>Generates outbound responses using the same system identity</li></ul><p>This introduces risks that must be explicitly addressed in any production version:</p><h4>Key risks</h4><ul><li>Prompt injection embedded in email content</li><li>Malicious instructions hidden in user input</li><li>Unauthorized tool invocation</li><li>Reply loops or unintended email forwarding</li><li>Over-permissive outbound actions</li></ul><h4>What a production system must include</h4><ul><li>Treat all inbound email as untrusted input</li><li>Strict tool permission boundaries</li><li>Output filtering and validation</li><li>Rate limiting and loop prevention</li><li>Human approval gates for sensitive actions</li><li>Full audit logging of agent decisions</li></ul><p>This prototype intentionally does not solve these production concerns, as the goal is to validate workflow structure rather than security hardening.</p><h3>Repositories</h3><p>The implementation is available as two separate experimental repositories:</p><h4>Google ADK Agent</h4><p><a href="https://github.com/sinhasulabh/google-adk-agent">GitHub - sinhasulabh/google-adk-agent: Google ADK time agent deployed on Cloud Run via A2A</a></p><p>Implements the agent logic using Gemini 2.5 Flash and integrates Tavily search as a tool.</p><h4>Email Handler Service</h4><p><a href="https://github.com/sinhasulabh/email-agent-handler">GitHub - sinhasulabh/email-agent-handler</a></p><p>Handles mailbox polling, orchestration, and communication with the agent layer via A2A.</p><h3>What This Experiment Is (and Is Not)</h3><p>It is important to clarify scope.</p><p>This is:</p><ul><li>A prototype</li><li>A workflow experiment</li><li>A proof-of-concept for agent orchestration</li></ul><p>This is not:</p><ul><li>A production-ready service desk system</li><li>A fully autonomous support system</li><li>A replacement for existing ticketing platforms</li></ul><p>The value lies in exploring how far agent-driven workflows can go when they are allowed to participate in the process itself.</p><h3>Final Thoughts</h3><p>Most AI systems today still focus heavily on conversation interfaces.</p><p>But enterprise value is often not in conversation — it is in execution.</p><p>The key shift I wanted to explore with this prototype is simple:</p><p>Traditional automation asks:</p><blockquote><em>“What workflow should run?”</em></blockquote><p>Agentic systems ask:</p><blockquote><em>“What outcome should be achieved?”</em></blockquote><p>This small distinction opens up a different way of thinking about enterprise systems.</p><p>Instead of building better chatbots, we start thinking about systems that can:</p><ul><li>Understand context</li><li>Take actions</li><li>Maintain state</li><li>Escalate intelligently</li><li>Collaborate with humans when needed</li></ul><p>This prototype is a very early step in that direction.</p><p>But it already suggests something important:</p><p>We may be underestimating how much of enterprise workflow is actually automatable — not through rules, but through agent-driven reasoning systems.</p><h3>Closing</h3><p>Thanks for reading.</p><p>This is an early exploration, and I’m actively iterating on it. Future work will focus on:</p><ul><li>RAG integration for internal knowledge</li><li>MCP tool for ticket integrations</li><li>Stronger orchestration and escalation logic</li><li>Improved safety and guardrails</li></ul><p>Feedback, critique, and alternative perspectives are welcome — especially from people building or operating real service desk systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2b766f186c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>