Stagehand is an open source SDK for browser agents. It uses AI to make browser automation more resilient, readable, and production-ready, and it is described as a browser agent framework for writing automations with natural language instructions rather than brittle CSS selectors.
Its core primitives are act, extract, observe, and agent. act performs browser actions from a plain-English instruction such as clicking, filling, navigating, and scrolling. extract pulls structured data from any page with Zod schema validation. observe surfaces what is actionable on a page before an action is taken. agent runs multi-step workflows autonomously when end-to-end execution is needed. The page also says scripts can survive real-world page changes and page redesigns, and that the framework gives both deterministic control and the flexibility of agents.
Stagehand is available in TypeScript and Python. It works locally out of the box with any Chromium browser, and it can be connected to Browserbase’s cloud browsers for production use without code changes. The Browserbase integration is described as providing Agent Identity, action caching, session replay, prompt observability, captcha solving, and zero-infrastructure deployment via Functions. The page also says Stagehand supports major model providers including OpenAI, Anthropic, and Google Gemini via the Vercel AI SDK, and that Model Gateway can access supported models through a single Browserbase API key.
It is fully open source under the MIT license. The page presents it as an AI browser automation framework and says it is intended for agents that need to log in, navigate, extract, and take action on real web interfaces, especially when there is no API or when the site changes without warning.
In the Frameworks & SDKs space, Stagehand takes a focused approach. It focuses on making browser automation agents more robust and easier to build using AI and natural language. Stagehand is an open-source project aimed at developers building browser automation. The project is open source (Apache-2.0). It runs on the web and the command line, and it can be self-hosted.
Stagehand first shipped in 2024. The project is developed in the open on GitHub with 3.4k stars and 6 commits in the last 90 days. Among its 5 catalogued features are browser automation, natural language instructions, and structured data extraction.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do