Stagehand is an open-source SDK from Browserbase that lets AI agents extract data from and interact with any website. It blends ordinary code with natural-language instructions, so a browser automation can click, type, and pull structured data even when page layouts shift. The project has over 25,000 stars on GitHub and was actively developed in October 2026.
Classic browser automation breaks whenever a site changes a button label or layout. Stagehand adds an AI layer on top of familiar tooling like Playwright: you write deterministic code where you can, and use plain-English instructions where the page is unpredictable. Its core actions let an agent navigate, act on elements described in words, extract structured data with schemas, and observe what is possible on a page before committing. It is available for TypeScript and Python, and pairs naturally with Browserbase’s cloud browsers when you outgrow a local machine.
Stagehand itself is free and open source under the MIT license. If you run it on Browserbase’s managed cloud browsers instead of your own infrastructure, that hosting is paid, so the overall model is freemium.
Stagehand is for developers building web agents, scrapers, and automation that must survive real-world websites. If your Playwright scripts keep breaking on redesigns, Stagehand’s mix of code and AI instructions makes them far more resilient.