nikolas.sapa
March 15, 2026live

Grip (agentbrowser)

What it is

Grip is a Python library that gives AI agents a browser built directly on the Chrome DevTools Protocol (CDP) — no Playwright, no Puppeteer overhead. It converts any page into a semantic summary of interactive elements and visible text, designed specifically for agents.

Install: pip install grip-browser

Live: grip-browser.vercel.app

Why it matters

Token cost is the #1 friction in production AI agents with browser access. Raw HTML: ~12,000 tokens per snapshot. Screenshots: ~3,000 tokens. Grip: ~50 tokens. A full agent loop that costs 200,000 tokens with raw HTML costs ~2,000 tokens with Grip — a 100× reduction in cost and latency.

CDP-native means no Playwright dependency and no spawning a full browser automation framework. Grip talks directly to Chrome.

Current status

Published to PyPI as grip-browser. Open-source, MIT license.

Stack

Python, Chrome DevTools Protocol (CDP).