Browser Harness | Self-healing harness that enables LLMs to complete any task.
Browser Harness | Self-healing harness that enables LLMs to complete any task.
Connect an LLM directly to your real browser through one editable CDP websocket. The agent writes missing helpers as it works, so the harness improves with every task.
Try browser-harness in Browser Use Cloud or paste the setup prompt into your coding agent.
● agent: wants to upload a file
│
● agent-workspace/agent_helpers.py → helper missing
│
● agent writes it agent_helpers.py
│ + custom helper
✓ file uploadedYou will never use the browser again.
Task: "Open my X profile, find my latest 20 video posts, and download them."
Paste 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. On first setup, tick
the checkbox so the agent can connect to your browser:
install.md connects the agent to your browser.SKILL.md teaches it the browser workflow.src/browser_harness/ stays protected while the agent writes reusable helpers in its local workspace.Use your local browser for logged-in, personal work. When you want many browsers in parallel—with live previews, proxies, stealth, CAPTCHA solving, and more—scale with Browser Use Cloud.
browser-harness-mcp exposes the browser control helpers as MCP tools over
stdio, so any MCP client (Claude Code, Devin, Cursor, etc.) can drive the
browser without writing a second CDP layer. See docs/MCP.md for
setup and client configuration.
Bug fixes, documentation improvements, and agent-generated domain skills are welcome. See CONTRIBUTING.md.
The Bitter Lesson of Agent Harnesses · Web Agents That Actually Learn
goto_url uses the 5s IPC response timeout; cloud-browser navigations exceed it and report a false daemon timeout
macOS TCC: uncaught PermissionError on DevToolsActivePort kills the daemon before the Chrome 147+ fallback
A daemon whose browser is alive but wedged is reused forever (`meta=ping` is a process probe, not a browser liveness check)
uv-present-but-not-uv-managed installs still get a raw uv tool upgrade error
Daemon fails to start from npm-installed package because `tsx` is missing
Linux: add Brave Origin profile path to local browser discovery
`mac-approve` only works for stock Google Chrome — Brave/Edge/Canary/Arc users get "setup-required" for a toggle they already enabled
Auto-recording idle rollover ignores actions with dropped frames
ensure_private_dir() skips permission hardening on Windows, leaving the auth token and the exec'd agent-workspace unprotected
Retry captureScreenshot after compositor-idle timeout