AI Agents Learn Human Web Browsing via CDP

Corey Gallon explains how AI agents can mimic human web browsing using CDP, overcoming website defenses with a 'sense, act, verify' loop and the 'meatbag ladder' approach.

8 min read
Corey Gallon presenting on AI agents and web automation
AI Engineer

Visual TL;DR. AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions. AI Agents Learn Browsing uses Sense, Act, Verify. AI Agents Learn Browsing employs Meatbag Ladder. Overcome Website Defenses includes Defeat CAPTCHAs. Human-like Actions achieves Automate Web Tasks.

  1. AI Agents Learn Browsing: AI agents trained to interact with websites in a human-like manner
  2. CDP Browser: Chrome DevTools Protocol browser indistinguishable from a human user to websites
  3. Overcome Website Defenses: techniques for overcoming website defenses that often block automated bots
  4. Human-like Actions: agents perform actions like booking, sending emails, filling forms without intervention
  5. Sense, Act, Verify: agents use a 'sense, act, verify' loop for robust interaction
  6. Meatbag Ladder: approach to gradually increase human-like behavior, from fake to human
  7. Defeat CAPTCHAs: overcoming CAPTCHAs, the 'final boss' of web automation challenges
  8. Automate Web Tasks: explore then automate strategy for complex web interactions
Visual TL;DR
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions via enables leads to AI Agents Learn Browsing CDP Browser Overcome Website Defenses Human-like Actions From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions via enables leads to AI Agents LearnBrowsing CDP Browser Overcome WebsiteDefenses Human-likeActions From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions via enables leads to AI Agents Learn Browsing AI agents trained to interact withwebsites in a human-like manner CDP Browser Chrome DevTools Protocol browserindistinguishable from a human user towebsites Overcome Website Defenses techniques for overcoming website defensesthat often block automated bots Human-like Actions agents perform actions like booking,sending emails, filling forms withoutintervention From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions via enables leads to AI Agents LearnBrowsing AI agents trainedto interact withwebsites in a… CDP Browser Chrome DevToolsProtocol browserindistinguishable… Overcome WebsiteDefenses techniques forovercoming websitedefenses that often… Human-likeActions agents performactions likebooking, sending… From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions. AI Agents Learn Browsing uses Sense, Act, Verify. AI Agents Learn Browsing employs Meatbag Ladder. Overcome Website Defenses includes Defeat CAPTCHAs. Human-like Actions achieves Automate Web Tasks via enables leads to uses employs includes achieves AI Agents Learn Browsing AI agents trained to interact withwebsites in a human-like manner CDP Browser Chrome DevTools Protocol browserindistinguishable from a human user towebsites Overcome Website Defenses techniques for overcoming website defensesthat often block automated bots Human-like Actions agents perform actions like booking,sending emails, filling forms withoutintervention Sense, Act, Verify agents use a 'sense, act, verify' loop forrobust interaction Meatbag Ladder approach to gradually increase human-likebehavior, from fake to human Defeat CAPTCHAs overcoming CAPTCHAs, the 'final boss' ofweb automation challenges Automate Web Tasks explore then automate strategy for complexweb interactions From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Learn Browsing via CDP Browser. CDP Browser enables Overcome Website Defenses. Overcome Website Defenses leads to Human-like Actions. AI Agents Learn Browsing uses Sense, Act, Verify. AI Agents Learn Browsing employs Meatbag Ladder. Overcome Website Defenses includes Defeat CAPTCHAs. Human-like Actions achieves Automate Web Tasks via enables leads to uses employs includes achieves AI Agents LearnBrowsing AI agents trainedto interact withwebsites in a… CDP Browser Chrome DevToolsProtocol browserindistinguishable… Overcome WebsiteDefenses techniques forovercoming websitedefenses that often… Human-likeActions agents performactions likebooking, sending… Sense, Act,Verify agents use a'sense, act,verify' loop for… Meatbag Ladder approach togradually increasehuman-like… Defeat CAPTCHAs overcomingCAPTCHAs, the'final boss' of web… Automate WebTasks explore thenautomate strategyfor complex web… From startuphub.ai · The publishers behind this format

Corey Gallon, a speaker at the AI Engineer World's Fair, discussed the "dark arts of web automation," revealing how AI agents can be trained to interact with websites in a human-like manner. Gallon's presentation, titled "The Dark Arts of Web Automation: Teaching Agents to Use Websites Like Humans," explored techniques for overcoming website defenses that often block automated bots.

AI Agents Learn Human Web Browsing via CDP - AI Engineer
AI Agents Learn Human Web Browsing via CDP — from AI Engineer

The Core Thesis: A "Meatbag with a Mouse"

Gallon's central premise is that a CDP (Chrome DevTools Protocol) browser is indistinguishable from a human user to websites. "If you have a browser, an agent drive a browser using the Chrome DevTools protocol, your agents clicks and keystrokes travel the exact same path inside Chrome that yours do," he explained. This allows AI agents to perform actions like booking, sending emails, and filling forms without human intervention.

The Three Pillars of Human-like Browsing

To achieve this human-like web interaction, Gallon outlined three essential components:

  • CLI, not MCP: Agents should be driven by Command Line Interface (CLI) tools rather than Message Queue Telemetry Transport (MQTT) servers. StartupHub.ai data indicates that while both approaches achieve similar task success rates (around 83%), CLIs offer superior reuse, speed, and cost-efficiency. CLIs allow code to be written once and reused, whereas MCPs require model calls at every turn, leading to slower execution and higher token costs. Gallon cited Anthropic's report that CLIs can be up to 75 times cheaper.
  • CDP: The Whole Browser: The Chrome DevTools Protocol, familiar to developers as the F12 developer console, provides the necessary interface for agents to interact with browsers. Gallon highlighted that while the CDP surface area is vast, a small subset is sufficient for human-like interaction, covering visual senses (DOM, accessibility tree, screenshots), auditory senses (network traffic, console logs), and operational actions (clicks, keystrokes, navigation).
  • A Loop on a Ladder: This involves a cyclical process of "sense, act, verify." An agent senses the page, performs an action, and then verifies the outcome, potentially through a different sensory channel than the initial action. If the page resists, the agent must "climb the ladder" of techniques, escalating to more human-like interactions only when necessary.

The "Meatbag Ladder": From Fake to Human

Gallon introduced the "Meatbag Ladder" as a tiered approach to overcoming website resistance:

  • Rung 1 (Fake): The simplest approach involves using synthetic JavaScript clicks. This is the default and most efficient method when it works, as seen in the Outlook example for sending personalized emails.
  • Rung 2 (Real): When synthetic clicks fail, agents can use CDP's input domain to dispatch events that mimic real mouse clicks, making them indistinguishable from human input. This was demonstrated with adding items to a cart on an e-commerce site.
  • Rung 3 (Human): For the most challenging defenses, agents need to simulate human behavior, including mouse paths with jitter, visual perception, and complex interaction patterns. This rung is necessary for defeating advanced CAPTCHAs like Cloudflare's Turnstile, MT Captcha, and reCAPTCHA v2.

Defeating CAPTCHAs: The Final Boss

Gallon detailed how his methodology can overcome sophisticated CAPTCHAs. For Cloudflare's Turnstile, which uses isolated boundaries and shadow roots, the solution involved calculating the checkbox's position and firing a trusted click directly at it. For image-based CAPTCHAs like MT Captcha, agents use vision capabilities to identify characters in noisy images and then input the answer using trusted keystrokes. The most challenging, like reCAPTCHA v2, requires a hybrid approach: deterministic code for the logic and an AI agent for the visual recognition task, ensuring speed and accuracy.

Explore, Then Automate

The process involves two phases: first, manually running the loop and climbing the ladder until the task is solved, and second, automating the solution by writing it down as code or an agent skill. This ensures the solution is repeatable and durable.

OpenAI's Ban Threat and Resolution

Gallon humorously recounted how OpenAI threatened to ban his account for his work on web automation, citing "cyber abuse with a web browser." After a discussion, OpenAI rescinded the threat, restoring his access. He encouraged the audience to explore the "Chrome Agent" tool he developed, which is available in the Python ecosystem.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.