browser-use

browser-use/browser-harness

Python MIT AI & ML

Browser Harness | Self-healing harness that enables LLMs to complete any task.

15.9k stars
1.5k forks
active
GitHub +227 / week

15.9k

Stars

1.5k

Forks

172

Open issues

30

Contributors

v0.1.4 01 Jul 2026

AI Analysis

Browser Harness is a Python framework that connects large language models directly to real browser instances via Chrome DevTools Protocol, enabling agents to automate complex web tasks with self-healing capabilities. It's purpose-built for LLM-driven browser automation where agents can dynamically write missing helper code during execution, making it ideal for organizations building AI agents that need robust web interaction capabilities. This is not a general-purpose tool—it's specialized in...

AI & ML Developer Tool Discovery value: 6/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 6/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

llm-agent browser-automation cdp ai-infrastructure web-task-automation
Actively maintained Well documented MIT licensed Niche/specialized use case Production ready
Deep Analysis · Based on README and public signals
2w ago

Browser-Use's self-modifying CDP harness lets LLMs operate your real Chrome session with no intermediary layer

Browser Harness is a thin Python layer (~1k lines) that connects LLMs directly to a running Chrome instance via CDP (Chrome DevTools Protocol) with no abstraction stack between agent and browser. Its differentiating idea is 'self-healing': when the agent encounters a missing capability, it writes the helper code itself and persists it as a reusable domain skill. Built for power users and developers who want an AI coding agent (Claude Code, Codex, etc.) to operate their actual browser session rather than a sandboxed environment. Part of the browser-use ecosystem, which already has 100k+ stars on its core repo.

Origin

Created April 2026 as a sibling project to browser-use (the dominant Python browser automation LLM library). Appears to be a response to the architectural constraint of high-abstraction browser agents — offering a minimal, editable alternative for users who hit the ceiling of pre-built agent frameworks.

Growth

Gained 15k stars in ~2 months, almost certainly riding the existing browser-use brand and community (100k+ stars on the parent repo). The 340 stars/week pace suggests sustained but moderating organic growth. The novel 'agent writes missing helpers' angle generated blog post traction and likely drove initial viral sharing among AI-agent practitioners.

In production

Adoption not verified through third-party sources. Browser Use Cloud integration (with free tier and stealth/proxy features) suggests commercial backing and at least some real deployment. The 1,426 forks in two months is a moderately strong signal that developers are actively experimenting rather than just starring. No independent case studies or production deployment reports found in available metadata.

Code analysis
Architecture

Appears to be a minimal CDP WebSocket client with no intermediate abstraction — the README explicitly states 'one websocket to Chrome, nothing between.' Likely four core Python files totaling ~1k lines. An editable agent-workspace directory (agent_helpers.py, domain-skills/) lives outside the protected package and is modified at runtime by the LLM. This design deliberately avoids the layered selector/action abstractions common in tools like Playwright-based agents.

Tests

Not documented in README

Maintenance

Last push June 21 2026, four days before evaluation date — actively maintained. The repo is only 10 weeks old, so commit history is short by definition. The browser-use organization has demonstrated sustained maintenance on its other repos, which is a positive signal for long-term support.

Honest verdict

ADOPT IF: you are a developer or power user who runs AI coding agents (Claude Code, Codex) locally and want them to operate your real browser session with minimal overhead and full editability of the automation layer. AVOID IF: you need stable, reproducible CI/CD browser automation, cross-browser support, or a well-documented testing contract — the self-modifying runtime helpers are unsuitable for deterministic pipelines. MONITOR IF: you are building agent infrastructure and want to track whether the self-healing skill pattern matures into a reusable, community-maintained skill library — the domain-skills contribution model is the most interesting architectural bet here.

Independent dimensions

Mainstream potential

4/10

Technical importance

7/10

Adoption evidence

3/10

Risks
  • Self-modifying runtime helpers (agent_helpers.py) introduce non-determinism: what works in one session may silently differ in another, making debugging difficult in any production or team context.
  • Direct CDP attachment to the user's real browser session creates meaningful security exposure — a compromised or misbehaving agent has access to authenticated sessions, cookies, and local storage with no sandboxing.
  • The project is only 10 weeks old; core architecture may shift significantly before stabilizing, making early adoption potentially costly to maintain.
  • Domain-skill quality depends on community contributions of agent-generated files; if the contributor base remains small, the skill library may not reach critical mass to justify the model over traditional selectors.
  • Heavy dependency on the browser-use brand for growth — if the parent project pivots or the organization's commercial trajectory changes, maintenance and community support for harness could diminish rapidly.
Prediction

Likely to grow into a niche but loyal user base among power-user AI-agent practitioners. The self-healing skill model is the key differentiator to watch — if the domain-skills library scales via community contributions, it could become a genuinely useful resource. Mainstream adoption appears unlikely given the security and determinism tradeoffs.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Python
99.6%
Shell
0.4%

Information

Language
Python
License
MIT
Last updated
14h ago
Created
3mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

browser-use

browser-use/browser-use

Browser Use is a Python library that enables AI agents to control a real web...

104.1k Python AI & ML
walkinglabs

walkinglabs/awesome-harness-engineering

A curated list of articles, playbooks, benchmarks, and open-source projects...

walkinglabs

walkinglabs/learn-harness-engineering

Learn Harness Engineering is a project-based educational course teaching the...

10.2k TypeScript Education
browser-use

browser-use/web-ui

Browser Use Web UI is a Gradio-based interface for running AI agents that...

16.2k Python AI & ML
browserbase

browserbase/stagehand

Stagehand is a browser automation framework that combines natural language AI...

23.4k TypeScript Dev Tools
vs. alternatives
browser-use/browser-use

The parent project — higher abstraction, pre-built agent loop, larger ecosystem. Browser Harness trades abstraction for editability and direct CDP access. The two are complementary rather than directly competing; harness targets power users who find browser-use too opaque.

browserbase/stagehand

Stagehand (23k stars, TypeScript) also connects LLMs to real browsers but wraps Playwright and targets developers building agent pipelines rather than end users running personal automation. Stagehand has a more established SDK model; harness has a lower-abstraction, self-modifying design.

vercel-labs/agent-browser

37k stars, Rust-based — likely targets production-grade cloud browser orchestration at scale. Appears to be a different market segment (hosted infrastructure) versus harness's local-first CDP attachment model.

microsoft/playwright

Playwright is the underlying automation engine for most browser agents. Harness bypasses it entirely, going directly to CDP. This gives more raw control but loses Playwright's cross-browser support, stability guarantees, and extensive documentation.

browser-use/web-ui

Another browser-use sibling (16k stars) providing a visual UI layer for browser-use. Targets less technical users; harness targets the opposite end — developers who want maximum control and are comfortable with agent-workspace file editing.