Spectra
Drives Chrome directly over the Chrome DevTools Protocol to enable fast, token-efficient browser automation for AI agents.
Spectra is a native Rust browser automation server designed to give AI agents, such as Claude Code, precise and efficient control over Chrome. By directly leveraging the Chrome DevTools Protocol (CDP) instead of abstraction layers like Playwright, Spectra offers a lean, high-performance solution. It optimizes information flow by providing condensed, pruned accessibility tree snapshots, enabling AI agents to interpret browser state with token efficiency. This architecture is built for extensibility, allowing projects to define custom automation scenarios without server recompilation, and supports multi-session management for parallel browser interactions, all while maintaining a minimal memory footprint.