> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vercel AI integration

> Build AI-powered research agents with parallel browser sessions, deployable on Vercel.

[Vercel](https://www.vercel.com) is the leading platform to develop and deploy front-end applications.

With the [Vercel AI SDK](https://sdk.vercel.ai/docs/introduction) and [Stagehand](https://stagehand.dev), 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.

> [!NOTE]
>
> **Looking for native cloud functions?** [Functions](https://docs.browserbase.com/platform/functions/overview.md) 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](https://github.com/browserbase/browserbase-nextjs-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.

> [card] [Quickstart guide](https://docs.browserbase.com/integrations/vercel/quickstart.md)
>
> Step-by-step guide to build a research agent with Stagehand, Browserbase, and the Vercel AI SDK.

> [card] [Deploy to Vercel](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fbrowserbase%2Fbrowserbase-nextjs-template\&stores=%5B%7B%22type%22%3A%22integration%22%2C%22protocol%22%3A%22other%22%2C%22productSlug%22%3A%22browserbase%22%2C%22integrationSlug%22%3A%22browserbase%22%7D%5D)
>
> One-click deploy the research agent template. The Vercel Marketplace will automatically prompt you to set up Browserbase.

> [card] [GitHub template](https://github.com/browserbase/browserbase-nextjs-template)
>
> Browse the full source code on GitHub.

> [card] [BrowseGPT guide](https://docs.browserbase.com/integrations/vercel/browsegpt.md)
>
> Guide to build BrowseGPT to search the web using a chat interface.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.