You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flatten README template list for agent discoverability (#86)
* Flatten README template list for agent discoverability
Add a single searchable table of all 80+ templates with name, language,
and one-line description so agents and humans can quickly find relevant
templates without navigating subdirectories.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: validate README template index
* fix: align README template index with tracked templates
* ci: streamline README index workflow
* ci: bump checkout action
* docs: group template index by language
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+60-30Lines changed: 60 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,73 @@
1
1
# Stagehand + Browserbase Templates
2
2
3
-
A comprehensive collection of ready-to-use automation templates demonstrating the power of Stagehand and Browserbase for web automation, data extraction, and AI-powered browser interactions.
3
+
Ready-to-use automation templates for Stagehand and Browserbase. Each template has its own README with setup instructions.
4
4
5
5
> All templates also live on [browserbase.com/templates](https://www.browserbase.com/templates)
| agent-with-human-in-loop |[TS](typescript/agent-with-human-in-loop)| - | - | Build an AI agent that can pause and ask a human for input mid-task |
12
+
| amazon-global-price-comparison |[TS](typescript/amazon-global-price-comparison)|[PY](python/amazon-global-price-comparison)| - | Compare Amazon product prices across multiple countries using geolocation proxies |
13
+
| amazon-product-scraping |[TS](typescript/amazon-product-scraping)|[PY](python/amazon-product-scraping)| - | Scrape the first 3 Amazon search results for a given query and return structured product data |
14
+
| basic-caching |[TS](typescript/basic-caching)|[PY](python/basic-caching)| - | Demonstrate how Stagehand's caching feature reduces cost and latency by reusing previously computed actions |
| browser-agent-demo |[TS](typescript/browser-agent-demo)| - | - | Browser agent that searches the web, fetches page content, and autonomously extracts information |
17
+
| browserbase-reducto |[TS](typescript/browserbase-reducto)|[PY](python/browserbase-reducto)| - | Download financial PDFs from websites and extract structured data using AI-powered document parsing |
18
+
| business-lookup |[TS](typescript/business-lookup)|[PY](python/business-lookup)| - | Automate business registry searches using an autonomous AI agent with computer-use capabilities |
19
+
| cartesia-form-filling | - |[PY](python/cartesia-form-filling)| - | Voice agent that conducts phone questionnaires while automatically filling out web forms |
20
+
| cerebras-docs-checker | - |[PY](python/cerebras-docs-checker)| - | Crawl documentation sites, discover source repos, and verify docs accuracy against actual codebase |
21
+
| company-address-finder |[TS](typescript/company-address-finder)|[PY](python/company-address-finder)| - | Discover company legal information and physical addresses from Terms of Service and Privacy Policy pages |
22
+
| company-value-prop-generator |[TS](typescript/company-value-prop-generator)|[PY](python/company-value-prop-generator)| - | Extract and format website value propositions into concise one-liners for email personalization |
23
+
| context |[TS](typescript/context)|[PY](python/context)| - | Persistent authentication using Browserbase contexts that survive across sessions |
24
+
| council-events |[TS](typescript/council-events)|[PY](python/council-events)| - | Automate event information extraction from Philadelphia Council |
25
+
| download-financial-statements |[TS](typescript/download-financial-statements)|[PY](python/download-financial-statements)| - | Download Apple's quarterly financial statements (PDFs) from their investor relations site |
26
+
| dynamic-form-filling |[TS](typescript/dynamic-form-filling)| - | - | Intelligent form filling using a Stagehand AI agent that understands form context and uses semantic matching |
27
+
| exa-browserbase |[TS](typescript/exa-browserbase)|[PY](python/exa-browserbase)| - | Automate job applications with AI that writes smart, tailored responses for each role |
28
+
| extend-browserbase |[TS](typescript/extend-browserbase)|[PY](python/extend-browserbase)| - | Download receipts from an expense portal and extract structured receipt data using AI-powered document parsing |
29
+
| form-filling |[TS](typescript/form-filling)|[PY](python/form-filling)| - | Automate form filling with Stagehand and Browserbase |
30
+
| gemini-3-flash |[TS](typescript/gemini-3-flash)| - | - | Autonomous web browsing using Google's Gemini 3 Flash with Stagehand and Browserbase |
31
+
| gemini-cua |[TS](typescript/gemini-cua)|[PY](python/gemini-cua)| - | Autonomous web browsing using Google's Computer Use Agent with Stagehand and Browserbase |
32
+
| getting-started-with-browserbase |[TS](typescript/getting-started-with-browserbase)|[PY](python/getting-started-with-browserbase)| - | Demo all three core Browserbase capabilities: Search API, Fetch API, and Browser Sessions |
33
+
| gift-finder |[TS](typescript/gift-finder)|[PY](python/gift-finder)| - | Find personalized gift recommendations using AI-generated search queries and intelligent product scoring |
34
+
| google-trends |[TS](typescript/google-trends)|[PY](python/google-trends)| - | Extract trending search keywords from Google Trends for any country with structured JSON output |
35
+
| hackernews | - | - |[GO](go/hackernews)| Demonstrate Stagehand's core browser automation features through a complete Hacker News workflow |
36
+
| image-url-download |[TS](typescript/image-url-download)|[PY](python/image-url-download)| - | Extract all image URLs from a page and download each image through the browser's direct connection |
37
+
| job-application |[TS](typescript/job-application)|[PY](python/job-application)| - | Automate job applications by discovering job listings and submitting applications |
38
+
| license-verification |[TS](typescript/license-verification)|[PY](python/license-verification)| - | Extract structured, validated data from websites using Stagehand + Zod |
39
+
| manual-mfa-with-contexts |[TS](typescript/manual-mfa-with-contexts)|[PY](python/manual-mfa-with-contexts)| - | Persist authentication across sessions using Browserbase Contexts, eliminating MFA friction |
| microsoft-cua |[TS](typescript/microsoft-cua)| - | - | Autonomous web browsing using Microsoft's Computer Use Agent with Stagehand and Browserbase |
42
+
| nurse-verification |[TS](typescript/nurse-verification)|[PY](python/nurse-verification)| - | Automate verification of nurse licenses by filling forms and extracting structured results |
43
+
| pickleball |[TS](typescript/pickleball)|[PY](python/pickleball)| - | Automate tennis and pickleball court bookings in San Francisco Recreation & Parks system |
44
+
| playwright |[TS](typescript/playwright)|[PY](python/playwright)| - | Raw Playwright usage with Browserbase (no Stagehand) |
45
+
| playwright-mfa-handling |[TS](typescript/playwright-mfa-handling)|[PY](python/playwright-mfa-handling)| - | Automate MFA completion using TOTP with raw Playwright and Browserbase |
46
+
| polymarket-research |[TS](typescript/polymarket-research)|[PY](python/polymarket-research)| - | Automate market research on prediction markets using Stagehand |
47
+
| proxies |[TS](typescript/proxies)|[PY](python/proxies)| - | Demonstrate different proxy configurations with Browserbase sessions |
48
+
| proxies-weather |[TS](typescript/proxies-weather)|[PY](python/proxies-weather)| - | Geolocation proxies fetching location-specific weather data from multiple cities |
49
+
| puppeteer |[TS](typescript/puppeteer)| - | - | Raw Puppeteer usage with Browserbase |
50
+
| sec-filing-research |[TS](typescript/sec-filing-research)|[PY](python/sec-filing-research)| - | Search SEC EDGAR for a company and extract recent filing metadata |
51
+
| selenium |[TS](typescript/selenium)|[PY](python/selenium)| - | Raw Selenium usage with Browserbase |
52
+
| smart-fetch-scraper |[TS](typescript/smart-fetch-scraper)|[PY](python/smart-fetch-scraper)| - | Scrape a webpage using the fastest method available -- Fetch API first, full browser session as fallback |
53
+
| website-link-tester |[TS](typescript/website-link-tester)|[PY](python/website-link-tester)| - | Crawl a website's homepage, collect all links, and verify each link loads successfully |
8
54
9
-
1.**Choose your language**: TypeScript or Python
10
-
2.**Browse available templates** in the respective language folder
11
-
3.**Read the template's README** for detailed setup instructions and use cases
12
-
4.**Start automating!**
13
-
14
-
## 🔧 Getting Started
55
+
## Model Gateway
15
56
16
-
1.**Choose a template** from the TypeScript or Python folders
17
-
2.**Read the template's README** for specific setup instructions
18
-
3.**Set up your environment** with the required API keys and dependencies
19
-
4.**Run the template** and start automating!
57
+
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).
20
58
21
-
> **💡 Pro Tip**: Each template's README contains detailed installation steps, environment variable requirements, and troubleshooting guides specific to that template.
59
+
> **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.
22
60
23
-
## Model Gateway
61
+
## Getting Started
24
62
25
-
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).
63
+
1.**Choose a template** from the table above
64
+
2.**Read the template's README** for specific setup instructions
65
+
3.**Set up your environment** with the required API keys and dependencies
66
+
4.**Run the template** and start automating
26
67
27
-
> **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.
68
+
Each template's README contains detailed installation steps, environment variable requirements, and troubleshooting guides.
28
69
29
-
## 📚 Resources
70
+
## Resources
30
71
31
72
### Documentation
32
73
@@ -35,18 +76,11 @@ Templates use the Model Gateway to route LLM requests — you only need your `BR
35
76
36
77
### Support
37
78
38
-
-**Community**: Join our Discord community
39
79
-**Discord**: http://stagehand.dev/discord
40
80
-**Email Support**: support@browserbase.com
41
81
-**GitHub Issues**: Report bugs and request features
42
82
43
-
### Examples & Tutorials
44
-
45
-
-**Getting Started Guide**: Learn the basics of Stagehand
0 commit comments