Stagehand
An open-source browser automation SDK combining explicit browser operations with model-assisted actions and extraction.
At a glance
- Provider
- Browserbase
- Best suited to
- Writing reviewable browser workflows that can use a model for unfamiliar page elements
- Availability
- Public SDK. Browserbase-hosted sessions require an account and applicable usage.
- Interfaces
- SDK and programmatic browser sessions
- Execution environment
- Run against supported local browser sessions or use Browserbase-hosted browsers.
- Model choice
- Configure a supported language model for natural-language operations and extraction.
- Tools and integrations
- Browserbase sessions and programmatic actions including act, observe and extract.
- Human review and controls
- Decide which steps use model judgment. Check extracted data and control credentials and account scope.
- Prerequisites
- A supported runtime and browser, plus credentials for the chosen model or managed service.
- License and hosting
- Open-source SDK. Browserbase hosting and inference are separate services.
Pricing and usage
SDK use is available without a license fee. Browserbase plans meter or limit hosted browser usage, and model charges can apply separately.
What you can do with it
- Extract structured fields from a page.
- Automate a repeatable web workflow with explicit checks.
- Use explicit browser code for the steps that need deterministic control.
How to get started
- Install the SDK and choose local or Browserbase execution.
- Configure the model for agent-assisted steps.
- Test against an authorized site and validate returned data.
Limitations
- Model-assisted steps may fail on changing pages.
- Website policies, login checks and browser capacity can restrict automation.
Official sources
Sources checked
Frequently asked questions
How do I start using Stagehand?
Install the SDK and choose local or Browserbase execution. Configure the model for agent-assisted steps. Test against an authorized site and validate returned data.
How is Stagehand priced?
SDK use is available without a license fee. Browserbase plans meter or limit hosted browser usage, and model charges can apply separately.
What should I check before giving it access?
Decide which steps use model judgment. Check extracted data and control credentials and account scope. Model-assisted steps may fail on changing pages.