# stagehand

> stagehand is an open-source agent framework for browser automation. SDK for browser agents with Playwright-style API and self-healing actions. It is available on API and CLI.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** API, CLI
- **Website:** https://stagehand.dev
- **Repository:** https://github.com/browserbase/stagehand
- **GitHub stars:** 26,073
- **License:** MIT
- **Categories:** browser automation
- **Listing updated:** 2026-11-14

## About

Stagehand keeps familiar calls such as goto, click and screenshot, and adds natural-language Act, Observe and Extract. When a site changes, it detects the change and refreshes how an action is performed.

It runs as an extension next to the browser, which the site says keeps remote browsers about as fast as local ones. Token use is reduced by trimming the accessibility tree before sending it to the model.

Available in TypeScript, Python and Go. Other listed features are WebMCP, clipboard support, batched commands, deep locators for nested iframes and OpenTelemetry. MIT licensed, from Browserbase.

## Features

- **Act, Observe, Extract:** Natural-language page automation primitives.
- **Self-healing actions:** Recovers when pages change.
- **Playwright-style API:** goto, click, locator, screenshot.
- **Accessibility tree trimming:** Sends the model less page data.
- **Three languages:** TypeScript, Python and Go.
- **Observability:** OpenTelemetry support.

## Good for

- Build a browser agent that survives site changes
- Extract structured data with a schema
- Run agents on remote browsers

## FAQ

### Which languages are supported?

TypeScript, Python and Go.

### How does it differ from Playwright?

It adds natural-language actions and self-healing for agents, while keeping a similar API.

### Is stagehand free?

Yes. stagehand is open source, so you can use and self-host it for free.

### What are the best alternatives to stagehand?

The closest alternatives to stagehand are agenticSeek, eigent, GenericAgent, nanobrowser and BrowserKitten.

## Alternatives

- [agenticSeek](https://ai-powered.com/agents/agenticseek): agenticSeek is an open-source agent for personal assistants.
- [eigent](https://ai-powered.com/agents/eigent): eigent is an open-source agent for personal assistants.
- [GenericAgent](https://ai-powered.com/agents/genericagent): GenericAgent is an open-source agent for personal assistants.
- [nanobrowser](https://ai-powered.com/agents/nanobrowser): nanobrowser is an open-source agent for browser automation.
- [BrowserKitten](https://ai-powered.com/agents/browserkitten): BrowserKitten is an open-source agent for browser automation.
- [bux](https://ai-powered.com/agents/bux): bux is an open-source agent for personal assistants.
- [WeWorker](https://ai-powered.com/agents/weworker): WeWorker is an open-source agent for browser automation.
- [fastbrowse](https://ai-powered.com/agents/fastbrowse): fastbrowse is an open-source agent for browser automation.

---
Source: https://ai-powered.com/agents/stagehand
