Public Browser

•
23
•

Automates Chrome browser interactions for AI agents with superior token efficiency, utilizing direct Chrome DevTools Protocol (CDP) and stable accessibility-tree references.

Public Browser is a highly token-efficient server for automating Chrome browser interactions, specifically designed for AI agents. It addresses the common challenges of excessive token usage and unreliable element references in existing browser automation solutions. By communicating directly with Chrome via the DevTools Protocol (CDP), it provides an accessibility-tree-based reference map that remains stable across DOM changes and multi-tab sessions. This approach results in significantly smaller page snapshots and tool responses compared to alternatives like Playwright MCP. Public Browser also includes a powerful server-side plan executor, `run_plan`, enabling complex, multi-step workflows for AI agents.

주요 기능

01Multi-Tab Support: Enables AI agents to interact with and manage multiple browser tabs concurrently within a single session.
023 GitHub stars
03Direct CDP & Stable References: Communicates directly with Chrome via the DevTools Protocol (CDP) and uses accessibility-tree-based element references that remain stable across DOM changes and multi-tab sessions.
04Superior Token Efficiency: Generates 5.4x smaller page snapshots and 3.5x smaller P95 tool responses than Playwright MCP, significantly reducing LLM context window usage.
05Server-Side Plan Executor (`run_plan`): Facilitates complex, multi-step automation workflows with variables, conditions, and the ability to suspend/resume plans directly on the server.
06Flexible API Access: Offers both an MCP server for AI agents and a Python Script API for deterministic automation, plus a Node.js library for programmatic control of multiple browser instances.

사용 사례

01Automating complex web workflows and data extraction tasks using deterministic Python scripts.
02Integrating browser automation capabilities into AI coding assistants like Claude Code and Cursor.
03Empowering AI agents to navigate and interact with web pages efficiently and reliably.