browser-harness
AI 应用与 AI AgentAI 模型与开发框架网络与基础设施
ai-agentbrowser-agentbrowser-automationbrowser-usebrowser-use-boxbrowser-use-cloud
19,009
Stars
1,884
Forks
51
Watchers
456
Open Issues
MIT
许可证
Python
语言
2026-04-17
创建时间
2026-11-11
最近更新
项目能做什么
让 Claude Code、Codex 或 Cursor 直接调用你已登录的真实 Chrome,一键提示词配置,MIT 开源。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<img src="https://raw.githubusercontent.com/browser-use/media/main/browser-harness/banner-ink.svg" alt="Browser Harness" width="100%" /> # Browser Harness ♞ Browser Harness lets Claude Code, Codex or Cursor use your real Chrome browser: open pages, click, type, read and download, logged in as you. Paste one prompt into your coding agent to set it up. It talks to Chrome over the DevTools Protocol (CDP), and the agent writes any missing helper as it works, so the harness gets better with each task. Open source, MIT licensed. Try browser-harness in [Browser Use Cloud](https://cloud.browser-use.com/v4?utm_campaign=browser-harness-use-in-cloud&utm_source=github) 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 uploaded ``` **You will never use the browser again.** ## See it work **Task:** "Open my X profile, find my latest 20 video posts, and download them." [](https://browser-use.com/showcase/videos/download-latest-20-x-videos.mp4) ## Setup prompt Paste into Claude Code or Codex (Cursor: use the [MCP config](#cursor) below): ```text 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: <img src="docs/setup-remote-debugging.png" alt="Remote debugging setup" width="520" style="border-radius: 12px;" /> ## How it works - [`install.md`](install.md) connects the agent to your browser. - [`SKILL.md`](SKILL.md) teaches it the browser workflow. - [`src/browser_harness/`](src/browser_harness/) stays protected while the agent writes reusable helpers in its local workspace. ## Compared with other browser tools | | Works with | Browser it drives | What you approve in your own Chrome | |---|---|---|---| | **Browser Harness** | Claude Code, Codex, Cursor, any MCP client via `browser-harness-mcp` | Your running Chrome, logged in as you | Whole browser: on Chrome 144+, tick remote debugging in `chrome://inspect`, then click Allow | | **Playwright MCP** | Any MCP client (Claude Code, Codex, Cursor, Copilot and more) | Its own browser profile by default. Your Chrome with `--extension` (Playwright Extension) or `--cdp-endpoint` | Chosen tabs (one tab group per client) via the extension, approval skippable with a token; or whole browser via `--cdp-endpoint` | | **Playwright CLI*阅读完整原文
商业机会分析 AI 生成
云端持久化多租户浏览器沙箱(Remote Browser Pods)
| 产品构想 | 针对不想让本地 Chrome 被 Agent 频繁抢占或在 VPS 上无人值守运行的需求,提供云端持久化已登录浏览器的托管服务,支持一键生成 MCP 端点接入 Cursor/Claude Code。 |
| 核心功能 | 隔离云端 Chromium 容器、持久化 Profile/Cookie 存储、WebRTC 实时预览与接管、一键生成 MCP/CDP 代理配置。 |
| 目标用户 | 需要 24/7 后台运行自动化任务的开发者、远程办公团队、海外 SaaS 运营人员。 |
| 难度/周期 | 中等 · 3-5 周 · 成本:每月几百元(轻量云服务器/VPS 运行无头/虚拟桌面浏览器) |
| 收费模式 | 按实例月度订阅(如 $15-30/月/实例)或按活跃时长阶梯计费。 |
| 竞争风险 | 多租户会话隔离安全隐患;云端 IP 易触发 Cloudflare 等反爬风控导致需要额外住宅代理成本。 |
| 依据 | 数据支持的判断 |
本地企业级 Agent 浏览器安全网关(Audit & Guardrail Proxy)
| 产品构想 | 允许 Agent 操作真实浏览器的同时,提供细粒度的权限控制和数据脱敏,防止 AI 助手误操作个人隐私网站(如网银、私人邮箱)或泄露高敏感 Cookie。 |
| 核心功能 | 域名白名单/黑名单拦截、敏感表单与 Token 自动脱敏、危险写操作(如点击删除/支付)弹窗确认机制、操作审计录像与日志。 |
| 目标用户 | 关注数据安全的企业研发团队、涉及敏感资产操作的独立开发者与 IT 管理员。 |
| 难度/周期 | 中等偏低 · 2-3 周 · 成本:几乎为零(纯客户端中间层软件) |
| 收费模式 | 分级许可证销售(个人 Pro 版买断/年付,团队版按席位月付)。 |
| 竞争风险 | 开源社区可能快速复制同类轻量中间件规则。 |
| 依据 | AI推测 |
基于真实会话的 Agentic E2E 测试与 Bug 复现工作流工具
| 产品构想 | 结合 Cursor/Claude Code 与真实已登录环境,让 AI 自动在真实前端页面复现 Bug 并一键生成包含完整上下文的 Playwright/Cypress 自动化测试用例。 |
| 核心功能 | 基于 CDP 自动抓取报错堆栈与网络请求、录制操作并转化为规范测试脚本、与本地 IDE 测试框架直接联动联动修复。 |
| 目标用户 | 前端开发者、QA 工程师、产品经理。 |
| 难度/周期 | 中等 · 4 周 · 成本:极低(主要为开发测试与示例应用部署成本) |
| 收费模式 | GitHub App / Cursor 插件形态,采用 Freemium 订阅制(按生成测试用例数或月租收费)。 |
| 竞争风险 | 依赖具体 coding agent 的生态演进(如 Claude Code/Cursor 的内置能力迭代)。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| NousResearch/hermes-agent | 中文介绍暂未生成 The agent that grows with you |
262,361 | Python |
| firecrawl/firecrawl | 中文介绍暂未生成 Supercharge your AI agents with data from the web and beyond |
200,424 | TypeScript |
| DietrichGebert/ponytail | 中文介绍暂未生成 Makes your AI agent think like the laziest senior dev in the |
188,246 | JavaScript |
| msitarzewski/agency-agents | 中文介绍暂未生成 A complete AI agency at your fingertips - From frontend wiza |
167,620 | Shell |
| langgenius/dify | 中文介绍暂未生成 Build Agentic workflows, RAG pipelines, with rich AI model a |
160,864 | Python |
| langflow-ai/langflow | 中文介绍暂未生成 Langflow is a powerful tool for building and deploying AI-po |
156,509 | Python |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2026-04-17,近 30 天仍在推送,发布过 14 个 Release |
| 社区活跃 | Star 19,009 / Fork 1,884 / Issue 456(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/browser-use/browser-harness.git cd browser-harness # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。