Browser Harness ♞
Connect an LLM directly to your real browser via a thin CDP harness, giving agents complete freedom for browser tasks with self-healing capabilities.
- Source repo
- browser-use/browser-harness
- Stars
- ★ 19k
- Last updated
- today
- License
- MIT
- Primary language
- Python
- FA score
- 51/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Developers automating complex browser workflows like file uploads or form submissions in a real Chrome instance, with the agent writing missing helper code on the fly.
- Not a fit if
- Users unwilling to let an autonomous agent act in their logged-in personal browser
- Those wanting a detailed manual guide rather than a coding-agent-driven setup
- Website
- browser-harness.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-16latest release v0.1.13 (2026-09-04)+18.0 ★/day over 7 days
- Source review
- 51/100 · Major gaps
What does this agent do, and when should you use it?
Browser Harness is a self-healing harness that enables LLMs to complete any task in a real browser. It consists of a thin, editable CDP (Chrome DevTools Protocol) bridge, allowing the agent to interact with the browser through a single websocket. The architecture is minimal (~1k lines across 4 core files) and includes install documentation, usage skill (SKILL.md), a protected core package, and an agent-editable workspace for helpers and domain-specific skills. The agent writes what's missing during execution, improving itself every run. It supports connecting to a running Chrome/Chromium instance or isolated automation via BU_CDP_URL or Browser Use Cloud browsers. The tool is targeted at users needing complete freedom for complex browser tasks, such as file uploads or site-specific workflows.
The repository provides the browser-harness command-line tool that the agent calls to attach to a running Chrome/Chromium CDP endpoint and perform browser actions. The end-to-end flow: the user pastes a setup prompt into Claude Code or Codex, the agent installs/upgrades the harness, registers the skill, connects to the browser, and executes tasks. During execution, the agent writes any missing helper functions or domain skills into the agent-workspace/ directory (e.g., agent_helpers.py and domain-skills/). Core components include install.md, SKILL.md, src/browser_harness/, and the agent workspace. It supports local browser recordings (disabled by default, preserving user preference on upgrades). The agent connects via chrome://inspect/#remote-debugging and requires an allow popup for Chrome 144+.
- Developers automating complex browser workflows like file uploads or form submissions in a real Chrome instance, with the agent writing missing helper code on the fly.
- Operations personnel using the agent to autonomously perform repetitive site-specific tasks like LinkedIn outreach, ordering on Amazon, or filing expenses, with the agent generating domain skills.
- Testers leveraging isolated automation via BU_CDP_URL or Browser Use Cloud for headless deployment or stealth operations.
- Users of Claude Code or Codex who want a quick setup by pasting the provided prompt, minimizing manual configuration.
- Users needing sub-agents or stealth features by combining with Browser Use Cloud free tier (3 concurrent browsers, proxies, captcha solving).
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
BU_CDP_URL- Runtime
- Python 3.12
How do you install or deploy this agent?
Paste the setup prompt into Claude Code or Codex: "Install or upgrade browser-harness to the latest stable version with uv using Python 3.12, register the skill from browser-harness skill, and connect it to my browser. Ask whether I want local browser recordings enabled; default to no and preserve my existing preference on upgrades. Follow https://github.com/browser-use/browser-harness/blob/main/install.md if setup or connection fails." The agent will open chrome://inspect/#remote-debugging, tick the checkbox to allow remote debugging, and click Allow on the per-attach popup. For manual installation, you need Python 3.12 and uv.
How do you use this agent?
After installation, the agent uses the browser-harness command to interact with the browser. For example, it can run Python snippets like browser-harness with print(page_info()) in an interactive session. For development testing, the ./browser-harness launcher runs the current working tree without activating a virtualenv. To use isolated automation, set BU_CDP_URL to a custom CDP endpoint or use Browser Use Cloud browsers. Enable domain skills by setting BH_DOMAIN_SKILLS=1.
What are this agent's strengths and limitations?
- Self-healing design: the agent writes missing helpers and domain skills during execution, reducing manual maintenance.
- Complete browser freedom: direct CDP connection to a real browser, not limited by traditional automation frameworks.
- Lightweight architecture: ~1k lines across 4 core files, simplifying maintenance and review.
- Supports isolated automation: for headless or stealth deployments via BU_CDP_URL or Browser Use Cloud.
- Specific environment requirements: needs Chrome/Chromium with remote debugging enabled, and setup depends on Python 3.12 and uv.
- Relies on agent capabilities: primarily designed for advanced coding agents like Claude Code or Codex; manual use may be complicated.
- Security risks: connecting an uncontrolled agent to your real browser could be risky, requiring trust in the agent's actions.
- Limited documentation: installation and connection steps are primarily driven by the setup prompt, lacking a detailed manual guide; requires following install.md.
How does this agent compare with similar options?
It integrates with Browser Use Cloud browsers, but as a standalone open-source harness, it can connect to local or cloud browsers.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Browser Harness ♞ This agent | 51 · Major gaps | Agent plugin / skillFree + model costs | ★ 19k | today | Python | Codex · Claude Code |
| bdg Browser Debugger | 73 · Some gaps | CLIFree | ★ 186 | 4d ago | TypeScript | Codex · Claude Code |
| PinchTab | 58 · Major gaps | Self-hosted serviceFree | ★ 11k | 1mo ago | Go | — |
| Chrome CDP Skill | 57 · Major gaps | Agent plugin / skillFree | ★ 3.3k | 4mo ago | JavaScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README, skill, and setup prompt say the tool controls a logged-in, real Chrome through CDP and requires enabling remote debugging and clicking Allow during setup, supporting informed access. However, it controls the whole browser instance, and the packet shows no per-site or per-action approval, credential isolation, sensitive-data safeguards, confirmation for external actions, or recovery mechanism, so those controls earn only partial credit. Dependencies are pinned, but the packet provides no vulnerability review or update policy. Repository and plugin metadata name Browser Use and provide project links, but publisher identity is unverified and attribution and maintenance responsibility remain limited.
The materials describe CLI, MCP, and a local daemon, and point to setup troubleshooting. Still, the README, skill, and metadata do not fully align on local attachment, cloud mode, and startup flow; the packet gives little detail on failure messages or dependency availability, so only partial scores are justified.
The skill precisely scopes use to interactive, logged-in, JavaScript-rendered, or bot-protected pages and recommends direct fetching for ordinary public content. The README covers Claude Code, Codex, Cursor, and MCP; documentation also identifies shared-browser serialization, Chrome version, and cloud-browser conditions, giving useful scenario boundaries and environment guidance.
The README, install-document entry point, skill, and MCP configuration provide a recognizable structure with examples, alternatives, and practical limitations; the MIT license text is complete. Plugin metadata and skill frontmatter use browser-harness, while AGENTS.md calls the skill identity browser-use, creating a naming conflict. The packet has no changelog or clear maintenance responsibility; package version and release workflow do not fill those gaps.
The project provides logged-in browser interaction, CDP helpers, and an MCP interface for a clear use case. The README reports benchmark method, cost, and time and states the evaluation limits. Results show lower median model cost and token use, but score confidence intervals include zero and it is somewhat slower than some alternatives, so the demonstrated value and cost benefit are real but limited.
The README ties performance claims to named benchmark tasks, date, configuration, evaluation limits, and a per-task data file, and distinguishes measured results from untested scope. LICENSE, pyproject, plugin metadata, and skills partly corroborate identity, version, installation, and capability claims, but the packet omits the install document, core implementation, and benchmark data, preventing fuller cross-checking.
- The tool connects to the entire logged-in Chrome instance and may access personal pages and sessions. Review Chrome's Allow prompt and take care with downloads, uploads, and other actions that affect external services.
- The benchmark covers 100 tasks using Codex in a specified cloud-browser configuration. The README says it did not measure the default local-Chrome mode or several other clients, and each task had one run.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What changed - Pin the MCP extra to mcp 2.1.1. - Pin release build tooling to build 1.6.0 and setuptools 84.0.0. - Preserve the Chrome permission and macOS accessibility reliability improvements from 0.1.12. Verification - 251 unit tests passed with the MCP extra. - pip-audit found no known vulnerabilities in the resolved environment. - Wheel and source distribution built successfully.View on GitHub ↗ -
Release notes excerpt
What's Changed * fix: discover Brave Origin profiles on macOS by @MagMueller in https://github.com/browser-use/browser-harness/pull/728 * Keep one Chrome approval pending per daemon by @MagMueller in https://github.com/browser-use/browser-harness/pull/737 * Bump browser-harness to 0.1.12 by @MagMueller in https://github.com/browser-use/browser-harness/pull/740 Full Changelog: https://github.com/browser-use/browser-harness/compare/v0.1.11...v0.1.12View on GitHub ↗ -
Release notes excerpt
What's Changed * fix: clean up unused browser recovery launch by @MagMueller in https://github.com/browser-use/browser-harness/pull/657 * docs: retry hidden-tab scrolling after activation by @MagMueller in https://github.com/browser-use/browser-harness/pull/658 * docs: prevent duplicate tabs across harness calls by @gregpr07 in https://github.com/browser-use/browser-harness/pull/665 * Add MCP server wrapper over browser-harness helpers by @cckyros in https://github.com/browser-use/browser-harness/pull/601 …View on GitHub ↗
FAQ
What is the difference between Browser Harness and Browser Use Cloud?
Does it cost money?
Which browsers are supported?
What agent environments can it run in?
Is Browser Harness ♞ open source?
Is Browser Harness ♞ safe to use?
Is Browser Harness ♞ still maintained?
Who makes Browser Harness ♞?
What is Browser Harness ♞'s official website?
Thanks — we use this to improve the page.