Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 14, 2026·2 min de lectura

agent-browser — AI Agent Browser Automation CLI (2026)

agent-browser is a Rust CLI for AI agent browser automation; verified 32,919★ with snapshot refs, click/fill commands, and Chrome-for-Testing install.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Cli
Instalación
Bundle
Confianza
Confianza: Established
Entrada
npm install -g agent-browser
Comando CLI universal
npx tokrepo install 1b3e0801-33ca-5386-83de-abc45a55e979
Introducción

agent-browser is a Rust CLI for AI agent browser automation; verified 32,919★ with snapshot refs, click/fill commands, and Chrome-for-Testing install.

Best for: Agent builders who want a fast, scriptable browser CLI without wiring Playwright into every project

Works with: macOS/Linux/Windows, Chrome (or Chrome for Testing), and CI scripts

Setup time: 2-5 minutes

Main

  • The core ergonomic win is snapshot refs (like @e2) so agents can click/fill by stable accessibility-derived handles instead of brittle CSS selectors.
  • Installation stays pragmatic: npm/Homebrew/Cargo paths are documented, and agent-browser install can fetch Chrome from the official Chrome-for-Testing channel when needed.
  • The command surface is intentionally CLI-first (open/click/fill/find/screenshot/pdf/stream), which makes it easy to wrap into scripts, task runners, or agent toolchains.
  • For traditional automation, it still supports CSS selectors and role-based find commands; you can start with refs and drop to selectors when you need precision.

FAQ

  • Do I need Playwright in my project?: Not necessarily. The README positions agent-browser as a standalone CLI; you install it and drive Chrome via the CLI commands and refs.
  • Why run agent-browser install?: It can download Chrome from the official Chrome for Testing channel (first run) and helps standardize automation environments across machines.
  • What should I verify first?: Open a URL, run snapshot, then click @e... and take a screenshot so you validate the ref-based interaction loop end-to-end.
🙏

Fuente y agradecimientos

Source: https://github.com/vercel-labs/agent-browser > License: Apache-2.0 > GitHub stars: 32921 · forks: 2035

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados