Cdpx
Controls Chrome via the DevTools Protocol without external drivers, offering a token-efficient interface for AI agents.
Cdpx is a driverless Chrome DevTools Protocol (CDP) browser engine written entirely in Rust, packaged as a single static binary. It connects directly to Chromium using WebSockets, significantly compressing dynamic web state into interactive element handles (e.g., `@e1`, `@e2`) to keep context under 800 tokens for large language model (LLM) coding agents. This eliminates the need for Node.js or Python runtime dependencies, reducing memory footprint and offering a stealthy, hydration-safe method for browser automation and web scraping.
主な機能
01Semantic Action-State Projection (SASP) for token-efficient state representation
02Driverless stealth to avoid detection by anti-bot measures
030 GitHub stars
04No Node.js or Python driver dependencies
05Hydration-safe actions that wait for DOM and React fiber quiet periods
06Built-in stdio JSON-RPC 2.0 Model Context Protocol (MCP) server
ユースケース
01Integrating browser control with LLM coding agents like Claude Code or Antigravity
02Automating browser interactions for testing or data entry
03Efficient web scraping and data collection for AI agents