AI Browser Automation Framework
22.4k 2026-04-27
browserbase/stagehand
An AI browser automation framework that combines natural language and code for flexible, reliable, and maintainable web control.
Core Features
Hybrid control: seamlessly switch between natural language and code for browser actions.
Repeatable workflows: preview AI actions and cache them for efficiency and token savings.
Self-healing automations: automatically adapts to website changes using AI, ensuring long-term reliability.
Structured data extraction: easily extract specific data from web pages using AI and schema definitions.
Quick Start
npx create-browser-appDetailed Introduction
Stagehand is an innovative browser automation framework designed to overcome the limitations of traditional tools, which are often either too low-level (like Selenium) or too unpredictable (high-level agents). It uniquely blends the power of AI with the precision of code, allowing developers to choose the best approach for each task. This hybrid methodology results in web automations that are not only flexible and maintainable but also remarkably reliable, featuring self-healing capabilities and efficient caching for production environments.