<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Iftikar Alam</title>
    <description>The latest articles on DEV Community by Iftikar Alam (@iftikar_alam).</description>
    <link>https://dev.to/iftikar_alam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3764589%2F9eb320b4-32f2-4f7e-9f98-48c16f1d523d.jpg</url>
      <title>DEV Community: Iftikar Alam</title>
      <link>https://dev.to/iftikar_alam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iftikar_alam"/>
    <language>en</language>
    <item>
      <title>I switched off a real web app's server. It still works, and an AI tester proved every interaction.</title>
      <dc:creator>Iftikar Alam</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:53:46 +0000</pubDate>
      <link>https://dev.to/iftikar_alam/i-switched-off-a-real-web-apps-server-it-still-works-and-an-ai-tester-proved-every-interaction-4g52</link>
      <guid>https://dev.to/iftikar_alam/i-switched-off-a-real-web-apps-server-it-still-works-and-an-ai-tester-proved-every-interaction-4g52</guid>
      <description>&lt;p&gt;&lt;strong&gt;Live demo, no install:&lt;/strong&gt; &lt;a href="https://amber-capsule.pages.dev/amber/" rel="noopener noreferrer"&gt;amber-capsule.pages.dev/amber&lt;/a&gt; · &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/iftikar0016/amber" rel="noopener noreferrer"&gt;github.com/iftikar0016/amber&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/FTJPA71csCw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Web apps die when their server does. The front end is just files, but the moment the API goes away, every click hits a dead end.&lt;/p&gt;

&lt;p&gt;For the KaneCLI hackathon I built &lt;strong&gt;AMBER&lt;/strong&gt;: it takes a real open-source app, &lt;a href="https://vikunja.io" rel="noopener noreferrer"&gt;Vikunja&lt;/a&gt; (a to-do app with projects, list/table/Kanban views and comments), and preserves it as a &lt;strong&gt;capsule&lt;/strong&gt;: Vikunja's own, unchanged front end, plus a Service Worker that answers every API call inside the browser. There is no backend process at all. You can open it right now on a static host and add tasks, rename them, comment, mark them done, and they're still there after a reload.&lt;/p&gt;

&lt;p&gt;But "it seems to work" isn't the point. The point is &lt;strong&gt;proof&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A naive replay lies
&lt;/h2&gt;

&lt;p&gt;The obvious way to fake a backend is to record the API traffic and play it back. That works for reads. For writes, it lies: you add a task called &lt;em&gt;Paint samples&lt;/em&gt; and the replay hands you back the task from the recording, not yours. The screen looks right, and nothing was saved.&lt;/p&gt;

&lt;p&gt;So AMBER has one rule: &lt;strong&gt;a recording is never allowed to prove a change.&lt;/strong&gt; Recorded write responses are never replayed. A change has to be really carried out by the capsule's own store (kept in IndexedDB), and a real tester has to see it, with the server provably off.&lt;/p&gt;

&lt;p&gt;That tester is &lt;a href="https://www.kaneclihack.sh/" rel="noopener noreferrer"&gt;Kane CLI&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Kane CLI does four jobs
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The user, on the real server.&lt;/strong&gt; I wrote the journeys in plain English, for example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Open the project Kitchen renovation, add a new task titled Paint samples {{amber_tag}}, then verify it appears in the task list. Reload the page, then verify it is still listed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Kane walks each one against the real Vikunja, through a recording proxy that keeps every API exchange (scrubbed of passwords and tokens). Kane's saved tests are then &lt;strong&gt;frozen by SHA-256&lt;/strong&gt;; a git pre-commit hook refuses any edit, so nobody can change a test to make it pass.&lt;/p&gt;

&lt;p&gt;Every write journey types a &lt;strong&gt;fresh random six-letter tag&lt;/strong&gt; each run, so a replayed response, carrying the recording's tag, can never pass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The judge, with the server off.&lt;/strong&gt; Before and after every run, AMBER checks that nothing listens on Vikunja's port and no Vikunja process exists. The capsule is served by a plain static server with no API, so any &lt;code&gt;/api/&lt;/code&gt; request that reaches it is logged as a &lt;strong&gt;leak&lt;/strong&gt;, and a leak fails the journey even if Kane passed it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The gate on the coding agent.&lt;/strong&gt; The repairs were made by Claude Code, one interaction per commit. A Claude Code &lt;strong&gt;Stop hook&lt;/strong&gt; runs AMBER's gate whenever the agent tries to finish: Kane replays every journey that passed before, and if one now fails, the agent is blocked and handed Kane's brief to read.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. A tester of AMBER's own page:&lt;/strong&gt; four saved Kane tests check the amber block (the visual you see in the video).&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;The baseline, a capsule that could only replay, passed &lt;strong&gt;8 of 15&lt;/strong&gt; journeys: every read, and none of the 7 that change data. Kane caught all 7, each with its own diagnosis ("The app rejected creation of the requested task, so it never appeared in the project list").&lt;/p&gt;

&lt;p&gt;Then the loop: Claude Code reads Kane's failure brief, fixes &lt;strong&gt;one&lt;/strong&gt; interaction in the capsule's store, and a Kane run with the server off proves it. Seven repairs, seven commits: &lt;strong&gt;15 of 15&lt;/strong&gt;. Then Kane re-authored every journey from its plain English on the capsule, with no recorded steps at all: 15 of 15 again.&lt;/p&gt;

&lt;p&gt;To prove the Stop hook really gates the agent, a session broke one repair on purpose and tried to stop. The hook had Kane replay all fifteen; AMBER caught the failure, and the agent was &lt;strong&gt;blocked&lt;/strong&gt;. Once Kane proved the fix, the hook let it go. Both decisions are in &lt;code&gt;runs/gate.ndjson&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The day Kane was wrong
&lt;/h2&gt;

&lt;p&gt;My favourite moment. Kane &lt;strong&gt;passed&lt;/strong&gt; the "comment on a task" journey on the replay-only capsule, but the capsule had refused the comment.&lt;/p&gt;

&lt;p&gt;What happened: after the reload, Vikunja restored the &lt;em&gt;unsent draft&lt;/em&gt; into the comment editor. Kane's check found the text on the screen and said "passed".&lt;/p&gt;

&lt;p&gt;AMBER's own log had seen the refused request (&lt;code&gt;POST …/comments → 501&lt;/code&gt;), so it overruled Kane:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A pass the wire contradicts is a fail.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It happened again in the Stop-hook demo: Kane was fooled by the draft a second time, and it was AMBER's dispute that made the hook block the agent. Kane is very good. But it should never be the only witness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Round two: what a visitor hits in a minute
&lt;/h2&gt;

&lt;p&gt;A review of the first version pointed out what a judge would hit while clicking around: a task you just added can't be opened, the home page and search don't show it, marking it done doesn't move it on the Kanban board, and favourites and labels are refused.&lt;/p&gt;

&lt;p&gt;So: six more plain-English journeys, authored by Kane on the real server, frozen next to the untouched 15. All six failed on the capsule, six repairs followed, each proven by its own Kane run, and the final check passed &lt;strong&gt;21 of 21 with the server off&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Round two also taught me things about the recordings themselves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kane caught my wording twice.&lt;/strong&gt; One journey said "listed next to", which Kane read as "directly adjacent". Another said "the star next to it", and Kane starred a &lt;em&gt;task&lt;/em&gt; instead of the project. Both were fixed before being frozen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Some recordings can't replay honestly.&lt;/strong&gt; Two of Kane's saved checks compared the result against the capture run's own tag, so a fresh tag could never match. And every early recording checked Vikunja's greeting ("Still at it, Amber Demo?"), which Vikunja picks from a hash of the date and time of day, so on another day the outcome depended on Kane's fallback. Those journeys are now verified by &lt;strong&gt;fresh authored runs&lt;/strong&gt; from their plain English, with the reason and evidence written into the lock file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Putting it on real hosting found a real bug.&lt;/strong&gt; Cloudflare Pages redirects &lt;code&gt;/index.html&lt;/code&gt; to &lt;code&gt;/&lt;/code&gt;, and a Service Worker may not answer a page navigation with a redirected response, so every deep link failed. The worker now fetches the app shell as &lt;code&gt;/&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest scope
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;This is &lt;strong&gt;one app&lt;/strong&gt;. AMBER is the agent workflow that produced Vikunja's capsule, not a one-command tool for any site. The capture, replay, verify and gate tooling is general; the store was written for Vikunja, one Kane failure at a time.&lt;/li&gt;
&lt;li&gt;Only the 21 journeys are proven. Upcoming and Gantt views are still replayed, and changes no journey makes are refused with an honest error, never invented data.&lt;/li&gt;
&lt;li&gt;Every claim in the README links to the committed Kane run that proves it, including the credit spend, measured from the Kane balance for every batch.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://amber-capsule.pages.dev/amber/" rel="noopener noreferrer"&gt;amber-capsule.pages.dev/amber&lt;/a&gt; shows the amber block (press &lt;em&gt;Replay the run&lt;/em&gt;, or &lt;em&gt;Open the live app&lt;/em&gt;). The app itself is at &lt;a href="https://amber-capsule.pages.dev/" rel="noopener noreferrer"&gt;amber-capsule.pages.dev&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Locally&lt;/strong&gt;, with no install, no Kane account and no credits:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/iftikar0016/amber &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; amber
node bin/demo.mjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Build it with an agent. Prove it with Kane. Keep it in amber.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The narration in the video is an AI voice (ElevenLabs).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>testing</category>
      <category>ai</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Building SupportX AI Assist: A Multi-Agent IT Support System</title>
      <dc:creator>Iftikar Alam</dc:creator>
      <pubDate>Tue, 10 Feb 2026 15:20:34 +0000</pubDate>
      <link>https://dev.to/iftikar_alam/building-supportx-ai-assist-a-multi-agent-it-support-system-k15</link>
      <guid>https://dev.to/iftikar_alam/building-supportx-ai-assist-a-multi-agent-it-support-system-k15</guid>
      <description>&lt;h2&gt;
  
  
  🚀 Introduction
&lt;/h2&gt;

&lt;p&gt;Have you ever been stuck waiting for IT support to resolve a simple issue like a password reset or a network configuration problem? What if an AI assistant could instantly classify your problem, search through a comprehensive knowledge base, and provide you with a solution in seconds?&lt;/p&gt;

&lt;p&gt;Meet &lt;strong&gt;SupportX AI Assist&lt;/strong&gt; — an intelligent IT support system that leverages multi-agent orchestration, vector search, and large language models to provide instant, accurate solutions to common IT problems. And when it can't solve an issue? It automatically escalates it to human IT support with a detailed ticket.&lt;/p&gt;

&lt;p&gt;In this blog post, I'll walk you through how I built this system, the technologies I used, and the architectural decisions that make it work seamlessly.&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 The Problem
&lt;/h2&gt;

&lt;p&gt;Traditional IT support systems face several challenges:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;High Response Times&lt;/strong&gt;: Users often wait hours or days for simple issues&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repetitive Tickets&lt;/strong&gt;: Support teams spend time answering the same questions repeatedly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manual Classification&lt;/strong&gt;: Issues must be manually categorized and routed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Silos&lt;/strong&gt;: Solutions are scattered across wikis, emails, and documents&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inefficient Escalation&lt;/strong&gt;: No automated way to escalate unresolved issues&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I wanted to build a solution that addresses all these pain points using modern AI technologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  🏗️ The Solution: Multi-Agent Architecture
&lt;/h2&gt;

&lt;p&gt;SupportX AI Assist uses a &lt;strong&gt;multi-agent system&lt;/strong&gt; where specialized AI agents work together to solve IT issues. Here's how the workflow works:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User Query
    ↓
ClassifierAgent (Categorizes the issue)
    ↓
KnowledgeBaseAgent (Searches Azure AI Search with Gemini embeddings)
    ↓
Solution Found? → Yes → Return to User
    ↓
    No
    ↓
NotificationAgent (Escalate via email)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fiftikar0016%2Fmulti-agent-it-support%2Frefs%2Fheads%2Fmain%2Fimages%2Farchitecture.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fiftikar0016%2Fmulti-agent-it-support%2Frefs%2Fheads%2Fmain%2Fimages%2Farchitecture.png" alt="Architecture Diagram" width="800" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Three Agents
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Classifier Agent&lt;/strong&gt; 🎯  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automatically categorizes IT issues into predefined categories (Network Issue, Hardware Issue, Software Bug, Access Request, Password Reset, Other)&lt;/li&gt;
&lt;li&gt;Uses LLM-based classification for accurate categorization&lt;/li&gt;
&lt;li&gt;Ensures the right knowledge base section is searched&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Knowledge Base Agent&lt;/strong&gt; 🔍  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Performs semantic search using Azure AI Search with vector embeddings&lt;/li&gt;
&lt;li&gt;Uses Google Gemini's &lt;code&gt;gemini-embedding-001&lt;/code&gt; model for embeddings (3072 dimensions)&lt;/li&gt;
&lt;li&gt;Matches user queries with relevant solutions using cosine similarity&lt;/li&gt;
&lt;li&gt;Filters results by category for precision&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Notification Agent&lt;/strong&gt; 📧  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Handles ticket creation when no solution is found&lt;/li&gt;
&lt;li&gt;Sends detailed email notifications to IT support&lt;/li&gt;
&lt;li&gt;Includes user query, ticket ID, and context for quick resolution&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🛠️ Tech Stack
&lt;/h2&gt;

&lt;p&gt;Building a system like this requires a carefully chosen tech stack. Here's what powers SupportX:&lt;/p&gt;

&lt;h3&gt;
  
  
  Frontend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Streamlit&lt;/strong&gt;: Provides a clean, interactive web interface with minimal code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom CSS&lt;/strong&gt;: Polished UI with modern design elements&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AI &amp;amp; LLM
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AutoGen (pyautogen)&lt;/strong&gt;: Microsoft's multi-agent orchestration framework&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Groq&lt;/strong&gt;: Ultra-fast LLM inference using Llama models (&lt;code&gt;llama-3.3-70b-versatile&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemini&lt;/strong&gt;: High-quality embeddings for semantic search&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Vector Search
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Azure AI Search&lt;/strong&gt;: Enterprise-grade vector database with hybrid search capabilities&lt;/li&gt;
&lt;li&gt;Supports semantic similarity search with filtering&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Notifications
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SMTP (Gmail)&lt;/strong&gt;: Email notifications for escalations&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔑 Key Technical Decisions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Why Multi-Agent Architecture?
&lt;/h3&gt;

&lt;p&gt;Instead of a monolithic LLM approach, I chose a multi-agent system for several reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separation of Concerns&lt;/strong&gt;: Each agent has a specific responsibility&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modularity&lt;/strong&gt;: Easy to update or replace individual agents&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explainability&lt;/strong&gt;: Clear understanding of which agent made what decision&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliability&lt;/strong&gt;: If one agent fails, others can continue working&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Why Azure AI Search for Vector Storage?
&lt;/h3&gt;

&lt;p&gt;I evaluated several vector databases (Pinecone, Weaviate, Qdrant) but chose Azure AI Search because:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid Search&lt;/strong&gt;: Combines vector search with traditional keyword search&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filtering&lt;/strong&gt;: Can filter by category before semantic search&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scalability&lt;/strong&gt;: Enterprise-ready with minimal configuration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration&lt;/strong&gt;: Native Azure ecosystem compatibility&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Why Gemini Embeddings?
&lt;/h3&gt;

&lt;p&gt;Google's Gemini &lt;code&gt;gemini-embedding-001&lt;/code&gt; model offers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High Dimensionality&lt;/strong&gt;: 3072-dimensional embeddings capture more nuance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality&lt;/strong&gt;: Superior semantic understanding compared to older embedding models&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost-Effective&lt;/strong&gt;: Generous free tier for development and testing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Why Groq for LLM Inference?
&lt;/h3&gt;

&lt;p&gt;Groq provides the fastest LLM inference available:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speed&lt;/strong&gt;: ~300 tokens/second (vs ~30-50 for typical APIs)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Experience&lt;/strong&gt;: Near-instant responses feel conversational&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost&lt;/strong&gt;: Competitive pricing with excellent performance&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📊 Implementation Highlights
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Creating the Vector Index
&lt;/h3&gt;

&lt;p&gt;The knowledge base setup involves:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Loading IT solutions&lt;/strong&gt; from &lt;code&gt;data/knowledge_base.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generating embeddings&lt;/strong&gt; for each problem using Gemini&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creating Azure AI Search index&lt;/strong&gt; with vector search configuration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Uploading documents&lt;/strong&gt; with embeddings and metadata
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Simplified example from create_and_upload_index.py
&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;knowledge_base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Generate embedding for the problem
&lt;/span&gt;    &lt;span class="n"&gt;embedding&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;genai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;embed_content&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;models/gemini-embedding-001&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;problem&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;embedding&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

    &lt;span class="c1"&gt;# Upload to Azure AI Search
&lt;/span&gt;    &lt;span class="n"&gt;document&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;category&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;category&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;problem&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;problem&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;solution&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;solution&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;embedding&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;embedding&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Agent Orchestration with AutoGen
&lt;/h3&gt;

&lt;p&gt;AutoGen makes multi-agent coordination elegant:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Create the agents
&lt;/span&gt;&lt;span class="n"&gt;classifier_agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AssistantAgent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ClassifierAgent&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;system_message&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;classifier_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;llm_config&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;llm_config&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;knowledge_base_agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AssistantAgent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;KnowledgeBaseAgent&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;system_message&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;knowledge_base_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;llm_config&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;llm_config&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Register tools
&lt;/span&gt;&lt;span class="nf"&gt;register_function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;search_knowledge_base&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;caller&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;knowledge_base_agent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;search_knowledge_base&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Search for IT solutions in the knowledge base&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Create group chat for orchestration
&lt;/span&gt;&lt;span class="n"&gt;groupchat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;GroupChat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;agents&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;classifier_agent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;knowledge_base_agent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;notification_agent&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt;
    &lt;span class="n"&gt;max_round&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Streamlit UI Design
&lt;/h3&gt;

&lt;p&gt;The interface is designed to be intuitive:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# User describes the issue
&lt;/span&gt;&lt;span class="n"&gt;user_input&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;text_area&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Describe your IT issue&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;150&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# AI processes and provides solution
&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;button&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;🚀 Resolve Now&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;spinner&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;SupportX AI Assist is resolving your issue...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;initiate_chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;recipient&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;manager&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;user_input&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;success&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;✅ AI Response:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;final_response&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# User provides feedback
&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;button&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;✅ Yes, issue resolved&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;success&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;🎉 Great! We&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;re glad your issue is resolved.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;button&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;❌ No, not helpful&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;ticket_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;generate_ticket_id&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="c1"&gt;# Escalate to IT support
&lt;/span&gt;    &lt;span class="n"&gt;notification_agent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;generate_reply&lt;/span&gt;&lt;span class="p"&gt;(...)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🎯 Real-World Use Cases
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Example 1: Password Reset
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;User Input:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;"I forgot my password and can't log into the system."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Response:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Classifier categorizes as "Password Reset"&lt;/li&gt;
&lt;li&gt;Knowledge Base finds relevant solution:

&lt;ul&gt;
&lt;li&gt;Step 1: Click "Forgot Password" on login page&lt;/li&gt;
&lt;li&gt;Step 2: Enter your email address&lt;/li&gt;
&lt;li&gt;Step 3: Check your email for reset link&lt;/li&gt;
&lt;li&gt;Step 4: Follow link and create new password&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;User confirms issue resolved ✅&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Example 2: Network Issue
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;User Input:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;"My laptop can't connect to the company Wi-Fi."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Response:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Classifier categorizes as "Network Issue"&lt;/li&gt;
&lt;li&gt;Knowledge Base provides troubleshooting steps:

&lt;ul&gt;
&lt;li&gt;Verify Wi-Fi is enabled&lt;/li&gt;
&lt;li&gt;Check correct network name (CorpWiFi-5G)&lt;/li&gt;
&lt;li&gt;Verify password (check with IT if unsure)&lt;/li&gt;
&lt;li&gt;Restart network adapter&lt;/li&gt;
&lt;li&gt;Contact IT if issue persists&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;User tries solution but still fails ❌&lt;/li&gt;
&lt;li&gt;System generates Ticket ID: &lt;code&gt;TKT-A7B3C9&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Email sent to IT support with full context&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📈 Performance &amp;amp; Results
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Metrics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Average Response Time&lt;/strong&gt;: &amp;lt; 3 seconds&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classification Accuracy&lt;/strong&gt;: ~95% (based on manual testing)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Base Hit Rate&lt;/strong&gt;: ~70% (solutions found without escalation)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Escalation Rate&lt;/strong&gt;: ~30% (issues requiring human support)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  User Benefits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;Instant Answers&lt;/strong&gt;: No waiting for support ticket responses&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;24/7 Availability&lt;/strong&gt;: Works outside business hours&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Consistent Solutions&lt;/strong&gt;: Same high-quality answers every time&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Automatic Escalation&lt;/strong&gt;: Seamless handoff to human support when needed&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  IT Support Benefits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;Reduced Ticket Volume&lt;/strong&gt;: Fewer repetitive tickets&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Better Context&lt;/strong&gt;: Escalated tickets include attempted solutions&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Knowledge Management&lt;/strong&gt;: Centralized, searchable solution database&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Efficiency&lt;/strong&gt;: Support teams focus on complex issues&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧪 Challenges &amp;amp; Lessons Learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Challenge 1: Embedding Dimension Mismatch
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Initially used wrong embedding dimensions (768 vs 3072)&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Solution:&lt;/strong&gt; Verified Gemini model documentation and recreated index with correct dimensions&lt;/p&gt;

&lt;h3&gt;
  
  
  Challenge 2: Agent Tool Calling Reliability
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Agents sometimes didn't call the search tool&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Solution:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Improved system prompts with clearer instructions&lt;/li&gt;
&lt;li&gt;Added explicit tool descriptions&lt;/li&gt;
&lt;li&gt;Used &lt;code&gt;register_for_llm&lt;/code&gt; and &lt;code&gt;register_for_execution&lt;/code&gt; properly&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Challenge 3: Email Notification Failures
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Gmail blocked automated emails&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Solution:&lt;/strong&gt; Switched to Gmail App Passwords instead of regular passwords&lt;/p&gt;

&lt;h3&gt;
  
  
  Challenge 4: Category Filtering Issues
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Some queries returned no results due to strict category matching&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Solution:&lt;/strong&gt; Improved classifier prompt to use exact category names from knowledge base&lt;/p&gt;




&lt;h2&gt;
  
  
  🔮 Future Enhancements
&lt;/h2&gt;

&lt;p&gt;Here are some ideas I'm considering for future versions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Conversation History&lt;/strong&gt;: Allow multi-turn conversations for complex troubleshooting&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Analytics&lt;/strong&gt;: Track common issues and improve knowledge base&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration with Ticketing Systems&lt;/strong&gt;: Direct integration with Jira, ServiceNow, etc.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice Interface&lt;/strong&gt;: Add speech-to-text for hands-free support&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Language Support&lt;/strong&gt;: Serve global teams in multiple languages&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback Loop&lt;/strong&gt;: Automatically improve knowledge base based on user feedback&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Administrative Dashboard&lt;/strong&gt;: Monitor system performance and agent behavior&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Agent Training&lt;/strong&gt;: Fine-tune agents on organization-specific data&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🎓 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building SupportX AI Assist taught me several valuable lessons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multi-Agent Systems Are Powerful&lt;/strong&gt;: Breaking down complex problems into specialized agents makes systems more maintainable and reliable&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Embeddings Matter&lt;/strong&gt;: High-quality embeddings (like Gemini) significantly improve search relevance&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User Experience Is Critical&lt;/strong&gt;: Fast responses (thanks to Groq) make the difference between a tool people use and one they avoid&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prompt Engineering Is An Art&lt;/strong&gt;: Small changes to agent system messages dramatically affect behavior&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Vector Search Isn't Magic&lt;/strong&gt;: Proper indexing, filtering, and retrieval strategies are essential&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AutoGen Simplifies Complexity&lt;/strong&gt;: The framework handles agent coordination, allowing me to focus on business logic&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🚀 Getting Started
&lt;/h2&gt;

&lt;p&gt;Want to build your own version? Here's how:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clone the repository&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   git clone https://github.com/iftikar0016/multi-agent-it-support
   &lt;span class="nb"&gt;cd &lt;/span&gt;SupportX-AI-Assist
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Set up environment&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   python &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv
   .venv&lt;span class="se"&gt;\S&lt;/span&gt;cripts&lt;span class="se"&gt;\a&lt;/span&gt;ctivate
   pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Configure API keys&lt;/strong&gt; in &lt;code&gt;.env&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure AI Search credentials&lt;/li&gt;
&lt;li&gt;Google Gemini API key&lt;/li&gt;
&lt;li&gt;Groq API key&lt;/li&gt;
&lt;li&gt;Gmail credentials&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Create knowledge base index&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   python create_and_upload_index.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run the application&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   streamlit run app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🌐 Tech Stack Summary
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Frontend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Streamlit&lt;/td&gt;
&lt;td&gt;Interactive web UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Orchestration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;AutoGen&lt;/td&gt;
&lt;td&gt;Multi-agent coordination&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LLM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Groq (Llama 3.3)&lt;/td&gt;
&lt;td&gt;Fast inference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Embeddings&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Google Gemini&lt;/td&gt;
&lt;td&gt;Semantic understanding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Vector DB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Azure AI Search&lt;/td&gt;
&lt;td&gt;Knowledge retrieval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Notifications&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SMTP (Gmail)&lt;/td&gt;
&lt;td&gt;Email escalations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Language&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Python 3.8+&lt;/td&gt;
&lt;td&gt;Core implementation&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  📝 Conclusion
&lt;/h2&gt;

&lt;p&gt;SupportX AI Assist demonstrates how modern AI technologies can transform traditional IT support. By combining multi-agent systems, vector search, and large language models, we can create systems that provide instant, accurate support while seamlessly escalating complex issues to human experts.&lt;/p&gt;

&lt;p&gt;The multi-agent architecture makes the system modular, maintainable, and explainable — critical factors for enterprise adoption. The use of cutting-edge technologies like Gemini embeddings and Groq inference ensures the best possible user experience.&lt;/p&gt;

&lt;p&gt;Whether you're building an IT support system, customer service bot, or any other knowledge-retrieval application, the patterns and technologies demonstrated here can serve as a solid foundation.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔗 Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/iftikar0016/multi-agent-it-support" rel="noopener noreferrer"&gt;SupportX-AI-Assist&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AutoGen Documentation&lt;/strong&gt;: &lt;a href="https://microsoft.github.io/autogen/" rel="noopener noreferrer"&gt;microsoft.github.io/autogen&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Azure AI Search&lt;/strong&gt;: &lt;a href="https://azure.microsoft.com/en-us/products/ai-services/ai-search" rel="noopener noreferrer"&gt;azure.microsoft.com/ai-search&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemini API&lt;/strong&gt;: &lt;a href="https://ai.google.dev/" rel="noopener noreferrer"&gt;ai.google.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Groq&lt;/strong&gt;: &lt;a href="https://groq.com/" rel="noopener noreferrer"&gt;groq.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streamlit&lt;/strong&gt;: &lt;a href="https://streamlit.io/" rel="noopener noreferrer"&gt;streamlit.io&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💬 Let's Connect
&lt;/h2&gt;

&lt;p&gt;I'd love to hear your thoughts on this project! Have you built similar multi-agent systems? What challenges did you face? Feel free to reach out or contribute to the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Questions or suggestions?&lt;/strong&gt; Open an issue on GitHub or reach out via &lt;strong&gt;&lt;a href="mailto:iftikaralam0016@gmail.com"&gt;iftikaralam0016@gmail.com&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Happy Building! 🚀&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
