# browserbase/stagehand

> Stagehand is an AI-native browser automation framework that enables developers to build reliable web automations using a hybrid of natural language instructions and deterministic TypeScript code.

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/browserbase-stagehand).**

21,180 stars · 1,383 forks · TypeScript · mit

## Links

- GitHub: https://github.com/browserbase/stagehand
- Homepage: https://stagehand.dev
- awesome-repositories: https://awesome-repositories.com/repository/browserbase-stagehand.md

## Topics

`agents` `ai` `llms` `playwright` `puppeteer` `selenium`

## Description

Stagehand is an AI-native browser automation framework designed to build autonomous agents that navigate websites and interact with page elements. It provides a development kit for creating workflows that combine natural language instructions with deterministic code to perform complex tasks, such as structured data extraction and end-to-end testing.

The framework distinguishes itself through integrated headless browser orchestration and identity-based anti-bot evasion, allowing agents to bypass security filters and authentication challenges. It supports stateful session management, ensuring that cookies and local storage persist across tasks, while providing observability through session replays and real-time page state analysis.

The platform includes a unified model gateway to route requests across multiple language models and supports the deployment of custom automation logic in proximity to browser sessions to reduce latency. It also handles infrastructure requirements, including the provisioning of globally distributed browser instances and the retrieval of remote files.

## Tags

### Artificial Intelligence & ML

- [Autonomous Browser Agents](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/autonomous-browser-agents.md) — Builds intelligent agents that navigate websites, interact with page elements, and perform complex tasks like a human user.
- [Agentic Workflow Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/agentic-workflow-orchestration.md) — Connects autonomous agents to multiple language models to power complex, multi-step decision-making processes.
- [Model Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/model-gateways.md) — Provides a unified gateway to route requests across multiple language models, simplifying billing and provider switching. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))
- [LLM-Driven Agent Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/agent-runtimes/llm-driven-agent-loops.md) — Uses language models to interpret natural language commands and translate them into precise, self-healing browser interactions.
- [Agent Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-deployment.md) — Allows for the deployment of custom automation code in close proximity to browser sessions to minimize latency. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))

### Development Tools & Productivity

- [AI-Driven Interaction Agents](https://awesome-repositories.com/f/development-tools-productivity/browser-automation/ai-driven-interaction-agents.md) — Enables autonomous browser interaction using natural language commands and AI-driven decision-making.
- [AI Agent Development Tools](https://awesome-repositories.com/f/development-tools-productivity/ai-agent-development-tools.md) — Provides a development kit for building and testing autonomous AI agents that interact with web environments.

### Web Development

- [Browser Automation](https://awesome-repositories.com/f/web-development/web-automation-scraping/web-scraping-automation/browser-automation.md) — Executes complex browser workflows including navigation, form submissions, and data scraping using intelligent primitives. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))
- [Headless Browser Orchestrators](https://awesome-repositories.com/f/web-development/web-automation-scraping/browser-orchestration-systems/headless-browser-orchestrators.md) — Provisions and manages globally distributed, isolated headless browser sessions for scalable automation.
- [Web Scraping and Automation](https://awesome-repositories.com/f/web-development/web-automation-scraping/web-scraping-automation.md) — Automates web scraping and browser interactions while bypassing security filters and authentication challenges.
- [Browser Session Persistence](https://awesome-repositories.com/f/web-development/browser-session-persistence.md) — Maintains cookies, local storage, and authentication state across sessions to ensure agents retain context between tasks. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))

### Data & Databases

- [Structured Data Extraction](https://awesome-repositories.com/f/data-databases/structured-data-extraction.md) — Extracts structured information from web pages into organized formats for downstream processing.
- [Web Extraction Engines](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-extraction-ingestion/web-extraction-engines.md) — Extracts structured information from web pages without launching a full browser session for token-efficient decision-making. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))

### Security & Cryptography

- [Anti-Bot Evasion](https://awesome-repositories.com/f/security-cryptography/bot-detection/anti-bot-evasion.md) — Utilizes specialized identity profiles to navigate past security filters and anti-bot challenges. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))
- [Stateful Session Persistence](https://awesome-repositories.com/f/security-cryptography/identity-access-management/session-management/stateful-session-persistence.md) — Maintains cookies, local storage, and authentication context across multiple tasks to ensure agents remain logged in.

### Testing & Quality Assurance

- [Automated End-to-End Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/end-to-end-testing-suites/automated-end-to-end-testing.md) — Runs programmatic browser scripts in cloud environments to validate application functionality and user interface behavior.
- [Page State Analysis](https://awesome-repositories.com/f/testing-quality-assurance/general-testing-utilities/test-utilities-assertions/browser-ui-interaction/browser-environment-emulation/browser-page-management/page-state-analysis.md) — Analyzes the current browser environment to provide context for agents to make informed decisions. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))
- [End-to-End Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/e2e-integration-testing/end-to-end-testing.md) — Executes automated end-to-end browser scripts to validate application functionality and performance. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))

### System Administration & Monitoring

- [Session Replays](https://awesome-repositories.com/f/system-administration-monitoring/ai-session-monitoring/session-replays.md) — Captures rich logs and visual data from browser interactions to provide full visibility into agent performance. ([source](https://stagehand.dev/llms.txt#browserbase-the-browser-agent-platform))

### User Interface & Experience

- [Session Replay Tools](https://awesome-repositories.com/f/user-interface-experience/session-replay-tools.md) — Captures rich logs and visual data from browser interactions to provide full visibility into agent performance.
