Skip to main content
Vercel is the leading platform to develop and deploy front-end applications. With the Vercel AI SDK and Stagehand, you can build AI-powered browser agents that run on Vercel’s serverless infrastructure. Stagehand provides a high-level API for browser agents built on top of CDP, with AI-powered extraction and interaction capabilities. Browserbase provides the cloud browser infrastructure that powers these agents — running headless browsers at scale without you managing infrastructure.
Looking for native cloud functions? Functions provide a purpose-built solution for browser agents that can be invoked via API—no need to manage your own Vercel functions. Perfect for webhooks, scheduled tasks, and dedicated agent workflows.

Research agent template

The Browserbase x Next.js template is an AI-powered research agent that runs parallel browser sessions to search the web in real-time. It uses Stagehand + Browserbase for browser automation and the Vercel AI SDK with Claude for intelligent extraction and synthesis. Key features:
  • Parallel Browser Sessions — Multiple browsers run simultaneously, each researching a different source
  • Live Browser Views — Watch AI agents navigate the web in real-time
  • Multi-Source Research — Searches DuckDuckGo, Wikipedia, YouTube, Hacker News, and Google News
  • AI-Powered Extraction — Uses Claude to intelligently extract relevant information from pages
  • Real-time Streaming — Server-Sent Events deliver results as they’re discovered

Get started

Deploy with one click or follow the quickstart guide to build from scratch.

Quickstart guide

Step-by-step guide to build a research agent with Stagehand, Browserbase, and the Vercel AI SDK.

Deploy to Vercel

One-click deploy the research agent template. The Vercel Marketplace will automatically prompt you to set up Browserbase.

GitHub template

Browse the full source code on GitHub.

BrowseGPT guide

Guide to build BrowseGPT to search the web using a chat interface.