Skip to content

SYSTEM Cited by 2 sources

Chrome DevTools Protocol (CDP)

Chrome DevTools Protocol (CDP) is the wire protocol (spec) that Chromium-based browsers expose to instrument themselves — the same protocol powering Chrome's DevTools UI, remote debugging, and every major headless-browser client (Puppeteer, Playwright, Stagehand, Playwright MCP, …).

Why it matters as a system primitive

CDP is a de-facto standard for headless-browser control. Any application targeting CDP can be pointed at:

  • A local Chrome / Chromium binary (the default self-hosted shape),
  • A remote Chromium-over-CDP endpoint — which is what Cloudflare Browser Rendering exposes through its Puppeteer/Playwright adapters.

This protocol portability is what enables cdp-proxy-for-headless-browser: an agent's existing CDP client is re-pointed at a proxy that forwards frames to a managed browser service, with no changes to the agent.

Seen in

  • sources/2026-01-29-cloudflare-moltworker-self-hosted-ai-agent — canonical wiki instance. Moltbot already drives a local Chromium over CDP; Moltworker stands up a thin CDP proxy inside the Sandbox container that forwards CDP frames through the Moltworker Worker to Browser Rendering's Puppeteer APIs. From Moltbot's perspective it still has a local CDP port.
  • sources/2025-06-20-flyio-phoenixnew-remote-ai-runtime-for-phoenix — colocated-CDP instance. Phoenix.new ships a full Chrome inside every per-session Fly Machine, driven by its coding agent via CDP from inside the same VM. Sibling of the MoltWorker proxied-CDP instance but with browser-in-VM rather than browser-in-platform-endpoint. See agent-driven-headless-browser for the colocated-vs-proxied trade-off.
  • systems/cloudflare-browser-rendering — the CDP endpoint Moltworker proxies to.
  • systems/phoenix-new — colocated-CDP production instance.
  • agent-driven-browser — the agent-tool concept CDP implements.
  • cdp-proxy-for-headless-browser — the pattern enabled by CDP's protocol portability.
  • agent-driven-headless-browser — parent pattern covering both colocated and proxied variants.
Last updated · 766 distilled / 2,225 read