19.3K ·GitHub
What is this?
Browser Harness connects an LLM-based coding agent directly to your real browser through an editable CDP websocket, letting the agent complete real browser tasks (like finding and downloading your latest posts) while writing its own reusable helpers so it keeps improving with each task.
Is this a standalone app, or something I plug into my coding agent?
It is not a separate application - it is a harness made of instruction files (install.md and SKILL.md) that you paste into an existing coding agent like Claude Code or Codex, teaching it how to drive your browser.
How do I get it running?
Paste the setup prompt into Claude Code or Codex; the agent then opens chrome://inspect/#remote-debugging, and on first run you tick the checkbox so it can connect to your real browser.
Which coding agents or clients can drive the browser with this?
It is built to be pasted directly into Claude Code or Codex, and any MCP-compatible client (Claude Code, Devin, Cursor, etc.) can also use it through the included browser-harness-mcp server over stdio.
Can the agent mess with the harness's own core code while it learns?
No - the agent writes new reusable helpers into its own local workspace as it learns tasks, but the core src/browserharness/ directory stays protected from being overwritten.
Is the agent working inside my own logged-in browser sessions?
Yes - the local setup is meant to drive your real, logged-in browser for personal work; running many isolated browsers instead of your own is an opt-in cloud feature, not the default.
What does Browser Use Cloud add on top of the local setup?
It is the hosted scaling option for when you need many browsers running in parallel, with live previews, proxies, stealth mode, and CAPTCHA solving, instead of just driving your single local Chrome.
What is browser-harness-mcp for?
It is an MCP server that exposes the browser-control helpers as MCP tools over stdio, so MCP clients like Claude Code, Devin, or Cursor can drive the browser without building their own CDP integration.
What are similar projects?
browser-use, stagehand, SeleniumBase, scout, nanobrowser, web-ui, playwright_mcp, Endoplexity
Which topics is it in?
cloud-browser, browser-agent, web-automation, browser-use, cdp, vps, chrome, agent-harness, playwright, harness, browser-automation, cursor