Skip to content
Browserbase
    • Primitives
      • BrowsersCloud browsers for your agent to use the web
      • AgentsScale fully managed browser agents with simple prompts
      • SearchFind relevant websites from a single query
      • FetchRetrieve web data as agent-ready HTML, JSON, or markdown
      • RuntimeScalable, sandboxed environments for agent deployments
      • IdentityAuthenticate your agent to navigate the web like a human
      • ModelsUse any model with a single API key
      • ObservabilityUnified debugging your agent across replays, logs, and prompts
    • Open Source
      • Browse CLIGive your agent browsing skills with a single command
      • StagehandThe most popular AI browser automation framework
    • Use Cases
      • Browser Agents
      • Automated Testing
      • Workflow Automation
      • Web Data Extraction
      All use cases
    • Industries
      • AI & Agent Platforms
      • Healthcare
      • Fintech
      • GTM
      • Legal
    • Resources
      • Blog
      • Customers
      • Enterprise
      • Templates
  • Pricing
  • Docs
  • Log in
Log in
Sign up
Get a demo

Build a browser agent

Build an autonomous browser agent that navigates the web, extracts data, and completes tasks using Stagehand and Browserbase cloud browsers.

Build a browser agent demo

Works with

TypeScriptTypeScriptStagehandStagehand

Built by

Browserbase

Support

support@browserbase.com

Resources

Browserbase docsStagehand websiteStagehand docs
Copy prompt to run with your AI agent
npx create-browser-app --template browser-agent-demo

Send this template to your email, or view it on your desktop for the source code.

Get started building browser agents on the Browserbase platform

Build a fully autonomous browser agent using Stagehand Agent running on Browserbase cloud browsers. Give the agent a natural language instruction and it plans, navigates, interacts with pages, and returns structured results — no manual scripting or selector maintenance required.

Browserbase handles the cloud browser infrastructure: session management, anti-bot stealth mode, proxy rotation, and CAPTCHA solving. You focus on defining the task. The agent handles everything else.

Perfect as a starting point for building AI-powered web automation, research agents, data extraction pipelines, and multi-step workflow bots.

Steps

  1. Use Browserbase Search to find the URLs you want to explore
  2. Then use Browserbase Fetch to extract the content of the page
  3. Initialize a Stagehand session connected to a Browserbase browser
  4. Create a Stagehand Agent with a system prompt describing the task
  5. Give the agent a natural language instruction (e.g., search for a topic and summarize results)
  6. The agent autonomously navigates pages, clicks, types, and extracts data
  7. Returns structured results after completing all steps

Most Popular Templates

AI browser agent: Microsoft Fara-7B

Execute autonomous web tasks using Microsoft's Fara-7B computer use model

AI browser agent: Microsoft Fara-7B

Search business registries for KYC

Search business registries and extract registration details, NAICS codes, and ownership data

Search business registries for KYC

AI browser agent: Gemini 2.5

Execute autonomous web tasks using Google's Gemini 2.5 computer use model

AI browser agent: Gemini 2.5
Browserbase

Primitives

  • Browsers
  • Web APIs
  • Runtime
  • Identity
  • Model Gateway
  • Observability
  • Stagehand
  • MCP

Industries

  • AI
  • Healthcare
  • GTM
  • Tax
  • Legal

Developers

  • Docs
  • Templates
  • APIs & SDKs
  • Changelog
  • Status
  • Github

Company

  • Careers
  • Customers
  • Partner with Us
  • Trust & Security

Community

TwitterLinkedinYoutube
  • Privacy Policy
  • Terms of Service

Community

TwitterLinkedinYoutube
  • Privacy Policy
  • Terms of Service