# Stagehand > An open-source AI browser automation framework built as an alternative to Playwright, enabling reliable AI-driven web interactions. Stagehand is an open-source AI browser automation framework designed as a modern alternative to traditional tools like Playwright and Selenium. Built by Browserbase, it combines the predictability of code with the adaptability of AI, making it easier to create reliable browser automation scripts that can read and write on the web using natural language. The framework is specifically designed for AI-driven workflows, offering a natural language interface that simplifies the creation of browser automation tasks. Unlike legacy frameworks, Stagehand continues to work even when web pages change, thanks to its self-healing capabilities powered by LLMs. - **Natural Language Interface** - Write automation scripts using intuitive natural language commands like `stagehand.extract("the price of the first cookie")` and `stagehand.act("add the first cookie to cart")`, making it accessible to developers of all skill levels. - **Full Playwright Compatibility** - Add Stagehand to existing Playwright scripts to enhance their reliability without rewriting your entire codebase. - **Hot Swap Computer Use Models** - Integrate any computer use model with just two lines of code, providing flexibility in choosing AI backends. - **Self-Healing Automation** - Scripts automatically adapt to page changes and volatility, reducing maintenance overhead compared to traditional selector-based approaches. - **Deterministic and Repeatable** - Breaks down browser interactions into atomic steps for predictable and reliable execution, following the same steps each time. - **Performance-Oriented** - Designed and optimized for efficient browser automation with fast, cheap, and predictable operations. - **AI-Native Architecture** - Built specifically for LLM-powered applications, supporting research agents, task agents, and authenticated agents for various use cases. - **Browserbase Integration** - Seamlessly works with Browserbase cloud browser provider for production deployments, offering advanced features like session replay, prompt observability, and captcha solving. To get started, run `npx create-browser-app` to scaffold a new project. Stagehand can be used locally for development and testing, then deployed to production using Browserbase for cloud browser infrastructure. The framework supports extracting data using natural language, performing actions on web pages, and executing complex agent workflows. ## Features - Natural language interface for browser automation - Full Playwright compatibility - Hot swap computer use models - Self-healing automation scripts - Deterministic and repeatable automation - Performance-optimized execution - AI-native architecture - Data extraction using natural language - Research agent support - Task agent support - Authenticated agent support - Browserbase cloud integration - Session replay - Prompt observability - Captcha solving ## Integrations Playwright, Browserbase, OpenAI, Anthropic ## Platforms WINDOWS, API, DEVELOPER_SDK ## Pricing Open Source ## Links - Website: https://www.stagehand.dev - Documentation: https://docs.stagehand.dev/first-steps/introduction - Repository: https://github.com/browserbase/stagehand - EveryDev.ai: https://www.everydev.ai/tools/stagehand