Teaching AI Agents: "See" the Web for Resilient Information Extraction

Hack Session

About the session

Traditional web extraction pipelines fail predictably during UI mutations, dynamic Client-Side Rendering (CSR), and aggressive bot mitigation. This hack session moves beyond theoretical problems to build a Multimodal Agentic Pipeline that actively solves these challenges by treating the web purely as a visual substrate.

Drawing from recent architectural breakthroughs in visual-first scraping, we will construct an autonomous, self-healing agent that bypasses the DOM entirely. Rather than writing fragile CSS selectors, we will build a system where a Vision-Language Model (VLM) acts as a Visual-Cognitive Engine. The agent will synthesize direct product URLs, capture pristine viewports using stealth automation, visually localize pricing regions, and crucially - semantically validate its own success. If the agent visually detects a CAPTCHA, a pop-up, or a layout failure, it triggers an intelligent self-healing loop to rotate sessions and retry, yielding deterministic, high-fidelity JSON at enterprise scale.

What We'll Build (The Agentic Architecture)

  • Intelligent URL Generation: Bypassing fragile multi-step DOM navigation (category trees, pagination) by programmatically synthesizing direct deep links from product metadata.
  • Stealth Visual Ingestion: Implementing a robust capture layer using SeleniumBase (UC Mode) with automated Advertisement & Cookie Management to dismiss overlays and ensure pristine screenshots.
  • Visual-Cognitive Extraction Engine: Deploying a Multimodal VLM (e.g., Gemini 2.5 Flash) to "see" the rendered page, identify the pricing Region of Interest (ROI), and differentiate actual selling prices from promotional noise.
  • Agentic Self-Healing Loop: Engineering a state-driven feedback mechanism where the LLM acts as a dynamic validator. If the VLM visually detects a blocking event (e.g., "Verify you are human" overlay), it signals the orchestration layer to bypass it or trigger randomized session rotations, stochastic delays, and automated retries.
  • Schema-Enforced Output: Utilizing Pydantic validation to force hallucination-resistant, structured JSON extraction from the VLM.

Speaker

Download Brochure