# 使用 Homebrew, Nix, scoop 安装 agent-browser

查看 agent-browser 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:agent-browser
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install agent-browser
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#agent-browser
```

  证据: nixpkgs package indexes: pkgs/by-name/ag/agent-browser/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/agent-browser
```

  证据: Scoop official bucket manifest trees: bucket/agent-browser.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:agent-browser
- **软件包管理器:** Homebrew
- **版本:** 0.33.2
- **来源摘要:** Browser automation CLI for AI agents
- **主页:** <https://agent-browser.dev/>
- **仓库:** <https://github.com/vercel-labs/agent-browser>
- **最后更新:** 2026-08-02T06:15:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- agent-browser (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.33.2
## 项目历史与用法

agent-browser is a Vercel Labs browser automation CLI for AI agents, packaged as a fast native Rust binary with command-line, docs-site, and MCP-oriented workflows.

### 项目历史

The GitHub repository was created in January 2026. The README describes agent-browser as a browser automation CLI for AI agents and a fast native Rust CLI. It provides browser operations such as open, snapshot, click, fill, screenshot, PDF, JavaScript evaluation, and agent-readable text extraction.

The project moved quickly through many 0.x releases in 2026. The changelog shows a shift from basic browser control toward agent-oriented ergonomics: config schemas, doctor diagnostics, stable tab IDs, React and Web Vitals introspection, an MCP server, plugin support, read commands, and restore workflows.

### 采用历史

The README documents installation through npm, Homebrew, Cargo, and source builds, with Chrome for Testing as the recommended browser channel. The supplied package metadata records Homebrew, Nix, and Scoop packaging, which matches a cross-platform developer-tool audience.

The docs site exposes GitHub and npm links and presents configuration, sessions, dashboard, network, CDP mode, streaming, recording, React, providers, and engines as first-class documentation sections. That suggests adoption aimed at AI-agent toolchains rather than general-purpose browser scripting alone.

### 使用方式

The quick-start flow is `agent-browser open`, `snapshot`, then ref-based commands such as `click @e2` and `fill @e3`. The README also documents traditional CSS selectors and semantic locators by role, label, text, placeholder, and test id.

Configuration is documented through `~/.agent-browser/config.json` and project-local `./agent-browser.json`, with environment variables and CLI flags taking precedence. The docs also publish a JSON Schema for editor autocomplete and validation.

### 为什么软件包爱好者会关心

agent-browser is interesting as a package because it packages browser automation as a standalone native CLI instead of assuming every agent runtime embeds Playwright or Puppeteer directly. The install story spans npm, Homebrew, Cargo, Scoop, Nix, Chrome for Testing, and platform dependency installation.

For package nerds watching AI tooling, it is a good example of a 2026-era CLI where MCP, plugin protocols, restoreable browser state, and agent-readable text are part of the package surface rather than optional integrations.

### 时间线

- 2026: GitHub repository created.
- 2026: Early 0.x releases published.
- 2026: v0.26.0 added doctor, stable tab IDs, config schema, and the core skill.
- 2026: v0.28.0 added MCP server and plugin system.
- 2026: v0.30.0 added the read command.
- 2026: v0.31.x releases continued rapid iteration.

### Related projects

- Chrome for Testing is the recommended browser channel named by the README.
- MCP is supported by the agent-browser CLI according to the changelog.
- Playwright and Puppeteer are adjacent browser automation tools; the README notes existing installations can be detected but are not required for the daemon.

### 来源

- official GitHub repository metadata
- official changelog and GitHub releases API
- official configuration docs
- official docs site
- source_facts.package-manager
- upstream README


## 安全说明

没有找到 agent-browser 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.agent-browser/config.json, ./agent-browser.json
## 其他软件包管理器记录

- Nix - agent-browser: normalized package name match | nixpkgs package indexes: pkgs/by-name/ag/agent-browser/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/agent-browser: normalized package name match | Scoop official bucket manifest trees: bucket/agent-browser.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/agent-browser.yml](https://github.com/mxcl/pkgdb/blob/main/combined/agent-browser.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
