独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
V

vercel-labs/agent-browser

Browser automation CLI for AI agents

装之前:没有可直接复制的命令 · 许可证 Apache-2.0 · 链接可访问

第一步:npm install -g agent-browser

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "vercel-labs-agent-browser": {
      "command": "npx",
      "args": ["skills"]
    }
  }
}

解析自我们于 2026-11-05 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "vercel-labs-agent-browser": {
      "command": "npx",
      "args": ["skills"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio vercel-labs-agent-browser -- npx skills
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
50,657 ★ · vercel-labs/agent-browser · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-06 · 最近见到 2026-11-14 · 共见到 8 次 · 被 1 个来源列出
安装
npx skills
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npx skills。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们还没有为它记录标签。
谁维护它、还在更新吗?
仓库 vercel-labs/agent-browser;我们收录于 2026-11-06;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# agent-browser

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Browser automation for AI agents: open pages, read them as an accessibility tree, and act on elements from the shell.
agent-browser is a native Rust CLI that gives an AI agent a browser it can drive one command at a time. snapshot returns the page as compact text with a ref such as @e1 for each element. The agent acts on a ref, reads the page again to check the result, and repeats. The browser stays open between commands, so each step is one short shell call.
## Install
bash
npm install -g agent-browser
agent-browser install # download Chrome for Testing (first time only)
Homebrew: brew install agent-browser, then agent-browser install.
Linux: agent-browser install --with-deps also installs the browser's system libraries.
No install: npx agent-browser open example.com.
Project installs, building from source, upgrade, and doctor are covered in Installation.
## Quick start
bash
agent-browser open example.com
agent-browser snapshot -i # interactive elements, each with a ref
agent-browser click @e1 # act on a ref from that snapshot
agent-browser get url # check the result
agent-browser close
The snapshot for example.com:
link "Learn more" [ref=e1]
Refs describe the page at the time of the snapshot. After navigation or a DOM change, take a new snapshot before using refs again.
CSS selectors, text, XPath, and semantic locators also work, for example agent-browser find role button click --name "Submit". See Selectors.
A click fails, instead of reporting success, when the target is hidden, disabled, outside the viewport, or covered by another element such as a consent banner. Dismiss the covering element, take a new snapshot, and retry.
The full walkthrough is in the quick start.
## How it works
The CLI sends each command to a background daemon that starts on the first command and controls the browser over the Chrome DevTools Protocol. Each --session gets its own daemon and browser. By default, the daemon closes a headless browser and exits after one hour without commands, saving state first when session persistence is configured.
Chrome for Testing is the default browser. You can also attach to a running Chrome with --cdp or --auto-connect (CDP mode), select the Lightpanda or Obscura engine with --engine, drive Mobile Safari in the iOS Simulator, or use a cloud browser provider such as Browserbase, Browserless, Browser Use, Kernel, or AgentCore.
## For AI agents
The CLI ships skills that match its version:
bash
agent-browser skills get core # the core loop, refs, waiting, and common workflows
agent-browser skills get core --ref commands # one reference, such as the full command list
agent-browser skills get core --full # adds the full command reference and templates
agent-browser skills list # specialized skills: electron, slack, dogfood, and more
Install the discovery skill into an agent harness from skills.sh:
bash
npx skills add vercel-labs/agent-browser
The installed skill is a thin stub that tells the agent to load agent-browser skills get core, so its instructions always match the installed CLI. Or add this to your AGENTS.md:
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/vercel-labs-agent-browser/)
来源
github · https://github.com/vercel-labs/agent-browser
Traction
50,657 ★
收录于
今天

同类推荐

← 返回索引