$ show vercel-labs/agent-browser
agent-browser is a native Rust CLI tool designed for browser automation specifically tailored for AI agent workflows. It employs a client-daemon architecture where the Rust daemon manages persistent browser sessions via Chrome DevTools Protocol (CDP) or WebDriver, while the CLI provides command-line interface for controlling browsers. The system includes a Next.js dashboard for manual session monitoring and control, an MCP server for standardized AI agent tool integration, and a skills system for sharing and discovering agent workflows. Key features include snapshot-ref-act workflows for interactive element manipulation, secure credential vaults, provider integrations (Browserbase, Browserless, etc.), AI chat panels via Vercel AI Gateway, and extensive observability capabilities. The project emphasizes security through content boundaries, domain allowlists, and action policies, making it suitable for production AI agent deployments.
The LLM identified 3 files worth highlighting for reuse:
Implements a self-contained skill discovery and management system that loads skill definitions from local directories or remote sources. Provides isolated functionality for listing, validating, and executing skills with minimal dependencies on other internal modules, making it extractable for other CLI tools needing workflow sharing capabilities.
Implements an MCP (Model Context Protocol) server that exposes agent-browser functionality as standardized JSON-RPC tools. Delegates tool calls to the existing CLI in JSON mode, creating a thin adapter layer that could be reused for other CLI tools seeking MCP integration with minimal modification.
Defines a plugin architecture for extending agent-browser functionality via stdio JSON communication. Manages plugin lifecycle, capability negotiation, and isolated execution, demonstrating a reusable pattern for creating extensible CLI tools with clean separation between core and plugin concerns.