技能 编程开发 AI 代理浏览器自动化 CLI

AI 代理浏览器自动化 CLI

v20261126
agent-browser
面向 AI 代理的快速浏览器自动化命令行工具,基于 Chrome DevTools 协议实现网页导航、表单填写、点击、截图、数据抓取、Web 应用测试,以及 Slack 等 Electron 桌面应用自动化。
获取技能
372 次下载
概览

agent-browser

Fast browser automation CLI for AI agents. Chrome/Chromium via CDP with
accessibility-tree snapshots and compact @eN element refs.

The agent-browser CLI and Chromium are already installed in this Kortix
sandbox and on $PATH — you do not need to run any install step. The
browser is pre-wired via AGENT_BROWSER_EXECUTABLE_PATH, so agent-browser open
works out of the box. (For reference, outside this sandbox it installs with
npm i -g agent-browser && agent-browser install.)

The desktop browser

On the session desktop, agent-browser runs headed in the one browser the user
shares with you. They watch each page in the Desktop panel, open the same
window from the dock, and can take over to sign in for you. Leave it open when
you finish: agent-browser close closes the user's window and drops its
logins. Browse only in the default session: a named --session starts a
second browser the user does not share. A sandbox without a desktop runs the
browser headless.

The user's own browser

This sandbox browser is a cloud Chrome without the user's logins. To work in the
user's own Chrome (their logins, their real session, sites that block cloud
browsers), load the kortix-chrome skill: run kortix chrome use, then add
--cdp 9333 to every agent-browser command, and run kortix chrome release
when done.

Start here

This file is a discovery stub, not the usage guide. Before running any
agent-browser command, load the actual workflow content from the CLI:

agent-browser skills get core             # start here — workflows, common patterns, troubleshooting
agent-browser skills get core --full      # include full command reference and templates

The CLI serves skill content that always matches the installed version,
so instructions never go stale. The content in this stub cannot change
between releases, which is why it just points at skills get core.

Specialized skills

Load a specialized skill when the task falls outside browser web pages:

agent-browser skills get electron          # Electron desktop apps (VS Code, Slack, Discord, Figma, ...)
agent-browser skills get slack             # Slack workspace automation
agent-browser skills get dogfood           # Exploratory testing / QA / bug hunts
agent-browser skills get vercel-sandbox    # agent-browser inside Vercel Sandbox microVMs
agent-browser skills get agentcore         # AWS Bedrock AgentCore cloud browsers

Run agent-browser skills list to see everything available on the
installed version.

Why agent-browser

  • Fast native Rust CLI, not a Node.js wrapper
  • Works with any AI agent (Cursor, Claude Code, Codex, Continue, Windsurf, etc.)
  • Chrome/Chromium via CDP with no Playwright or Puppeteer dependency
  • Accessibility-tree snapshots with element refs for reliable interaction
  • Sessions, authentication vault, state persistence, video recording
  • Specialized skills for Electron apps, Slack, exploratory testing, cloud providers

Observability Dashboard

The dashboard runs independently of browser sessions on port 4848 and can also be opened through a proxied or forwarded URL such as https://dashboard.agent-browser.localhost. Agents should stay on the dashboard origin: session tabs, status, and stream traffic are proxied internally, so session ports do not need to be exposed.

信息
分类 编程开发
名称 agent-browser
版本 v20261126
大小 4.29KB
更新时间 2026-11-26
语言