Browser Use Explains Browser Agents: Architecture, Selection Boundaries, and Cost Risks
Browser Use published a technical guide explaining that browser agents consist of three layers: model, harness, and browser, operating through an observe-select-execute-check loop. The article compares the use cases for APIs, scripts, and agents, cites internal cloud data on high-frequency tasks like login and extraction, and outlines key limitations including inconsistent results, website blocks, prompt injection, and unpredictable costs.
ImportanceMaterialEvidenceE3 inspectableWrite-upStandard
AI browser agents are becoming a new tool for automating complex web tasks. Nik Tomazic from the Browser Use team published a detailed technical guide on October 18, 2026, explaining how these agents work internally, when they are appropriate, and what risks they entail. For developers, understanding these details helps decide when to use an agent versus sticking with traditional APIs or scripts.
Architecturally, a typical browser agent consists of three core components: a model (for decision-making), a harness (providing context, tools, and the execution loop), and a browser (maintaining the website session). The model chooses the next action based on the current page state; the harness ensures the 'observe-select-execute-check' loop continues, stopping when time, step, or cost limits are reached; and the browser loads pages and manages tabs/cookies via protocols like Chrome DevTools Protocol (CDP) or WebDriver BiDi. Agents read pages in two main ways: parsing the DOM or accessibility tree for structured text, or using vision models to analyze screenshots for non-standard interface elements.
In practice, developers face a choice between three automation paths: API, script, or agent. Tomazic advises prioritizing an API if the service provides one that supports the task, as it is direct and stable. If no suitable API exists but the workflow is predictable (e.g., downloading the same report every Monday), write a script using Playwright or Selenium, because scripts follow deterministic rules, are low-cost, and easy to debug. Only introduce an agent when the workflow is unpredictable, requires flexible judgment, or exact steps cannot be defined. Agent decisions are stochastic, meaning the same task may take different paths—this is their advantage in adapting to unknown pages but also the root of their inconsistency.