> ## 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](/platform/runtime/overview) 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.
</Note>

## 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.

<CardGroup cols={2}>
  <Card title="Quickstart guide" icon="book" iconType="sharp-solid" href="/integrations/vercel/quickstart">
    Step-by-step guide to build a research agent with Stagehand, Browserbase, and the Vercel AI SDK.
  </Card>

  <Card title="Deploy to Vercel" icon="rocket" iconType="sharp-solid" href="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>

  <Card title="GitHub template" icon="github" iconType="sharp-solid" href="https://github.com/browserbase/browserbase-nextjs-template">
    Browse the full source code on GitHub.
  </Card>

  <Card title="BrowseGPT guide" icon="book" iconType="sharp-solid" href="/integrations/vercel/browsegpt">
    Guide to build BrowseGPT to search the web using a chat interface.
  </Card>
</CardGroup>
