11st of 25 in Sandboxes
Lightpanda
Headless browser written in Zig for agents and scraping, with CDP and MCP
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 42.6k
- License
- AGPL-3.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Zig
25,206 on 28 Mar 202642,574 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- Show HN: Lightpanda, an open-source headless browser in Zig (opens in a new tab) (319 points, Jan 2025)
- Lightpanda: Headless browser designed for AI and automation (opens in a new tab) (154 points, Jan 2025)
Overview
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.
Who it is for: Engineers running browser automation, scrapers or web agents at scale
Ranked among open-source alternatives to Browserbase (#1 of 4).
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
What it needs
- 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
What changed
- 1.0.3 ↗ (opens in a new tab)Security fix
“brotli updated to 1.2.1”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- isContentEditable is always false, so Playwright fill() and isEditable() fail on contenteditable elements ↗ (opens in a new tab)1 reactions · closed 28 Oct 2026Fixed by html: report the real isContentEditable value ↗ (opens in a new tab)
- malloc error: pointer being freed was not allocated ↗ (opens in a new tab)1 reactions · closed 10 May 2026Fixed by Fix double-free in fetch when http_client.request fails synchronously ↗ (opens in a new tab)
- Special-case `Window#onerror` ↗ (opens in a new tab)0 reactions · closed 17 Mar 2026Fixed by fix: special-case Window#onerror per WHATWG spec (5-arg signature) ↗ (opens in a new tab)
- Puppeteer page.setCookie() fails because Network.deleteCookies rejects partitionKey ↗ (opens in a new tab)0 reactions · closed 16 Mar 2026Fixed by Ignore partitionKey in cookie operations to fix Puppeteer page.setCookie() ↗ (opens in a new tab)
- --user_agent_suffix not working ↗ (opens in a new tab)0 reactions · closed 8 Jan 2026Fixed by return the app's user agent on Navigator.userAgent ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Head to head
Also in Sandboxes
See all 25| Rank | Project | Score |
|---|---|---|
| 2 | OpenShellPolicy-enforced sandbox runtime for autonomous AI agents | 91 out of 100 |
| 3 | opensandboxSandbox API for running AI agent code, commands and browsers in isolation | 89 out of 100 |
| #4 | ObscuraHeadless browser engine in Rust with V8 and a Chrome DevTools Protocol server | 88 out of 100 |
| #5 | NemoClawReference stack for running AI agents inside OpenShell sandboxes | 85 out of 100 |
| #6 | cubesandboxKVM MicroVM sandbox service for AI agents with an E2B-compatible API | 84 out of 100 |