Skip to content
All tags

#stagehand

7 posts

Comparing Hybrid AI Browser SDKs: Three Ways to Sort Seven Tools, and Why Vendor Success Rates Can't Be Compared

Stagehand, Midscene, Skyvern, AgentQL, Magnitude, HyperAgent, and Notte all follow the same pattern (your code controls the flow, individual steps go to a model) and differ in three things: how they see the page (DOM, screenshots, a query language), which driver sits underneath (which decides whether they fit into an existing Playwright script), and their cloud ties and license. Vendors' WebVoyager success rates can't be compared with each other: the removed tasks, models, browsers, and judges all differ, and the benchmark itself is easy enough that an agent that only runs a Google search solves half of it. There's no shared public benchmark for hybrid SDKs yet; to compare them, run your own tasks repeatedly.

What Happened to the AI Browser Agent Loop: What Stagehand, Notte, and Browser Use Removed, and Where Inference Went

In the second half of 2026, Stagehand v4 removed agent(), Notte 1.10 removed its whole agent loop, and Browser Use 1.0 replaced its engine. What they removed is the loop where the framework defines a menu of actions and has the model pick one per step; inference itself moved to two places: authoring time, where AI writes a script once and it runs as-is (Stagehand code mode, Skyvern's code replay, Playwright Test Agents); or a coding agent's loop, where each step becomes the model writing a piece of code (Browser Use 1.0, Stagehand's MCP run tool). Repeated tasks with a known path suit the first; open-ended search and unfamiliar sites still need inference on every run.

Choosing AI Browser Automation: A Five-Layer Map from the AI Layer to Drivers, Protocols and Browsers

Playwright MCP, Stagehand and Browser Use all sit in the AI layer and differ in who decides the next step: an outside coding agent, your code, or the agent itself; Browserbase and Cloudflare Browser Run sit in the browser layer at the bottom and only provide the browser. Choose by asking three separate questions: who decides the next step, whether the driver must cover more than Chromium, and where the browser lives.

Raw CDP or Playwright: Why Browser Use and Stagehand Dropped Playwright, and What It Costs

Browser Use and Stagehand dropped Playwright and wrote their own CDP drivers: agents query the page heavily, they needed frame-level control, and Playwright's Node.js driver (for Python) plus remote browsers magnified latency and state drift. The cost is Chromium only, crash handling on you, and auto-waiting, strict mode, and network interception rebuilt by hand. Talking CDP directly doesn't, by itself, make you harder to detect.

Using Stagehand v4: act, observe, extract and Replay Without Inference

Stagehand v4 is Browserbase's open-source browser SDK (MIT; TypeScript, Python, Go): use page.locator() for stable steps and call the model through act() and extract() only where judgment is needed; an Action returned by observe() can be replayed with no inference at all. Server-side caching works only on Browserbase browsers and must be enabled on request; Stagehand is Chromium-only, and v4 removed agent().

Stagehand vs Playwright: You Already Have Playwright Scripts. Should You Switch?

Stagehand v4 can't take a Playwright page, so switching means porting, and you lose auto-waiting, strict mode, getByRole, network interception, the test runner, and Firefox/WebKit. Keep testing your own site in Playwright, with Test Agents stepping in while tests are written and repaired; move only the steps whose selectors keep breaking on other people's sites to Stagehand, and if you just want a few AI steps, look first at SDKs that sit on Playwright.

Browserbase: Turning Agent Browsers into Operable Infrastructure

Browserbase combines remote Chromium, persistent Contexts, proxies, and a Session Inspector in one control plane. It operates browser fleets; it does not decide an agent's next action. As of August 2026, the company reports more than 35 million monthly browser sessions and over 10,000 customers.