Skip to content

browserbase/templates

Repository files navigation

Stagehand + Browserbase Templates

Ready-to-use automation templates for Stagehand and Browserbase. Each template has its own README with setup instructions.

All templates also live on browserbase.com/templates

All Templates

Template TS PY GO Description
agent-with-human-in-loop TS - - Build an AI agent that can pause and ask a human for input mid-task
amazon-global-price-comparison TS PY - Compare Amazon product prices across multiple countries using geolocation proxies
amazon-product-scraping TS PY - Scrape the first 3 Amazon search results for a given query and return structured product data
basic-caching TS PY - Demonstrate how Stagehand's caching feature reduces cost and latency by reusing previously computed actions
basic-recaptcha TS PY - Automatic reCAPTCHA solving using Browserbase's built-in captcha solving capabilities
browser-agent-demo TS - - Browser agent that searches the web, fetches page content, and autonomously extracts information
browserbase-reducto TS PY - Download financial PDFs from websites and extract structured data using AI-powered document parsing
business-lookup TS PY - Automate business registry searches using an autonomous AI agent with computer-use capabilities
cartesia-form-filling - PY - Voice agent that conducts phone questionnaires while automatically filling out web forms
cerebras-docs-checker - PY - Crawl documentation sites, discover source repos, and verify docs accuracy against actual codebase
company-address-finder TS PY - Discover company legal information and physical addresses from Terms of Service and Privacy Policy pages
company-value-prop-generator TS PY - Extract and format website value propositions into concise one-liners for email personalization
context TS PY - Persistent authentication using Browserbase contexts that survive across sessions
council-events TS PY - Automate event information extraction from Philadelphia Council
download-financial-statements TS PY - Download Apple's quarterly financial statements (PDFs) from their investor relations site
dynamic-form-filling TS - - Intelligent form filling using a Stagehand AI agent that understands form context and uses semantic matching
exa-browserbase TS PY - Automate job applications with AI that writes smart, tailored responses for each role
extend-browserbase TS PY - Download receipts from an expense portal and extract structured receipt data using AI-powered document parsing
form-filling TS PY - Automate form filling with Stagehand and Browserbase
gemini-3-flash TS - - Autonomous web browsing using Google's Gemini 3 Flash with Stagehand and Browserbase
gemini-cua TS PY - Autonomous web browsing using Google's Computer Use Agent with Stagehand and Browserbase
getting-started-with-browserbase TS PY - Demo all three core Browserbase capabilities: Search API, Fetch API, and Browser Sessions
gift-finder TS PY - Find personalized gift recommendations using AI-generated search queries and intelligent product scoring
google-trends TS PY - Extract trending search keywords from Google Trends for any country with structured JSON output
hackernews - - GO Demonstrate Stagehand's core browser automation features through a complete Hacker News workflow
image-url-download TS PY - Extract all image URLs from a page and download each image through the browser's direct connection
job-application TS PY - Automate job applications by discovering job listings and submitting applications
license-verification TS PY - Extract structured, validated data from websites using Stagehand + Zod
manual-mfa-with-contexts TS PY - Persist authentication across sessions using Browserbase Contexts, eliminating MFA friction
mfa-handling TS PY - Automate MFA completion using TOTP (Time-based One-Time Password) code generation
microsoft-cua TS - - Autonomous web browsing using Microsoft's Computer Use Agent with Stagehand and Browserbase
nurse-verification TS PY - Automate verification of nurse licenses by filling forms and extracting structured results
pickleball TS PY - Automate tennis and pickleball court bookings in San Francisco Recreation & Parks system
playwright TS PY - Raw Playwright usage with Browserbase (no Stagehand)
playwright-mfa-handling TS PY - Automate MFA completion using TOTP with raw Playwright and Browserbase
polymarket-research TS PY - Automate market research on prediction markets using Stagehand
proxies TS PY - Demonstrate different proxy configurations with Browserbase sessions
proxies-weather TS PY - Geolocation proxies fetching location-specific weather data from multiple cities
puppeteer TS - - Raw Puppeteer usage with Browserbase
sec-filing-research TS PY - Search SEC EDGAR for a company and extract recent filing metadata
selenium TS PY - Raw Selenium usage with Browserbase
smart-fetch-scraper TS PY - Scrape a webpage using the fastest method available -- Fetch API first, full browser session as fallback
website-link-tester TS PY - Crawl a website's homepage, collect all links, and verify each link loads successfully

Model Gateway

Templates use the Model Gateway to route LLM requests -- you only need your BROWSERBASE_API_KEY. No separate OpenAI, Anthropic, or Google API keys required. Supported models include OpenAI, Anthropic, and Google (Gemini).

Note: CUA (Computer Use Agent) models are not yet supported through the Model Gateway. Templates using CUA models still require a separate model provider API key.

Getting Started

  1. Choose a template from the table above
  2. Read the template's README for specific setup instructions
  3. Set up your environment with the required API keys and dependencies
  4. Run the template and start automating

Each template's README contains detailed installation steps, environment variable requirements, and troubleshooting guides.

Resources

Documentation

Support

Contributing

We welcome contributions! Here's how you can help:

  1. Report Bugs: Use GitHub issues to report problems
  2. Suggest Features: Propose new templates or improvements
  3. Submit Pull Requests: Contribute code improvements
  4. Share Templates: Create and share your own templates

Template Guidelines

  • Follow the established structure and naming conventions
  • Include comprehensive README documentation
  • Add proper error handling and logging
  • Test templates thoroughly before submitting

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors