<?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: Yuvraj Sau</title>
    <description>The latest articles on DEV Community by Yuvraj Sau (@yuvraj_sau_cc057705e86961).</description>
    <link>https://dev.to/yuvraj_sau_cc057705e86961</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%2F3591400%2Ff53df283-5af7-4a02-8e7e-85cf3c4f96ae.jpg</url>
      <title>DEV Community: Yuvraj Sau</title>
      <link>https://dev.to/yuvraj_sau_cc057705e86961</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yuvraj_sau_cc057705e86961"/>
    <language>en</language>
    <item>
      <title>LocalLens — The Unseen AI Ghost Automating Your Browser Behind the Scenes</title>
      <dc:creator>Yuvraj Sau</dc:creator>
      <pubDate>Tue, 27 Oct 2026 06:49:10 +0000</pubDate>
      <link>https://dev.to/yuvraj_sau_cc057705e86961/locallens-the-unseen-ai-ghost-automating-your-browser-behind-the-scenes-3jn3</link>
      <guid>https://dev.to/yuvraj_sau_cc057705e86961/locallens-the-unseen-ai-ghost-automating-your-browser-behind-the-scenes-3jn3</guid>
      <description>&lt;p&gt;*This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine*&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;LocalLens&lt;/strong&gt;, a privacy-first, on-device AI browser extension (MV3) that acts like an invisible digital spirit inside your browser—turning natural language commands into autonomous DOM interactions without transmitting a single byte of screen state to remote servers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Theme Interpretation &amp;amp; Inspiration
&lt;/h3&gt;

&lt;p&gt;The "Ghost in the Machine" theme represents an invisible, autonomous entity operating silently behind the physical interface. Most AI agents act like cloud phantoms—remote entities hovering over third-party servers, demanding full access to your DOM trees, credentials, and raw screenshots.&lt;/p&gt;

&lt;p&gt;LocalLens flips this paradigm. It brings the "ghost" entirely into your own machine. Operating local perception via client-side WebGPU and quantized open-weights, LocalLens silently watches the page, redacts sensitive PII on render like an invisible filter, and executes complex clicks, inputs, and navigations behind the scenes.&lt;/p&gt;

&lt;p&gt;I built this for my developer friend &lt;strong&gt;Ankit&lt;/strong&gt;, who needed an intelligent agent to automate repetitive administrative portals and documentation forms—without giving third-party cloud APIs visibility into private keys or student records.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/yuvraj1235" rel="noopener noreferrer"&gt;
        yuvraj1235
      &lt;/a&gt; / &lt;a href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;
        LocalLens
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LocalLens&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;LocalLens is a privacy-first, locally-deployable browser automation agent. It bridges a Chrome MV3 extension with a Vision-Language Model (VLM) backend to autonomously execute natural language tasks on any webpage (e.g., "Submit the login form").&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The system is split into a robust frontend extension and an intelligent Python backend:&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Browser Extension (Frontend)&lt;/h3&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Content Script (&lt;code&gt;content.ts&lt;/code&gt;)&lt;/strong&gt;: Runs on the webpage. Walks the DOM, identifies interactive elements, stamps them with stable &lt;code&gt;data-agent-id&lt;/code&gt; tags, calculates bounding boxes, and &lt;strong&gt;redacts PII&lt;/strong&gt; (emails, cards, SSNs) client-side before it ever leaves the browser. It also acts as the actuator, executing clicks and typing based on backend commands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background Worker (&lt;code&gt;background.js&lt;/code&gt;)&lt;/strong&gt;: The secure relay. It captures visible tab screenshots and relays messages between the popup and the content script.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Popup (&lt;code&gt;agentLoop.ts&lt;/code&gt;)&lt;/strong&gt;: The orchestration brain. It fetches the UI Graph context from the content script, packages…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LocalLens is built around a fully local open-source AI architecture that operates entirely within your machine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;In-Browser Perception (WebGPU + ONNX Runtime Web):&lt;/strong&gt; Lightweight vision and token classification models run directly inside the active browser tab context. The extension maps interactive DOM elements and instantly redacts sensitive PII (emails, authentication headers, API keys) before any action planning takes place.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Planning Engine (FastAPI Backend):&lt;/strong&gt; A lightweight local backend interfaces with open-weight LLMs (such as Qwen 2.5 or Gemma) hosted locally via &lt;strong&gt;Ollama&lt;/strong&gt; or &lt;strong&gt;vLLM&lt;/strong&gt;. It parses natural language intent into structured JSON execution routines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execution Engine:&lt;/strong&gt; Dispatches sanitized JSON action sequences back into the active browser tab context to execute clicks, scrolls, and text inputs automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source AI and client-side runtimes are what allow this "ghost" to stay strictly inside your local machine:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Guaranteed Data Sovereignty:&lt;/strong&gt; Closed cloud APIs force users to stream private page states over the network. Open-weight models and ONNX WebGPU runtimes keep the entire perception pipeline on-device, guaranteeing zero data exposure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predictable $0 Operating Cost:&lt;/strong&gt; Running open-weight models locally removes API token billing and rate-limiting, allowing continuous, background automation completely free of charge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Flexibility:&lt;/strong&gt; Users can swap open-weight models based on their hardware specs (e.g., fast 3B parameter models for laptops vs. larger models for workstations).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Capability:&lt;/strong&gt; Once weights are downloaded, LocalLens can perform structured DOM navigation and form handling completely offline.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The moment LocalLens truly felt like a "ghost in the machine" was during initial testing with Ankit. He typed a prompt into the extension interface, hands completely off the keyboard, and watched as the extension parsed a dense, multi-input administrative form, masked sensitive credentials in real-time, and auto-populated fields step-by-step.&lt;/p&gt;

&lt;p&gt;Seeing complex DOM operations unfold locally—with zero network calls to cloud LLMs—felt like watching an invisible assistant control the browser from within the hardware itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; &lt;em&gt;(If using Gemma as your local model)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of GitHub Copilot&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>LocalLens — Let On-Device AI Do the Browsing Grunt Work for You</title>
      <dc:creator>Yuvraj Sau</dc:creator>
      <pubDate>Sat, 24 Oct 2026 14:43:54 +0000</pubDate>
      <link>https://dev.to/yuvraj_sau_cc057705e86961/locallens-let-on-device-ai-do-the-browsing-grunt-work-for-you-3fej</link>
      <guid>https://dev.to/yuvraj_sau_cc057705e86961/locallens-let-on-device-ai-do-the-browsing-grunt-work-for-you-3fej</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;LocalLens&lt;/strong&gt;, a privacy-first, on-device AI browser extension (MV3) that automates tedious, multi-step web browsing tasks using natural language—so you can sit back, relax, and let your laptop handle the manual clicking.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it does and what effort it saves
&lt;/h3&gt;

&lt;p&gt;Navigating complex web portals, filling out repetitive multi-page forms, copying structured tables, and sifting through dense administrative panels is draining work. LocalLens turns natural language instructions into precise browser actions (clicks, form inputs, scrolling, table extractions) right inside active browser tabs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who gets to be a little lazier because of it?
&lt;/h3&gt;

&lt;p&gt;Anyone tired of manual browser grunt work! I originally built it for my friend &lt;strong&gt;Ankit&lt;/strong&gt;, a developer who spends hours managing internal student portals, staging dashboards, and administrative forms. With LocalLens, Ankit types what he needs done once, hands off the execution to the local agent, and sits back while LocalLens handles the clicks and inputs automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/yuvraj1235" rel="noopener noreferrer"&gt;
        yuvraj1235
      &lt;/a&gt; / &lt;a href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;
        LocalLens
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LocalLens&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;LocalLens is a privacy-first, locally-deployable browser automation agent. It bridges a Chrome MV3 extension with a Vision-Language Model (VLM) backend to autonomously execute natural language tasks on any webpage (e.g., "Submit the login form").&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The system is split into a robust frontend extension and an intelligent Python backend:&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Browser Extension (Frontend)&lt;/h3&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Content Script (&lt;code&gt;content.ts&lt;/code&gt;)&lt;/strong&gt;: Runs on the webpage. Walks the DOM, identifies interactive elements, stamps them with stable &lt;code&gt;data-agent-id&lt;/code&gt; tags, calculates bounding boxes, and &lt;strong&gt;redacts PII&lt;/strong&gt; (emails, cards, SSNs) client-side before it ever leaves the browser. It also acts as the actuator, executing clicks and typing based on backend commands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background Worker (&lt;code&gt;background.js&lt;/code&gt;)&lt;/strong&gt;: The secure relay. It captures visible tab screenshots and relays messages between the popup and the content script.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Popup (&lt;code&gt;agentLoop.ts&lt;/code&gt;)&lt;/strong&gt;: The orchestration brain. It fetches the UI Graph context from the content script, packages…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LocalLens is built around a fully local, open-source AI architecture designed to do heavy lifting on-device:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;In-Browser Perception (WebGPU + ONNX Runtime Web):&lt;/strong&gt; Lightweight vision and token classification models run directly inside the client browser tab context. The extension maps interactive DOM components and redacts sensitive PII (emails, authentication headers, phone numbers) before any action planning takes place.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Planning Engine (FastAPI Backend):&lt;/strong&gt; A lightweight local backend interfaces with open-weight LLMs (such as Qwen 2.5 or Gemma) hosted locally via &lt;strong&gt;Ollama&lt;/strong&gt; or &lt;strong&gt;vLLM&lt;/strong&gt;. It parses natural language user intent and turns it into structured JSON execution steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execution Engine:&lt;/strong&gt; Dispatches sanitized JSON action sequences back into the browser context to perform exact inputs, clicks, and page navigations automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source AI makes "slow and steady" local automation possible without forcing users to sacrifice their data privacy or pay per action:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Data Sovereignty:&lt;/strong&gt; Closed cloud APIs require streaming continuous screenshots or raw DOM trees to third-party servers. Open-weight models and ONNX WebGPU runtimes allow the entire perception and planning pipeline to run on-device—meaning personal credentials, student records, and API keys never leave your laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predictable $0 Operating Cost:&lt;/strong&gt; Running open-weight models locally eliminates expensive token billing and API usage limits. You can run automated browser tasks all day without spending a dime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware-Specific Flexibility:&lt;/strong&gt; Users can swap open-weight models depending on their hardware specs (e.g., fast 3B models for low-power laptops vs. 14B+ parameter models for dedicated workstations).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Air-Gapped &amp;amp; Offline Functionality:&lt;/strong&gt; Once weights are downloaded, LocalLens can perform structured DOM navigation and form handling completely offline.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How much time it saves
&lt;/h3&gt;

&lt;p&gt;Manually populating forms, extracting data across tab pages, and navigating internal dashboards usually costs 20–30 minutes of focused effort per task. LocalLens reduces that effort to writing a single prompt and letting the local agent do the walking.&lt;/p&gt;

&lt;h3&gt;
  
  
  Real-world usage this week
&lt;/h3&gt;

&lt;p&gt;Ankit used LocalLens this week to parse dense documentation panels and auto-fill repetitive local administrative forms. Instead of manually inspecting element states and toggling between tabs, he let LocalLens parse the page layout, sanitize sensitive student IDs on-the-fly, and execute the form-filling pipeline autonomously while he grabbed a cup of coffee.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; &lt;em&gt;(If using Gemma as your local model)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of GitHub Copilot&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Chrome extention</title>
      <dc:creator>Yuvraj Sau</dc:creator>
      <pubDate>Wed, 14 Oct 2026 16:48:13 +0000</pubDate>
      <link>https://dev.to/yuvraj_sau_cc057705e86961/chrome-extention-1349</link>
      <guid>https://dev.to/yuvraj_sau_cc057705e86961/chrome-extention-1349</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;LocalLens&lt;/strong&gt; is a privacy-first, on-device AI browser extension (MV3) that turns natural language instructions into precise web browser actions—without transmitting raw DOM content, screenshots, or sensitive personal data to remote cloud servers.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Commercial Problem &amp;amp; B2B Utility
&lt;/h3&gt;

&lt;p&gt;Freelancers, compliance managers, and enterprise staff spend hours performing repetitive web interactions—such as populating administrative portals, scraping structured tables, processing invoice dashboards, and executing repetitive web-form workflows. Existing browser AI agents stream unredacted screenshots and DOM trees to external LLM endpoints. For professionals working with medical records, financial documents, API keys, or strict NDA material, using cloud agents presents severe regulatory compliance and privacy risks.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Side Hustle Angle
&lt;/h3&gt;

&lt;p&gt;LocalLens solves this by offering a zero-leakage, local browser automation tool. Businesses and solo practitioners would willingly pay a monthly subscription or license fee for an enterprise-ready, locally run extension that eliminates privacy liabilities while saving hours of manual browser work every week.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/yuvraj1235" rel="noopener noreferrer"&gt;
        yuvraj1235
      &lt;/a&gt; / &lt;a href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;
        LocalLens
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LocalLens&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;LocalLens is a privacy-first, locally-deployable browser automation agent. It bridges a Chrome MV3 extension with a Vision-Language Model (VLM) backend to autonomously execute natural language tasks on any webpage (e.g., "Submit the login form").&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The system is split into a robust frontend extension and an intelligent Python backend:&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Browser Extension (Frontend)&lt;/h3&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Content Script (&lt;code&gt;content.ts&lt;/code&gt;)&lt;/strong&gt;: Runs on the webpage. Walks the DOM, identifies interactive elements, stamps them with stable &lt;code&gt;data-agent-id&lt;/code&gt; tags, calculates bounding boxes, and &lt;strong&gt;redacts PII&lt;/strong&gt; (emails, cards, SSNs) client-side before it ever leaves the browser. It also acts as the actuator, executing clicks and typing based on backend commands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background Worker (&lt;code&gt;background.js&lt;/code&gt;)&lt;/strong&gt;: The secure relay. It captures visible tab screenshots and relays messages between the popup and the content script.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Popup (&lt;code&gt;agentLoop.ts&lt;/code&gt;)&lt;/strong&gt;: The orchestration brain. It fetches the UI Graph context from the content script, packages…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/yuvraj1235/LocalLens" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LocalLens is built around a local open-source AI architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;In-Browser Perception (WebGPU + ONNX Runtime Web):&lt;/strong&gt; Lightweight vision and token classification models run directly within the client browser context. The extension analyzes the active tab DOM to map interactive UI nodes and instantly redact sensitive PII (emails, auth headers, numbers) before any action planning takes place.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Planning Engine (FastAPI Backend):&lt;/strong&gt; A lightweight local backend interfaces with open-weight LLMs (such as Qwen 2.5, Gemma, or custom quantized models) hosted locally via &lt;strong&gt;Ollama&lt;/strong&gt; or &lt;strong&gt;vLLM&lt;/strong&gt;. It translates human instructions into structured JSON execution steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execution Engine:&lt;/strong&gt; Safely dispatches sanitized JSON action sequences back into the browser tab (handling clicks, inputs, scrolls, and navigation).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source AI and client-side web runtimes are the foundation of LocalLens, making capabilities possible that closed APIs simply cannot deliver:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Guaranteed Data Sovereignty:&lt;/strong&gt; Closed cloud APIs require streaming sensitive page states across the network. Open models and ONNX WebGPU allow the entire perception pipeline to run on-device, guaranteeing zero data exposure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predictable $0 Operating Cost:&lt;/strong&gt; Running open-weight models locally eliminates expensive token billing and rate-limiting, allowing continuous automated web workflows without per-action costs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Flexibility:&lt;/strong&gt; Users can swap open-weight models based on their hardware specs (e.g., fast 3B models for low-power laptops vs. 14B+ parameter models for dedicated workstations).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Air-Gapped &amp;amp; Offline Functionality:&lt;/strong&gt; Once weights are fetched, LocalLens can perform structured DOM navigation and form handling completely offline.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;I introduced LocalLens to &lt;strong&gt;Ankit&lt;/strong&gt;, a developer who frequently manages sensitive admin panels, local staging environments, and client records.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feedback:&lt;/strong&gt; &lt;em&gt;"The biggest benefit is not needing to sanitize my screen or worry about credentials leaking into third-party prompt logs. It's fast, completely local, and handles repetitive input fields effortlessly."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Willingness to Pay:&lt;/strong&gt; Ankit noted that freelancers and agencies handling sensitive client data would easily pay $15–$30/month for a client-side agent tool that guarantees zero data leaks and requires no API usage fees.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; &lt;em&gt;(If using Gemma as your local model)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of GitHub Copilot&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>LocalLens — On-Device, Privacy-First AI Browser Automation Extension</title>
      <dc:creator>Yuvraj Sau</dc:creator>
      <pubDate>Sun, 04 Oct 2026 20:47:33 +0000</pubDate>
      <link>https://dev.to/yuvraj_sau_cc057705e86961/locallens-on-device-privacy-first-ai-browser-automation-extension-kcj</link>
      <guid>https://dev.to/yuvraj_sau_cc057705e86961/locallens-on-device-privacy-first-ai-browser-automation-extension-kcj</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;LocalLens&lt;/strong&gt;, a privacy-first, on-device AI browser extension (MV3) that turns natural language instructions into precise web browser actions—without sending raw page content, screenshots, or sensitive data to remote cloud servers.&lt;/p&gt;

&lt;p&gt;I built it specifically for my friend &lt;strong&gt;Ankit&lt;/strong&gt;, who regularly interacts with online administrative dashboards, complex web portals, and local developer environments. Ankit wanted an intelligent web assistant to automate repetitive tasks like form auto-filling, table parsing, and navigating dense documentation panels. However, because his daily workflow involves handling sensitive personal credentials, student records, and API keys, uploading screen state or DOM trees to cloud LLMs was a complete non-starter due to privacy risks.&lt;/p&gt;

&lt;p&gt;LocalLens solves this by processing visual perception, text extraction, and PII redaction directly inside the browser using client-side WebGPU and local open-source AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LocalLens is engineered around a hybrid local execution pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Client-Side Perception (WebGPU + ONNX Runtime Web):&lt;/strong&gt; Lightweight vision and text classification models run directly inside the browser tab context. The extension analyzes web page components locally to identify UI inputs and perform real-time redactions on sensitive PII (emails, auth tokens, phone numbers) before any action planning occurs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Agent Planner (FastAPI Backend):&lt;/strong&gt; A local Python service accepts sanitized page schemas and routes natural language requests to locally served open-weight models (via &lt;strong&gt;Ollama&lt;/strong&gt; or &lt;strong&gt;vLLM&lt;/strong&gt; running models like Qwen 2.5 or Gemma).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execution Engine:&lt;/strong&gt; Converts structured JSON plan outputs back into safe, client-side DOM actions (clicks, key presses, scrolling, form fills) inside the active browser window.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source AI and local runtime standards are the core foundation of LocalLens, making key features possible that closed-source cloud APIs cannot provide:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Complete Privacy &amp;amp; Data Sovereignty:&lt;/strong&gt; Traditional web agent services require streaming continuous page screenshots or full unredacted DOM representations across the wire. Open-weight models and ONNX WebGPU runtimes allow the entire perception pipeline to live on-device, guaranteeing zero data leakage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$0 API Costs:&lt;/strong&gt; Running inference locally on consumer hardware removes token rate limits and recurring usage fees, allowing continuous browser automation for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Swappability &amp;amp; Custom Fine-Tuning:&lt;/strong&gt; Closed APIs lock users into monolithic models. With open weights, users can swap models based on their hardware specs (e.g., lightweight models for low-power laptops or larger parameter setups for workstations).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Capability:&lt;/strong&gt; Core DOM parsing and navigation assistance function entirely without an active internet connection once local weights are downloaded.
## Prize Categories&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Build for a Friend&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Local First / Open-Source AI&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
