{"id":31979310,"url":"https://github.com/browserbase/templates","last_synced_at":"2026-07-18T15:38:00.021Z","repository":{"id":317702316,"uuid":"1062896619","full_name":"browserbase/templates","owner":"browserbase","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-02T15:07:17.000Z","size":22558,"stargazers_count":28,"open_issues_count":18,"forks_count":16,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-07-18T15:37:43.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T22:12:37.000Z","updated_at":"2026-07-14T22:10:27.000Z","dependencies_parsed_at":"2025-10-02T15:22:30.203Z","dependency_job_id":"55cf4f11-c9a6-4df0-a517-c987c3bbcd20","html_url":"https://github.com/browserbase/templates","commit_stats":null,"previous_names":["browserbase/templates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/browserbase/templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserbase%2Ftemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserbase%2Ftemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserbase%2Ftemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserbase%2Ftemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserbase","download_url":"https://codeload.github.com/browserbase/templates/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserbase%2Ftemplates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35622753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T22:50:05.736Z","updated_at":"2026-07-18T15:38:00.013Z","avatar_url":"https://github.com/browserbase.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stagehand + Browserbase Templates\n\nReady-to-use automation templates for Stagehand and Browserbase. Each template has its own README with setup instructions.\n\n\u003e All templates also live on [browserbase.com/templates](https://www.browserbase.com/templates)\n\n## All Templates\n\n| Template                         | TS                                                | PY                                            | GO                  | Description                                                                                                    |\n| -------------------------------- | ------------------------------------------------- | --------------------------------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------- |\n| 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                                            |\n| 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                              |\n| 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                  |\n| 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    |\n| basic-recaptcha                  | [TS](typescript/basic-recaptcha)                  | [PY](python/basic-recaptcha)                  | -                   | Automatic reCAPTCHA solving using Browserbase's built-in captcha solving capabilities                          |\n| browser-agent-demo               | [TS](typescript/browser-agent-demo)               | -                                             | -                   | Browser agent that searches the web, fetches page content, and autonomously extracts information               |\n| browserbase-reducto              | [TS](typescript/browserbase-reducto)              | [PY](python/browserbase-reducto)              | -                   | Download financial PDFs from websites and extract structured data using AI-powered document parsing            |\n| business-lookup                  | [TS](typescript/business-lookup)                  | [PY](python/business-lookup)                  | -                   | Automate business registry searches using an autonomous AI agent with computer-use capabilities                |\n| cartesia-form-filling            | -                                                 | [PY](python/cartesia-form-filling)            | -                   | Voice agent that conducts phone questionnaires while automatically filling out web forms                       |\n| cerebras-docs-checker            | -                                                 | [PY](python/cerebras-docs-checker)            | -                   | Crawl documentation sites, discover source repos, and verify docs accuracy against actual codebase             |\n| 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       |\n| 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                |\n| context                          | [TS](typescript/context)                          | [PY](python/context)                          | -                   | Persistent authentication using Browserbase contexts that survive across sessions                              |\n| council-events                   | [TS](typescript/council-events)                   | [PY](python/council-events)                   | -                   | Automate event information extraction from Philadelphia Council                                                |\n| 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                      |\n| dynamic-form-filling             | [TS](typescript/dynamic-form-filling)             | -                                             | -                   | Intelligent form filling using a Stagehand AI agent that understands form context and uses semantic matching   |\n| exa-browserbase                  | [TS](typescript/exa-browserbase)                  | [PY](python/exa-browserbase)                  | -                   | Automate job applications with AI that writes smart, tailored responses for each role                          |\n| 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 |\n| form-filling                     | [TS](typescript/form-filling)                     | [PY](python/form-filling)                     | -                   | Automate form filling with Stagehand and Browserbase                                                           |\n| gemini-3-flash                   | [TS](typescript/gemini-3-flash)                   | -                                             | -                   | Autonomous web browsing using Google's Gemini 3 Flash with Stagehand and Browserbase                           |\n| gemini-cua                       | [TS](typescript/gemini-cua)                       | [PY](python/gemini-cua)                       | -                   | Autonomous web browsing using Google's Computer Use Agent with Stagehand and Browserbase                       |\n| 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                      |\n| gift-finder                      | [TS](typescript/gift-finder)                      | [PY](python/gift-finder)                      | -                   | Find personalized gift recommendations using AI-generated search queries and intelligent product scoring       |\n| google-trends                    | [TS](typescript/google-trends)                    | [PY](python/google-trends)                    | -                   | Extract trending search keywords from Google Trends for any country with structured JSON output                |\n| hackernews                       | -                                                 | -                                             | [GO](go/hackernews) | Demonstrate Stagehand's core browser automation features through a complete Hacker News workflow               |\n| 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             |\n| job-application                  | [TS](typescript/job-application)                  | [PY](python/job-application)                  | -                   | Automate job applications by discovering job listings and submitting applications                              |\n| license-verification             | [TS](typescript/license-verification)             | [PY](python/license-verification)             | -                   | Extract structured, validated data from websites using Stagehand + Zod                                         |\n| 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                    |\n| mfa-handling                     | [TS](typescript/mfa-handling)                     | [PY](python/mfa-handling)                     | -                   | Automate MFA completion using TOTP (Time-based One-Time Password) code generation                              |\n| microsoft-cua                    | [TS](typescript/microsoft-cua)                    | -                                             | -                   | Autonomous web browsing using Microsoft's Computer Use Agent with Stagehand and Browserbase                    |\n| nurse-verification               | [TS](typescript/nurse-verification)               | [PY](python/nurse-verification)               | -                   | Automate verification of nurse licenses by filling forms and extracting structured results                     |\n| pickleball                       | [TS](typescript/pickleball)                       | [PY](python/pickleball)                       | -                   | Automate tennis and pickleball court bookings in San Francisco Recreation \u0026 Parks system                       |\n| playwright                       | [TS](typescript/playwright)                       | [PY](python/playwright)                       | -                   | Raw Playwright usage with Browserbase (no Stagehand)                                                           |\n| playwright-mfa-handling          | [TS](typescript/playwright-mfa-handling)          | [PY](python/playwright-mfa-handling)          | -                   | Automate MFA completion using TOTP with raw Playwright and Browserbase                                         |\n| polymarket-research              | [TS](typescript/polymarket-research)              | [PY](python/polymarket-research)              | -                   | Automate market research on prediction markets using Stagehand                                                 |\n| proxies                          | [TS](typescript/proxies)                          | [PY](python/proxies)                          | -                   | Demonstrate different proxy configurations with Browserbase sessions                                           |\n| proxies-weather                  | [TS](typescript/proxies-weather)                  | [PY](python/proxies-weather)                  | -                   | Geolocation proxies fetching location-specific weather data from multiple cities                               |\n| puppeteer                        | [TS](typescript/puppeteer)                        | -                                             | -                   | Raw Puppeteer usage with Browserbase                                                                           |\n| sec-filing-research              | [TS](typescript/sec-filing-research)              | [PY](python/sec-filing-research)              | -                   | Search SEC EDGAR for a company and extract recent filing metadata                                              |\n| selenium                         | [TS](typescript/selenium)                         | [PY](python/selenium)                         | -                   | Raw Selenium usage with Browserbase                                                                            |\n| 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       |\n| 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                         |\n\n## Model Gateway\n\nTemplates 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).\n\n\u003e **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.\n\n## Getting Started\n\n1. **Choose a template** from the table above\n2. **Read the template's README** for specific setup instructions\n3. **Set up your environment** with the required API keys and dependencies\n4. **Run the template** and start automating\n\nEach template's README contains detailed installation steps, environment variable requirements, and troubleshooting guides.\n\n### TypeScript and generated JavaScript\n\n- **Source of truth:** edit templates under `typescript/`. The `javascript/` tree is generated output, not authored by hand for day-to-day changes.\n- **Local only:** run `pnpm run build:javascript` when you want a full mirror of `typescript/` into `javascript/` on your machine (for example to smoke-test the transpiler or compare JS output). There is **no** GitHub Actions workflow that builds the full tree into the repo anymore.\n- **Playground releases:** the `production` branch is updated by CI (`.github/workflows/playground-production.yml`), which builds and commits **only** templates that are playground-runnable per the public templates API, then validates them.\n\n## Resources\n\n### Documentation\n\n- **Stagehand Docs**: https://docs.stagehand.dev/v3/first-steps/introduction\n- **Browserbase Docs**: https://docs.browserbase.com\n\n### Support\n\n- **Discord**: http://stagehand.dev/discord\n- **Email Support**: support@browserbase.com\n- **GitHub Issues**: Report bugs and request features\n\n## Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. **Report Bugs**: Use GitHub issues to report problems\n2. **Suggest Features**: Propose new templates or improvements\n3. **Submit Pull Requests**: Contribute code improvements\n4. **Share Templates**: Create and share your own templates\n\n### Template Guidelines\n\n- Follow the established structure and naming conventions\n- Include comprehensive README documentation\n- Add proper error handling and logging\n- Test templates thoroughly before submitting\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserbase%2Ftemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserbase%2Ftemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserbase%2Ftemplates/lists"}