← Back to Leaderboard
Bbrowser-use

browser-use/browser-use-pi

A TypeScript browser agent SDK built on Pi Mono, persistent V8 and raw CDP.

Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated 4d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption11/25
Release Cadence11/20
License Clarity20/20
APICLI
Total Stars
★ 489
24h Growth
+1
7d Growth
+3
Forks
26

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

browser-use/browser-use-pi Star History (2026-09-05 - 2026-12-03) ALL-TIME STAR HISTORY (2026-09 – 2026-12) +488 in 89d · avg +5/day 516 258 0 2026-09-05: ★ 12026-09-12: ★ 2782026-09-19: ★ 3252026-09-26: ★ 3502026-10-03: ★ 3572026-10-10: ★ 4282026-10-17: ★ 4302026-10-24: ★ 4382026-10-31: ★ 4622026-11-06: ★ 4732026-11-12: ★ 4772026-11-18: ★ 4812026-11-24: ★ 4852026-11-30: ★ 4882026-12-03: ★ 489 ★ 489 09-05 10-19 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Browser Use Pi is a TypeScript SDK in which Pi Mono handles model-driven decisions and a persistent V8 REPL executes generated JavaScript. The code drives Chrome over raw Chrome DevTools Protocol (CDP), with accessibility-tree snapshots and screenshots feeding back into the agent loop. Helpers and variables created in the REPL can be reused across steps instead of being rebuilt for every action.

The package depends on @earendil-works/pi-agent-core, @earendil-works/pi-ai and @earendil-works/pi-coding-agent, alongside devtools-protocol and typebox. Integration takes place at the SDK boundary or through the declared bu-pi-server executable. Generated JavaScript runs in a worker that can be terminated, but it has filesystem and network access.

Key Capabilities & Differentiators

BrowserUse.create() configures the model, browser and workspace. run() starts a task, and followUp() continues on the same agent. Saved logins and persistent workspaces let related tasks reuse state. The SDK uses Pi's model catalog and transports and supports custom providers. The quickstart pairs OpenRouter with Browser Use Cloud; your own Chrome is also an option. Model capabilities and access vary by provider.

Streaming, hooks and typed results give applications control over progress and outputs. Task execution supports compaction and step, time or cost limits that can retain partial work. For interaction-heavy tasks, ultrafast mode exposes a compact accessibility tree, acts on its node IDs and waits briefly after each action. That is a different interaction strategy, not a quantified performance guarantee. Interaction highlights, recordings and GIF exports support review.

Trade-offs & Limitations

Compared with a deterministic Playwright script, this agent can choose the next action from page state and write helpers as it goes. That is useful when page structure or navigation paths vary. For stable workflows with known inputs and assertions, direct automation is easier to reproduce and debug. Model-guided execution adds provider cost and variable completion behavior; budgets can bound a run, but cannot make it deterministic.

Browser Use Cloud removes the need to operate Chrome locally but introduces a service dependency. Running your own Chrome gives you control over browser placement and operation without eliminating a remote model dependency. A killable worker limits how long code can run; it does not sandbox filesystem or network access. Use an isolated host for untrusted tasks and treat saved login state as sensitive. MIT permits commercial use, independently of provider terms.

Hardware & Deployment Guide

Install @browser_use/pi with npm, pnpm or Bun. The runtime minimums are Node 22.19+ or Bun 1.3.14+; Bun deployments still need Node for the V8 worker. The cloud quickstart uses OPENROUTER_API_KEY and BROWSER_USE_API_KEY and requires no local Chrome. Supplying your own Chrome changes where the browser runs, not where the model runs: a remote model still requires provider connectivity.

Size the application host for SDK processes, V8 workers and concurrent sessions, and account for Chrome separately on its host if you operate it yourself. Isolate untrusted tasks and keep sensitive credentials out of their environment. Anonymous run counters are enabled by default; turn them off with telemetry: false or DO_NOT_TRACK=1. No GitHub release is listed, so pin the version you evaluate and validate upgrades against your own workflows.

Execution: A persistent V8 REPL retains JavaScript helpers across steps and drives Chrome over raw CDP.
Model integration: Uses Pi's model catalog and transports, with custom providers supported.
Session state: Follow-ups, persistent workspaces and saved logins support related tasks without starting from scratch.
Interaction mode: ultrafast exposes a compact accessibility tree and acts on node IDs with brief waits.
Application control: Streaming, hooks, typed results and compaction support integration; step, time and cost limits can preserve partial work.
Observability: Interaction highlights, recordings and GIF exports make browser actions reviewable.
Best For

Teams embedding model-driven Chrome workflows that need follow-ups, saved session state and application-ready results.

Skip If

The workflow needs deterministic replay, has a stable path better served by a script, or you cannot isolate generated code from sensitive files and network resources.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

APICLI
npm install @browser_use/pi
# or: pnpm add @browser_use/pi
# or: bun add @browser_use/pi
export OPENROUTER_API_KEY=...
export BROWSER_USE_API_KEY=...

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
browser-use-pi ★489+3JavaScriptMITA TypeScript browser agent SDK built on Pi Mono, persistent V8 and raw CDP.
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation
jev-ultrafast24.8k+73PythonMITA DOM-indexed browser agent that batches operation and target decisions.
ruflo82.8k+342TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/browser-use/browser-use-pi.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

browser-use/browser-use-pi Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about browser-use-pi

How do I integrate a multi-step session into an application?

Configure a model, browser and workspace with BrowserUse.create(), then call run() for the initial task and followUp() for related work on the same agent. The persistent V8 REPL lets later steps reuse JavaScript helpers and variables. Use typed results for downstream application logic, and call close() in a finally block.

Does the SDK require a GPU, and what should I size for?

The OpenRouter and Browser Use Cloud example runs neither model inference nor Chrome on the application host. Size that host for the SDK, V8 workers and concurrent sessions rather than against a fixed VRAM target. If you supply your own Chrome, include its CPU and RAM needs on whichever host runs it. Bun still requires Node for the V8 worker.

Can we ship it commercially and run it with our own browser?

The MIT license permits commercial use; retain the applicable copyright and license notices when distributing copies. You can run the SDK with your own Chrome, but that does not make model inference local. Review provider terms and data handling separately. For untrusted tasks, use an isolated host because the worker can access the filesystem and network.

When is this a better fit than direct Playwright automation?

Use direct Playwright automation when page paths and assertions are known and repeatability matters. Choose Browser Use Pi when navigation decisions depend on what the browser shows at runtime and reusable JavaScript helpers are valuable. In exchange, you take on provider cost, variable completion behavior and an execution environment that needs isolation.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining browser-use/browser-use-pi? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature browser-use/browser-use-pi on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare