# Stagehand

> Open-source SDK for building browser agents with Playwright-style APIs plus natural-language act, observe and extract

Source: https://dontaskagain.com/stagehand
Website: https://www.stagehand.dev/?utm_source=dontaskagain
Pricing: Free
Categories: [Agent frameworks](https://dontaskagain.com/categories/agent-frameworks.md), [Browser agents](https://dontaskagain.com/categories/browser-agents.md), [Open source](https://dontaskagain.com/categories/open-source.md)
Listed: 2026-10-25
Updated: 2026-10-25

Stagehand is an open-source SDK from Browserbase for building browser agents. Developers mix Playwright-style methods with natural-language commands so an agent can act on a page, observe it and extract structured data that matches a schema.

**Key features:**

- Familiar methods such as goto, click, locator and screenshot.
- Natural-language act, observe and extract primitives.
- Self-healing actions that adjust when a site's markup changes.
- Trimmed accessibility tree so agents receive less page context and use fewer tokens.
- Runtime that sits next to the browser as an extension to cut round-trip latency.
- Support for WebMCP, clipboard access, batched commands, nested iframes, closed Shadow DOM and OpenTelemetry tracing.

Stagehand is available for TypeScript, Python and Go and installs from npm as @browserbasehq/stagehand or the equivalent package managers. It runs with a local browser or on Browserbase's cloud browsers, supports domain allowlists and blocklists, and is free to use.

## More agent frameworks

- [Browser Use](https://dontaskagain.com/browser-use.md): Open-source browser agent and cloud browsers that complete web tasks like form filling, checkout and data extraction
- [LangGraph](https://dontaskagain.com/langgraph.md): Open-source, low-level orchestration framework and runtime for building stateful, controllable agents
- [CrewAI](https://dontaskagain.com/crewai.md): Multi-agent framework and enterprise platform for building, running and governing teams of role-based agents
- [OpenAI Agents SDK](https://dontaskagain.com/openai-agents-sdk.md): OpenAI's lightweight Python framework for building agents with tools, handoffs, guardrails, sessions and tracing
- [Mastra](https://dontaskagain.com/mastra.md): Open-source TypeScript framework for building agents and workflows with memory, evals and observability
- [Pydantic AI](https://dontaskagain.com/pydantic-ai.md): Type-safe Python agent framework from the Pydantic team with model-agnostic agents, tools and evals
- [Agno](https://dontaskagain.com/agno.md): Open-source agent framework and self-hosted runtime for building agents, teams and workflows in your own cloud
- [LlamaIndex](https://dontaskagain.com/llamaindex.md): Document parsing and extraction platform (LlamaParse) plus the open-source LlamaIndex framework for document agents
- [AI SDK](https://dontaskagain.com/ai-sdk.md): Open-source TypeScript toolkit from Vercel for building AI apps and agents with streaming and multi-model support
- [Letta](https://dontaskagain.com/letta.md): Research lab behind MemGPT building stateful agents with persistent, self-improving memory
