Build on Playwright + smart compression layer
Use Playwright (the industry-standard browser control library) underneath, but add an intelligent layer on top that compresses pages before they reach the LLM, caches elements so we don't re-read them, and sanitizes content against prompt injection.
Token savings come from how we describe the page to the LLM — not raw HTML, but a compact semantic summary. Playwright handles the actual browser mechanics.
Fastest to build (4–6 weeks)
Proven browser control
Lowest risk
Shadow DOM partially blind
Can't go fully CDP-native later without rewrite