<?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: Gaus Ahmed</title>
    <description>The latest articles on DEV Community by Gaus Ahmed (@gaus_ahmed_369).</description>
    <link>https://dev.to/gaus_ahmed_369</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3894871%2F98161be1-58c7-4976-bedf-e8f54f5f209a.png</url>
      <title>DEV Community: Gaus Ahmed</title>
      <link>https://dev.to/gaus_ahmed_369</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gaus_ahmed_369"/>
    <language>en</language>
    <item>
      <title>How I Built an AI Website Assistant That Understands Any Page in Real-Time</title>
      <dc:creator>Gaus Ahmed</dc:creator>
      <pubDate>Thu, 23 Apr 2026 20:21:30 +0000</pubDate>
      <link>https://dev.to/gaus_ahmed_369/how-i-built-an-ai-website-assistant-that-understands-any-page-in-real-time-3778</link>
      <guid>https://dev.to/gaus_ahmed_369/how-i-built-an-ai-website-assistant-that-understands-any-page-in-real-time-3778</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Users get stuck on websites. Complex dashboards, multi-step forms,                confusing navigation. The result: support tickets, abandoned forms,&lt;br&gt;
frustrated users.                                                                   &lt;/p&gt;

&lt;p&gt;Tools like WalkMe solve this, but they cost ~$50K/year and require                  someone to manually build every walkthrough. When the UI changes,&lt;br&gt;
flows break.                                                                        &lt;/p&gt;

&lt;p&gt;I wanted something smarter.                                                         &lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DrGUI&lt;/strong&gt; — an AI assistant that lives on any website. One script tag, and users get intelligent guidance for any task.&lt;/p&gt;

&lt;p&gt;Try it: &lt;a href="https://drgui.in" rel="noopener noreferrer"&gt;drgui.in&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add the script tag to your site
&lt;/li&gt;
&lt;li&gt;The SDK scans the page DOM — fields, buttons, navigation, sections&lt;/li&gt;
&lt;li&gt;User asks a question or requests help
&lt;/li&gt;
&lt;li&gt;The AI (Gemini 2.5 Flash) understands the page context and returns steps&lt;/li&gt;
&lt;li&gt;The SDK highlights elements and walks the user through each step
&lt;/li&gt;
&lt;li&gt;After completing steps, it re-scans and auto-continues until done
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SDK&lt;/strong&gt;: Vanilla JS, Shadow DOM for CSS isolation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Express.js, Our LLM&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice&lt;/strong&gt;: Web Speech API (STT) + A TTS
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Languages&lt;/strong&gt;: 9 Indian languages like Hindi, Tamil, Telugu, 
Marathi, Kannada, Malayalam, Bengali, Gujarati, English
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Interesting Parts
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Shadow DOM Isolation
&lt;/h3&gt;

&lt;p&gt;The biggest challenge was making a widget that works on ANY website&lt;br&gt;
  without CSS conflicts. Shadow DOM was the answer, the entire chat&lt;br&gt;&lt;br&gt;
  panel lives in its own isolated DOM tree.                                           &lt;/p&gt;

&lt;h3&gt;
  
  
  AI Auto-Continuation
&lt;/h3&gt;

&lt;p&gt;When the AI returns guidance steps, the SDK doesn't just show them, it tracks which steps are completed, re-scans the page after                     navigation, and sends a [CONTINUE] request with completedSelectors                  so the AI knows what's done and what's next.                                        &lt;/p&gt;

&lt;h3&gt;
  
  
  Voice Chat Mode
&lt;/h3&gt;

&lt;p&gt;The FAB button transforms into a voice orb with three states:                       &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Listening (pulsing animation)
&lt;/li&gt;
&lt;li&gt;Thinking (breathing animation)&lt;/li&gt;
&lt;li&gt;Speaking (bouncing animation)
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;STT pauses during TTS playback to prevent hearing its own voice.                    &lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;The chatbot on &lt;a href="https://drgui.in" rel="noopener noreferrer"&gt;drgui.in&lt;/a&gt; is the product running on itself. Click the widget in the bottom-right corner and ask anything about the website.                                                         &lt;/p&gt;

&lt;p&gt;Free 7-day trial. Would love your feedback.         &lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>ux</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
