Stagehand
Use case: Computer use
Browserbase's framework mixing Playwright code with natural-language act/extract/observe steps.
Stagehand is an open-source SDK for browser agents, built by the Browserbase team. Its docs describe a framework that controls web browsers with natural language and code together, aimed at the gap between brittle selector-based scripts and unpredictable fully autonomous agents. Four primitives let you choose how much AI to use: act executes an action described in plain language, extract pulls structured data that matches a schema, observe lists the actions available on a page, and agent runs an entire workflow on its own.
It is for developers who already automate browsers with Playwright or Puppeteer and want scripts that survive layout changes, or who are building an agent that needs reliable web access. The README shows TypeScript, Python and Go SDKs and says observe returns real selectors, so credentials can be filled by your own code and never go to the model. The docs claim actions can be saved and replayed, and that it works with Chromium-based browsers such as Chrome, Edge, Arc and Brave. In this directory it is the code-level toolkit among the browser and computer-use tools, and it pairs naturally with Browserbase for cloud browsers.
The repository is MIT licensed and free to use. You supply the model: the model is set with a provider and model name string plus your own API key. Browserbase is recommended for cloud browsers but is a separate paid service, and you can launch a local browser instead; see the official Browserbase pricing page if you plan to use it. To get started, follow the quickstart in the Stagehand docs, which promise a first automation in about a minute.
Like Stagehand? Find tools like it on X.
Follow @AgentstackDaily, plus the free Top 25 Agent Tools checklist.
At a glance
- Category
- Computer use
- Best for
- Best browser automation and computer-use agents in 2026 · Computer use use cases
- Official site
- github.com
- Link checked
- November 4, 2026
- Data
- JSON
How Stagehand fits an agent workflow
In an agent stack, Stagehand belongs to the Computer use category, which covers the action layer, where an agent drives a browser or desktop to get things done on screen or on the web. You will also find it in our curated list: Best browser automation and computer-use agents in 2026. Other Computer use entries worth a look alongside it include Browserbase, Skyvern and OpenAdapt.
Stagehand alternatives
- Anthropic Computer Use — Claude tool that operates a desktop via screenshots, mouse and keyboard
- OpenAI Computer Use guide — Docs for the computer-use tool in the Responses API, with a loop for executing actions in
- Browser Use — Open-source library that makes websites accessible to agents
- Browserbase — Hosted headless browsers for agents with sessions, stealth and live view.
- Skyvern — Automates browser workflows with LLMs and computer vision
- OpenAdapt — Open-source process automation that learns from recorded human demonstrations.
All Computer use tools → · Best browser automation and computer-use agents in 2026
Related tools
- E2B Desktop Sandbox
Secure cloud Linux desktops for running computer-use agents in isolation.
- Steel
Open-source browser API for AI agents with session management and proxies.
- OSWorld
Benchmark of real desktop tasks for evaluating multimodal computer-use agents.
- MultiOn
MultiOn's old site now redirects to AGI, Inc., an action-AI lab led by MultiOn's founder. It builds AGI-0 action models
- Browserbase
Hosted headless browsers for agents with sessions, stealth and live view.
FAQ
Is Stagehand open source?
Yes. The repository is MIT licensed. You pay your chosen model provider and can optionally use Browserbase for cloud browsers.
How do I get started with Stagehand?
Install the SDK for your language, for example the @browserbasehq/stagehand package for TypeScript, then create a Stagehand instance with a browser and a model and API key, and call act, extract, observe or agent. The Stagehand docs have a quickstart and templates, and the README includes TypeScript, Python and Go examples.
Do I need Browserbase to use Stagehand?
No. The README launches a local browser, and the docs say Stagehand works with Chromium-based browsers. The docs do recommend Browserbase for reliable cloud browser infrastructure, which is useful for production workloads.
What are alternatives to Stagehand in this directory?
For AI browser automation, compare Browser Use, Playwright MCP, Skyvern and Steel. For the hosted browsers Stagehand can run on, see Browserbase.
Get new agent tools and tips as they're added
Follow @AgentstackDaily on X for new tools and copy-paste tips. Free.