Lightpanda
Headless browser written in Zig for agents and scraping, with CDP and MCP
Lightpanda is a headless browser written from scratch in Zig, using V8 for JavaScript, libcurl for HTTP and html5ever for parsing, with no graphical rendering. It exposes a CDP server for Puppeteer and Playwright, WebDriver BiDi, an MCP server over stdio or HTTP, and a fetch command that dumps pages as HTML or Markdown. An agent mode records sessions as replayable scripts.
Strengths
- README benchmark: 123MB peak vs 2GB for headless Chrome over 100 pages
- Speaks CDP, WebDriver BiDi and MCP, so Puppeteer and Playwright clients can connect
- Agent mode supports many LLM providers and local Ollama or llama.cpp, or runs with --no-llm
- Agent sessions export to deterministic scripts that replay without a model
Weaknesses
- No graphical rendering; web platform coverage is partial (see WPT results)
- No native Windows binary; needs WSL2, and Linux binaries need glibc
- Usage telemetry is on by default and must be disabled via environment variable
- AGPL-3.0 license and a CLA required for contributions
- no GPU
- Docker
- Needs Puppeteer or Playwright (optional client), LLM provider API key (agent mode only)
- Models: Anthropic, OpenAI, Gemini, Google Vertex AI, Mistral
- port 9222