<?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: Valentine Zubkov</title>
    <description>The latest articles on DEV Community by Valentine Zubkov (@valzubkov).</description>
    <link>https://dev.to/valzubkov</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%2F3924980%2Fa0da2f60-539b-4905-aab8-2716057ddc56.png</url>
      <title>DEV Community: Valentine Zubkov</title>
      <link>https://dev.to/valzubkov</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/valzubkov"/>
    <language>en</language>
    <item>
      <title>Browser Control Agent Prototype built with Playwright + LLMs</title>
      <dc:creator>Valentine Zubkov</dc:creator>
      <pubDate>Thu, 02 Jul 2026 13:10:17 +0000</pubDate>
      <link>https://dev.to/valzubkov/browser-control-agent-prototype-built-with-playwright-llms-1bcg</link>
      <guid>https://dev.to/valzubkov/browser-control-agent-prototype-built-with-playwright-llms-1bcg</guid>
      <description>&lt;p&gt;Over the last couple of weekends I built the prototype to explore &lt;strong&gt;browser-control AI agents&lt;/strong&gt; beyond the hype (because hype is really enormous).&lt;/p&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3r3x2bpd5mt3l4wkgc43.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3r3x2bpd5mt3l4wkgc43.png" alt=" " width="800" height="525"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I assume everyone here is using browser control feature in Codex or Claude code almost everyday, but for general public it's a hard sell. When people see how their browser "behaves on its own", they freak out, because it &lt;em&gt;looks like a malware&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;However, I see that many products are going to launch these features soon. One startup was even trying to hire me to build this end-to-end.&lt;/p&gt;

&lt;p&gt;I began to think through this problem, and realized simple thing: most discussions assume that every interaction should be AI-driven through computer vision. And this is where something important is missing, both technologically and from the user's perspective.  &lt;/p&gt;

&lt;p&gt;So I decided to experiment with a &lt;strong&gt;hybrid architecture&lt;/strong&gt; that combines deterministic web automation (in my case, Playwright) with LLM reasoning.&lt;/p&gt;

&lt;p&gt;The core idea is a &lt;strong&gt;scenario router&lt;/strong&gt;. Before any browser interaction happens, it decides which execution strategy best fits the user's intent:&lt;br&gt;
– deterministic browser automation,&lt;br&gt;
– AI-driven browser control,&lt;br&gt;
– or even direct API/MCP integration,&lt;br&gt;
– or any other execution mechanism you want. &lt;/p&gt;

&lt;p&gt;In my opinion, &lt;em&gt;choosing the right execution strategy&lt;/em&gt; is a much more interesting product and engineering problem than simply giving an LLM complete control over the browser.&lt;/p&gt;

&lt;p&gt;And since I'm not interested in building and maintaining this type of products myself, I decided to open up the prototype repo, write an article and make a video about it. &lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts on the architecture, recovery strategy, and the overall system design.&lt;/p&gt;

&lt;p&gt;All the links are below. &lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;
V&lt;/p&gt;

</description>
      <category>ai</category>
      <category>playwright</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
