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
- 1d ago v0.1.13.1
- FARS reviewed
- Nov 07, 2026 +3 new
- 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-12-01latest release v0.1.13.1 (2026-11-30)+15.6 ★/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.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
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 | 1d ago | Python | Codex · Claude Code |
| bdg Browser Debugger | 73 · Some gaps | CLIFree | ★ 187 | 6d ago | TypeScript | Codex · Claude Code |
| PinchTab | 58 · Major gaps | Self-hosted serviceFree | ★ 11k | 2mo ago | Go | — |
| Chrome CDP Skill | 57 · Major gaps | Agent plugin / skillFree | ★ 3.3k | 5mo 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
Security patch of 0.1.13 for dependents that pin it exactly. - pillow==13.0.0 (was 12.3.0, which has open security advisories) - mcp==2.2.0 in the mcp extra (was 2.1.1) - Built with setuptools==84.1.0 No code changes. The latest release stays 0.1.15.View on GitHub ↗ -
Release notes excerpt
Telemetry The usage event sent on each CLI run (cli_event) no longer carries: - your script - its output (stdout) - helper arguments - error text, from exceptions, exit messages or stderr What it still carries: - the lengths of the script and its output - the names of the harness's own helpers, their timings and whether each failed; helpers from your agent_helpers.py are sent as custom - the command, duration, exit code and, on an error, the built-in error class (such as ValueError) - the kind of browser and, if you set a CDP URL, its hostname …View on GitHub ↗ -
Release notes excerpt
Captchas - solve_captcha(): on a Browser Use Cloud browser, waits for the built-in captcha solver on the current tab and returns {solved, detail, seconds}: solved, still solving (call again), the solver failed, no captcha solve started, or solver unavailable on a local browser (never raises). After a solve it names the page that was solved, so the agent re-checks for a second challenge. …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?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.