About Stagehand
Stagehand is a software development kit for building browser agents, offered in TypeScript, Python and Go and installed from npm as @browserbasehq/stagehand. It gives developers a Playwright style API with familiar methods such as goto, click, locator and screenshot, and adds three natural language primitives: act, observe and extract. A developer can write an instruction like upvote the top story, or pull structured data from a page against a schema, instead of hand writing selectors.
Actions are self healing: when a site changes its markup, Stagehand detects the change and refreshes how the action is carried out. The SDK runs as an extension next to the browser, which the vendor says keeps remote browsers as fast as local ones, and its published benchmark shows the same tasks finishing in 4.7 seconds against 9.0 seconds for Playwright. It also trims the accessibility tree to reduce token use, with a published comparison of 7.4k tokens against 35.7k for an extract call.
Other features aimed at agents include batched commands, deep locators for nested iframes, clipboard support, WebMCP and OpenTelemetry support. The site also offers evals, a blog, a showcase and a setup route for coding agents.
Stagehand is built for developers who automate or test web workflows with language models and want more resilience than a conventional script offers. The site lists no prices.