agent-browser 为智能体提供浏览器自动化 CLI
AI 总结
据 Vercel Labs 项目文档,agent-browser 是一款供 AI 智能体使用的原生 Rust 浏览器自动化 CLI。其 snapshot 命令可将页面转换为紧凑文本并为交互元素生成引用,浏览器会在命令之间保持运行,同时还能通过 stdio 提供 MCP 服务。该项目支持全局 npm 安装,并可在首次使用时下载 Chrome for Testing。
深度见解
文档展示的命令行流程让 AI 智能体能够检查页面、操作元素引用并核验结果,同时支持 Shell 与 MCP 集成。
Browser automation CLI for AI agents

agent-browser
Browser automation for AI agents: open pages, read them as an accessibility tree, and act on elements from the shell.