← Back to Leaderboard
Bkasonye

kasonye/browser-pilot

Native CDP and BiDi browser QA for coding agents that observe, act, and verify

View on GitHub ↗
Engineering Health (Methodology)
B+ · 67/100
Maintenance Activity
● Updated yesterday
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

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

Maintenance35/35
Fork Adoption1/25
Release Cadence11/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 159
24h Growth
+10
7d Growth
+10
Forks
0

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

kasonye/browser-pilot Star History (2026-12-01 - 2026-12-04) DAILY STAR HISTORY (4-DAY D1 TELEMETRY) +158 in 3d · avg +53/day 168 84 0 2026-12-01: ★ 12026-12-02: ★ 852026-12-03: ★ 1492026-12-04: ★ 159 ★ 159 12-01 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Browser-Pilot is a local TypeScript browser control engine rather than a model runtime. Coding agents call either the bp CLI or bp-mcp over stdio. Both route requests to a persistent daemon through a Unix domain socket or Windows named pipe, letting the agent observe a page, act on it, and inspect the result in the same browser session. The MCP surface groups operations into six tools spanning sessions, observation, actions, assertions, telemetry, and reports.

The package declares ws as its only runtime dependency. Chromium is driven through CDP over a debugging pipe or WebSocket; Firefox connects directly to its built-in WebDriver BiDi Remote Agent without geckodriver. Chromium also has an MV3 extension bridge under extension/. Playwright is an export target, not an intermediate browser driver.

Key Capabilities & Differentiators

On Chromium, observation combines CDP DOM snapshots and paint order with the accessibility tree and in-page React/Vue hints. This helps surface custom controls with missing ARIA metadata. Table folding and incremental snapshots reduce what the agent has to reread, while optional [eN] screenshot markings tie element references to the rendered page. Five-point hit testing helps avoid obscured click targets, and guarded batches can re-resolve references after a component remounts.

After an action, the engine looks for observable effects such as DOM, value, focus, or URL changes and outbound requests. It reports NO_EFFECT after a hydration retry if none are detected. Its settling logic excludes long-lived SSE and WebSocket connections, and telemetry can surface HTTP failures, console errors, and business errors inside HTTP 200 JSON. Assertions, screenshot baselines, HTML reports, and Playwright test export provide separate ways to verify and preserve the result.

Trade-offs & Limitations

Browser-Pilot is a better fit for exploratory QA than for replacing a scripted Playwright suite. Its persistent session and compact observations help an agent work through changing UI states without rewriting a script on each turn. Playwright is the stronger default for a versioned CI gate with explicit assertions, fixtures, and controlled state. An exported spec is a useful starting point, not proof that the exploratory run is repeatable.

DOM and framework probes can reveal controls an accessibility-only tool would miss, but framework internals and protocol differences add compatibility risk. Do not assume that Chromium-specific perception features behave identically on Firefox. A detected effect is not business success: pair action receipts with explicit assertions. Live attach also gives the agent access to the privileges of an already authenticated browser, so prefer scoped test accounts and dedicated profiles.

Hardware & Deployment Guide

Run it on a machine with Node.js 20.19.0 or later and a compatible browser. A source install uses npm install, npm run build, and npm link to expose bp and bp-mcp. Configure the latter as a stdio server, or use bp install-skills at the project or global level. The daemon and browser are local; whether page data leaves the machine depends in part on the connected agent.

Dedicated Chromium profiles persist cookies and storage by role, making them preferable to a personal browser profile for routine QA. Existing sessions can be reached through Chrome 144+ native attach with remote debugging enabled, or through the unpacked MV3 extension. Verify Firefox version and feature coverage before standardizing on it. No GitHub release is listed, so pin a tested source revision if reproducibility matters.

Protocol backends: Chromium CDP over pipes or WebSockets, plus direct Firefox WebDriver BiDi without geckodriver.
Agent integration: The bp CLI and six-tool bp-mcp stdio server use a shared local daemon over platform-native IPC.
Page perception: DOM and accessibility data are combined with framework hints, compact structural deltas, and optional [eN] screenshot labels.
Input handling: Five-point hit testing checks for unobstructed click targets; guarded batches can re-resolve stale references after a remount.
Action receipts: NO_EFFECT detection, console and HTTP errors, and JSON business-error inspection expose failures that event dispatch alone misses.
Regression artifacts: Visual baselines, HTML QA reports, and Playwright .spec.ts export carry findings from a live session into review or CI.
Best For

Teams using coding agents to inspect and verify dynamic web apps in persistent browser sessions, then turn confirmed findings into regression tests.

Skip If

You mainly need deterministic CI gates, identical feature behavior across Chromium and Firefox, or isolated test execution that must never share a logged-in browser session.

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

Quick Start & Installation

MCPCLISelf-Hosted
git clone https://github.com/kasonye/browser-pilot.git
cd browser-pilot
npm install
npm run build
npm link

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
browser-pilot ★159+10TypeScriptMITNative CDP and BiDi browser QA for coding agents that observe, act, and verify
chrome-devtools-mcp60.4k+801TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
agent-browser55.4k+1.1kRustApache-2.0Rust CLI and stdio MCP for agents that read and act on live web pages
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis

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/kasonye/browser-pilot.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.

kasonye/browser-pilot Star History on RepoForAI

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

Frequently Asked Questions about browser-pilot

How does an MCP client reach the browser?

Configure your MCP client to launch bp-mcp over stdio. The server exposes six tools and sends browser operations to a local daemon over a Unix domain socket or Windows named pipe. If an IDE cannot resolve the executable through PATH, configure it to invoke Node with the absolute path to dist/mcp.js.

Do I need a GPU, and what determines runtime overhead?

Browser-Pilot runs no local model and specifies no model-related GPU or VRAM requirement. Size the machine for Node, the daemon, and the browser workload. Measure memory and CPU with your actual pages, tab and session counts, and screenshot frequency; headless mode does not remove browser rendering costs.

Can a company self-host it, and what should it review before rollout?

The repository is MIT-licensed, which permits commercial self-hosting; retain the required copyright and license notices when distributing copies or substantial portions. The browser and MCP service can run locally, but agent-side data handling is separate. Before enabling a hosted agent, review what it receives from screenshots, request telemetry, and page observations, and protect exported authentication state.

When should I choose Browser-Pilot over Playwright?

Use Browser-Pilot when the next action depends on what an agent observes in a live session. Use Playwright for a versioned suite with fixtures, controlled test data, and repeatable CI runs. Browser-Pilot can export a Playwright .spec.ts file, but review the generated assertions and state assumptions before making it a gate.

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 kasonye/browser-pilot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature kasonye/browser-pilot 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