Brocogni

•
9
•

Enables AI agents to semantically understand and interact with web pages via Playwright for robust automation.

Brocogni is an open-source MCP server designed to empower AI agents with advanced web interaction capabilities. It acts as a middleware between AI agents and Playwright, transforming raw HTML into a structured, semantic map that agents can reason about and act upon in real-time. This eliminates the need for agents to parse noisy, fragile, and token-wasting raw HTML. It supports two primary modes: an agentic browsing loop where agents directly call tools to navigate, observe, click, and extract, and self-healing script generation that produces robust Playwright code with automatic fallback selectors, significantly reducing fragility compared to traditional methods.

Características Principales

01Self-healing Playwright script generation with robust, semantic selectors and fallback chains
02Transforms raw HTML into structured semantic node maps for AI agent comprehension
03Significantly reduces costs and iteration time compared to raw AX tree methods for script generation
04Agentic browsing loop for real-time semantic interaction (navigate, observe, click, extract, diff)
05100% local operation with zero telemetry, ensuring privacy and data security
067 GitHub stars

Casos de Uso

01Building AI agents that autonomously navigate and interact with complex web applications
02Generating resilient Playwright automation scripts that are robust against UI changes and rebuilds
03Enhancing AI agent reasoning and decision-making by providing semantic context of web pages