Skip to content

browser-use/eve

Repository files navigation

Browser Use

Official Browser Use integration for Vercel eve

npm version npm downloads

Give a Vercel eve agent a Browser Use cloud browser, in one install — so it can browse, scrape, click, and screenshot the live web, and you can watch it via a liveUrl.

Compatibility

Requires eve >=0.11 and Node >=20. Ships with browser-use-sdk; eve and zod are peer dependencies.

Installation

Install the package and scaffold the integration into your eve app:

npm i @browser_use/eve
npx browser-use-eve add

Then add your Browser Use API key:

# .env.local
BROWSER_USE_API_KEY=bu_...

That's it — ask your agent to "open example.com and tell me the title."

Custom Usage

add writes four thin files into your eve app. They're one-line re-exports, so the logic stays in the package and npm update ships fixes:

// agent/sandbox/sandbox.ts
import { browserUseSandbox } from "@browser_use/eve/sandbox";
export default browserUseSandbox();

// agent/skills/browser-use.ts
export { default } from "@browser_use/eve/skill";

// agent/tools/open_cloud_browser.ts
export { default } from "@browser_use/eve/tools/open-cloud-browser";

// agent/tools/stop_cloud_browser.ts
export { default } from "@browser_use/eve/tools/stop-cloud-browser";

How it works

Hardened by default — your API key never leaves the app runtime:

  1. open_cloud_browser provisions a cloud browser via browser-use-sdk and resolves its WebSocket URL.
  2. Only that scoped URL is handed to the eve sandbox.
  3. The agent drives the browser with browser-harness-js (raw, typed Chrome DevTools Protocol).
  4. stop_cloud_browser ends the cloud browser to stop billing.

Links

About

Give a Vercel eve agent a Browser Use cloud browser — npm package + scaffold.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors