@browser_use: Introducing B, a browser agent template! Built on Eve by @vercel. Give any agent a real Browser Use Cloud browser. Watc…
Summary
Introducing B, an open-source browser agent template built on Eve by Vercel that uses Browser Use Cloud to give any AI agent a real web browser. It includes a chat UI and live browser viewing.
View Cached Full Text
Cached at: 06/18/26, 06:05 AM
Introducing B, a browser agent template!
Built on Eve by @vercel. Give any agent a real Browser Use Cloud browser. Watch it browse in real time using browser-harness.
https://t.co/gDjUwPMpz0
browser-use/browser-agent-template
Source: https://github.com/browser-use/browser-agent-template
Browser Agent Template
Template. Fork it, customize it, and deploy your own web-browsing agent.
Open-source agent that browses the real web. A Vercel eve agent with a web chat UI and a Browser Use cloud browser — one codebase, durable sessions, watch it browse live.
Features
Web Chat — Tasks in the Browser
Chat with your agent in the browser. Responses stream in, and every tool call (open browser, navigate, extract) renders inline as it happens.
Cloud Browser — The Real Web
The agent opens a real Browser Use cloud browser to navigate pages, scrape content, fill forms, click, and screenshot — no scraping APIs, the live web.
Watch It Work — Live Browser Panel
Every browsing session returns a liveUrl. The UI embeds it in a side panel, so you watch the agent’s browser in real time, right next to the chat.
Hardened — Key Stays Server-Side
Your BROWSER_USE_API_KEY lives in the app runtime and is never exposed to the agent’s sandbox or the model. Browsing is powered by @browser_use/eve.
Architecture
┌─────────────────────────────────────────────────────────────┐
│ Web chat (Next.js) │
└──────────────────────────────┬──────────────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ eve agent (instructions, skill, tools) │
│ mounted into Next.js via withEve() │
└──────────────────────────────┬──────────────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ @browser_use/eve — provisions a Browser Use cloud browser │
│ (key stays server-side; agent drives it via CDP) │
└──────────────────────────────┬──────────────────────────────┘
▼
Browser Use cloud browser
It’s a single Next.js service: withEve() in next.config.ts mounts the eve agent into the app, so the chat UI and the agent deploy together.
Quick Start
Deploy to Vercel
You’ll be asked for a BROWSER_USE_API_KEY (from browser-use.com) and a model credential (link the Vercel project for the AI Gateway, or set AI_GATEWAY_API_KEY).
Self-hosting
Requirements: Node.js 24+
git clone https://github.com/browser-use/browser-agent-template.git
cd browser-agent-template
npm install
cp .env.example .env.local
npm run dev
Open http://localhost:3000 and ask: “Go to news.ycombinator.com and give me the top 5 posts.”
Required environment variables:
BROWSER_USE_API_KEY=bu_... # from browser-use.com
AI_GATEWAY_API_KEY=... # or link a Vercel project for the AI Gateway
See ENVIRONMENT.md for the full reference.
Customization
See the Customization Guide for how to:
- Rename your agent and rewrite its instructions
- Change the AI model
- Add tools and skills
- Configure the cloud browser (proxy country, profile, timeouts)
- Set up auth for a public deployment
- Deploy your fork
How It Works
For the full technical deep-dive, see Architecture.
- Chat: The web UI streams through eve’s built-in Web Chat channel (
useEveAgent). - Browse: On a web task, the agent loads the
browser-useskill and callsopen_cloud_browser. - Provision:
@browser_use/evespins up a Browser Use cloud browser (key stays server-side) and returns a liveUrl. - Drive: The agent drives the browser with
browser-harness-js(raw, typed CDP) inside eve’s sandbox. - Watch: The UI embeds the liveUrl in a side panel;
stop_cloud_browserends the session.
Development
npm run dev # Start the dev server (Next.js + eve)
npm run typecheck # TypeScript check
npm run build # Production build
See AGENTS.md for notes aimed at AI coding assistants.
Built With
- eve — Durable agent framework
- @browser_use/eve — Browser Use cloud browser for eve
- Browser Use — Cloud browser infrastructure
- Next.js — React framework
- AI SDK — Model access
Contributing
See CONTRIBUTING.md for how to get involved.
License
Similar Articles
@browser_use: The era of reliable web agents at scale is here.
Browser Use Cloud v4 introduces a web agent platform that claims to solve accuracy and cost constraints, making reliable web agents at scale feasible, with $15 free credits offered to try.
@browser_use: Browser Use CLI turns agents into SOTA web agents
Browser Use CLI is a browser harness that enables AI agents to run complete web browsing workflows via scripts, improving efficiency and reducing costs for web tasks.
@browser_use: Browser Use use cases
Saurav Panda shares various use cases for Browser Use, an AI agent capable of interacting with any website, highlighting how users have applied it over the past year.
@svpino: This looks like Computer Use from existing agents, but the way they package these capabilities is really cool: • The br…
Gumloop launches Agent Browsers, a hosted browser environment that lets AI agents operate on sites lacking an MCP or API — with cloud-run browsers, credential vaults with 1Password integration, persistent profiles, live viewing and session replays, stealth/proxied sessions, and reusable workflows.
@browser_use: A guide to hosting agents as reliable APIs
A guide on how to host AI agents as reliable APIs using the browser-use framework.