Learning resourcesReviewed · Browser Use

Browser Use on Vercel: Marketplace integration guide

This is a Browser Use documentation tutorial for developers who deploy on Vercel and want to add hosted AI browser agents or cloud browsers through the Vercel Marketplace, and its main catch is that agent runs can outlast a serverless function and the page does not give Vercel plan prices. It covers installing the integration, calling Browser Use from a Next.js route handler with browser-use-sdk, adding cloud browser tools to a Vercel eve agent, and connecting Puppeteer to a cloud browser over CDP.

Researched 15 Nov 2026

In short.

This single documentation page explains how developers on Vercel can install the Browser Use integration from the Vercel Marketplace and use hosted AI browser agents or cloud browsers from Next.js, a Vercel eve agent, or their own Puppeteer code. The main catch is that agent runs can be longer than a Vercel function's time limit, so longer work needs a start-then-poll design. Billing goes through Vercel, but the page does not state Vercel plan prices. Technically, the install adds a BROWSER_USE_API_KEY environment variable to the project. The page's code uses browser-use-sdk/v4 (client.runs.create and waitForCompletion, or client.browsers.create for a CDP URL), and the npm package @browser_use/eve adds open_cloud_browser and stop_cloud_browser tools. Nothing in the page was executed or tested for this report, and the licence for the page and the SDKs is not stated in the captured text.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is the complete documentation page at [https://docs.browser-use.com/cloud/tutorials/integrations/vercel.md], including its introductory vendor notes and the tutorial body. Linked pages, the Vercel Marketplace listing, the GitHub template, npm packages, the pricing page and any licence or terms were excluded and not reviewed. No code or service was executed or tested, so all behaviour, pricing and limit statements are the page's own claims. No licence evidence was captured, so reuse rights are unknown.

The overview

What this resource is

The resource is one Browser Use documentation page at [https://docs.browser-use.com/cloud/tutorials/integrations/vercel.md], titled Vercel. It is a tutorial for the Browser Use integration listed on the Vercel Marketplace [https://vercel.com/marketplace/browseruse]. Per the page, the integration gives a Vercel project a Browser Use account, billing through Vercel, and a BROWSER_USE_API_KEY environment variable.

The page is hosted on Mintlify's documentation platform. Its publisher is Browser Use, based on the docs domain and the contact addresses in the page's introductory notes. It is a guide to an external service, not a software package. The page itself contains no installable code beyond the snippets it shows.

Overall assessment

The page is a compact, practical walkthrough. It names exact dashboard steps, commands, package names and SDK calls, and it points to follow-up pages for observability, structured output, concurrency and the browser quickstart. Those linked pages were not part of the selected scope and were not reviewed.

It is useful for a developer who already deploys on Vercel and wants AI-driven browsing without running browser infrastructure. Weak spots: it does not give Vercel plan prices, and the Next.js sample route has no authentication or other access control, no input validation and no error handling, so it needs additions before it is deployed. Most of the failure guidance sits in the page's introductory notes rather than the tutorial steps. Those notes say to inspect errors before retrying and to honour Retry-After. They also say a client timeout does not cancel the server-side run, that browsers must be stopped explicitly because closing CDP does not stop them, and that secretBindings have domain and frame restrictions. Nothing was run, so every behaviour described here is the page's claim, not a verified result.

Who it is for

The page is aimed at developers who already use, or are willing to use, Vercel and Next.js, and who want a hosted browser agent that takes a plain-language task such as 'Find the top Hacker News story and summarize it'. It also serves developers who build agents on Vercel's eve framework and want to give them a cloud browser. A third group already writes Puppeteer or Playwright scripts and wants a managed cloud browser to connect to.

It assumes comfort with the command line, npm, environment variables and TypeScript. It is not aimed at non-developers, and it does not suit anyone who needs the browser to run only on their own machine, because the described browsers are hosted by Browser Use.

What it covers and what it enables

Four things are covered. First, installing the Marketplace integration and getting the API key into Vercel environments (production, preview and development). Second, a Next.js route handler that creates a Browser Use run from a task string, waits up to 240,000 ms for completion and returns the run id and result. Third, a Vercel eve agent setup using the @browser_use/eve package, which the page says adds the open_cloud_browser and stop_cloud_browser tools plus a browsing skill. Fourth, a bring-your-own-automation path where client.browsers.create returns a session with a cdpUrl that puppeteer-core connects to.

The page also points to a Browser Agent Template on GitHub [https://github.com/browser-use/browser-agent-template], described as a Next.js chat UI, an eve agent and a live browser panel in one codebase. It mentions Playwright, Selenium and curl only as options in the separate Browser Infrastructure quickstart, which was not reviewed. Structured JSON output and event streaming are named but explained on other pages.

Using it

What you need

From the page: a Vercel account and project with access to the Marketplace; a Browser Use plan chosen at install time (the page suggests Free to start); Node tooling for npm install browser-use-sdk@latest; and the Vercel CLI for vercel env pull .env.local. The Next.js example needs a Next.js app with route handlers. The Puppeteer example needs puppeteer-core. The eve path needs the eve framework and the @browser_use/eve package.

The BROWSER_USE_API_KEY must stay server-side. The page says to call Browser Use from a route handler or server action, never from the browser. Supported Node or Next.js versions, SDK licence and minimum eve version are not stated on the page and are unknown.

How it works

The Marketplace install creates a Browser Use project linked to your Vercel project and injects BROWSER_USE_API_KEY. The SDK client reads that variable from the environment. In the agent path, your server calls client.runs.create with a task. Browser Use then runs a hosted browser agent, and your code either waits with client.runs.waitForCompletion or later reads client.runs.status(runId) and client.runs.events(runId).

In the infrastructure path no hosted agent is used. client.browsers.create({ proxyCountryCode: 'us' }) returns a cloud browser with a CDP (Chrome DevTools Protocol) URL, and Puppeteer connects to it. The example stops the browser with client.browsers.stop in a finally block. The page's introductory notes say closing a CDP connection does not stop a browser, and that unneeded browsers should be stopped explicitly.

Those notes also say that, for Cloud API V4, a task request that leaves out both model and modelParams uses GPT-6 Luna (gpt-6-luna) with High reasoning. Explicit model and modelParams values take precedence, an explicit empty modelParams object opts out of the reasoning default, and Bedrock-only projects keep their compatible provider default. The notes add that authentication uses an X-Browser-Use-API-Key header without a Bearer prefix. These are the page's claims. Which models are available to a project installed through Vercel is not stated and is unknown.

Setup steps

Per the page: (1) In the Vercel dashboard open Integrations, then Browse Marketplace, choose Browser Use and select Install. Pick a plan and connect the resource to the project that will call Browser Use. (2) Confirm that BROWSER_USE_API_KEY was added, then run vercel env pull .env.local to get it locally. (3) Optionally select Open in Browser Use to sign in to [https://cloud.browser-use.com] through Vercel to watch runs, replay sessions and manage the project.

For Next.js, run npm install browser-use-sdk@latest, add a route handler such as app/api/research/route.ts that imports BrowserUse from browser-use-sdk/v4, and call it with curl against localhost. For eve, run npm install @browser_use/eve and then npx browser-use-eve add. Because the install uses @latest, the version you get can differ from what the page was written against.

Worked example from the page

The page's example is a POST route. It reads { task } from the JSON body, creates a BrowserUse client, calls client.runs.create({ task }), then client.runs.waitForCompletion(run.id, { timeout: 240_000 }), and returns { runId, result }. It sets export const maxDuration = 300, so the wait (240 s) sits inside the function limit (300 s). The sample request uses curl to send a POST to [http://localhost:3000/api/research] with the body {"task":"Find the top Hacker News story and summarize it"}.

As written, the route takes any task from any caller and has no authentication, input limits or rate limiting. That is an observation about the sample, not something the page discusses. Anyone who can reach a deployed copy could start paid runs, so add your own access control before deploying. The example was not run for this report.

Assessment & evidence

Limitations and risks

Run length versus function time: the page warns that runs can outlast a single Vercel function invocation. For anything longer than maxDuration, return run.id at once and read progress from a second route with client.runs.status and client.runs.events. The simple example only suits tasks that finish within about 240 seconds. The page's notes say a client wait timeout does not cancel the server-side run, so a timed-out request can leave a run active and billing, and external actions may already have happened. The notes say to reconcile those actions before starting duplicate work.

Gaps in the sample route: the Next.js route has no authentication or authorization, no validation or size limit on the task string, and no rate limiting, so anyone who can reach a deployed copy could start runs with any task. It also has no try/catch and no error response. An error thrown by runs.create or waitForCompletion goes unhandled, and because the run id is returned only after the wait finishes, the caller then gets no id to check or reconcile the run. The page does not say what waitForCompletion does when its timeout expires.

Errors, retries and capacity: the notes say to inspect the full error and the project before retrying or adding credits, and they point to a troubleshooting guide that was not reviewed. All keys in a project share its concurrency and credits, and HTTP request rate limits apply per project and per source IP. When throttled, the notes say to honour the returned Retry-After, use bounded workers and stagger polls. A busy V4 session returns 409, and its queue holds 20 pending messages. Spending caps are described as soft limits that concurrent or already-running work can exceed.

Browser cleanup: the notes say closing a CDP connection does not stop a browser, so browsers you create should be stopped explicitly. The page's Puppeteer example does this with client.browsers.stop in a finally block. A V4 agent browser stays open about 2 minutes after its session's last run activity, and idle agent browsers are billed as browser time.

Secrets: the notes say V4 secretBindings.allowedDomains authorizes the focused field's frame, not every iframe on the page, so checkout flows need the intended payment or billing provider hostnames included. A domain_not_allowed error calls for checking the origin and passing updated bindings in a follow-up, while target_not_editable means the field's focus or readiness has to be fixed. The page links a separate secrets guide, which was not reviewed. Hosted browsers run on Browser Use's infrastructure, so pages you automate and any credentials you pass leave your environment.

Reliability: agent results are produced by an AI model, and the notes say to verify important external actions independently. Version drift is possible because the SDK is installed at latest and the notes mention V2 and V3 as legacy or different from V4. No testing or benchmark results are given.

Why this assessment

The assessment rests on the page's own text. It is a complete tutorial with concrete commands and code. The page describes the integration as listed on the Vercel Marketplace and installable from there, but the listing itself was not checked. The code uses the browser-use-sdk/v4 import, which follows the page's own notes recommending Cloud API V4 for new agent integrations. That match does not show the code works with current SDK releases. The page calls @browser_use/eve the official package for giving an eve agent a cloud browser, but it does not say when that package was released. No contradictions inside the page were found.

Confidence is limited because the page is vendor documentation, no code was executed, and the linked pages that carry pricing, concurrency, secrets and observability details were outside the selected scope. Claims about behaviour, such as default models, the browser idle timeout and rate limits, are reported as the vendor's claims. Anything the page does not state is marked unknown.

Alternatives and related options

The page itself points to several related routes. You can use the open-source browser-use library, which it says has a different API from the hosted browser-use-sdk. You can use the Browser Infrastructure quickstart for Playwright, Selenium or curl instead of the Vercel-specific path. You can also use Browser Use Cloud directly instead of installing through the Vercel Marketplace. The notes say V3 trades accuracy for speed and lower cost than V4, and that V2 is legacy.

Other hosted browser services, running your own headless browsers, or using Playwright or Puppeteer without a hosted agent are alternatives in general. They are not described in the captured evidence, so no comparison of cost, reliability or features is made here.

Evidence base

The only source is the Browser Use documentation page at [https://docs.browser-use.com/cloud/tutorials/integrations/vercel.md], captured on 2026-11-15. It opens with a block of vendor notes on concurrency, rate limits, models, billing, recording, secrets, troubleshooting and retired products, followed by the tutorial itself. Statements from both parts are reported here as Browser Use's claims.

No repository, package source, licence file, changelog, pricing page, linked documentation page, Vercel Marketplace listing or test result is part of the evidence. Code examples were read, not executed, so no claim is made that they work as written.

Access & freshness

Costs

The page says usage is billed through your Vercel account on the plan you picked at install time, and that changing the plan in Vercel updates the Browser Use project automatically. It names a Free plan as the suggested start. It does not list Vercel plan names beyond Free, their prices, included usage, or how Vercel plans map to Browser Use limits. Those figures are unknown from this evidence.

The page's introductory notes describe Browser Use Cloud pricing and limits generally: new projects get 10 concurrent browsers at $0, a $100 one-time top-up unlocks 50 concurrent browsers, and higher tiers unlock 250, 500 and 1,000. They also say purchased credits do not expire, signup credits are one-time, API-key monthly spending caps are soft limits, and idle V4 agent browsers are billed as browser time. They say bring-your-own-key (BYOK) billing charges provider tokens separately, while Browser Use charges orchestration plus browser and network usage, and that custom proxies are an enterprise feature arranged through sales. Whether these terms apply unchanged to Vercel-billed projects is not stated. Current rates are on [https://browser-use.com/pricing], which was not reviewed.

Rights and licence

The captured page contains no licence statement for the documentation, the browser-use-sdk package, the @browser_use/eve package or the linked template repository. Reuse and redistribution rights are therefore unknown from this evidence. The page notes only that the documentation is built and hosted on Mintlify.

Using the service is governed by terms that were not captured, including any Browser Use and Vercel Marketplace terms. The page also does not discuss whether automating particular websites is allowed by those sites' terms. On data, the page's notes describe what Browser Use keeps for a project: a V4 session holds conversation history, a workspace holds files, and a profile holds browser state, and these IDs are not interchangeable. V4 automatically restores workspace uploads, and staged attachments remain available to session follow-ups. API browser recording is off by default and is turned on with enableRecording for a standalone browser or browserSettings.record for an agent run. A requested recording finalizes only after the browser stops and asynchronous video processing completes. Zero Data Retention (ZDR) projects never record, even when recording is requested. The notes say stopping a browser, deleting a session, archiving a workspace and deleting files have different effects, but they do not explain those effects in detail. The tutorial body adds that the Browser Use dashboard lets you watch runs and replay sessions. How long sessions, workspaces, profiles and recordings are retained, and how data is handled for projects installed through Vercel, are not stated and are unknown.

Freshness

The page was captured on 2026-11-15. It shows no publication or last-updated date of its own, and the tutorial body carries no dates. The introductory notes mention an edge rate-limit increase on September 9, 2026, and describe Box and Bux as retired. These are documentation claims. They do not show when the tutorial was written, in what order the SDK, the eve package and the integration were released, or whether the page is accurate today. Publication date, release chronology and present accuracy are unknown.

Pricing, concurrency tiers, default models, rate limits and SDK behaviour are described as of the capture date and may change. The npm install commands use @latest, so reader results may differ from the page over time. Recheck the live page and the linked pricing page before relying on specific numbers.

Suggested next steps

Before installing, check in Vercel the price, included usage and limits of the plan you select, because the page does not state them. The page links general Browser Use guidance on pricing [https://browser-use.com/pricing] and concurrency [https://docs.browser-use.com/cloud/guides/concurrency.md]. Confirm whether those terms apply to a Vercel Marketplace plan before relying on them. Try it first on a non-production Vercel project with the Free plan and a harmless task.

If you copy the Next.js example, add authentication, input limits and error handling to the route, keep the API key server-side, and use the start-then-poll pattern with client.runs.status and client.runs.events for tasks that may exceed the function limit. Stop browsers you create yourself. Read the page's secretBindings notes and the linked secrets guide before sending credentials to a hosted browser, and review the applicable terms and data handling. Verify any important action an agent takes on external sites.

Evidence for this report

selected-page.txtselected · checked 2026-11-15