Self-host Lightpanda
1.0.3Headless browser engine for automation and AI agents
docker run -d --name lightpanda -p 127.0.0.1:9222:9222 lightpanda/browser:nightly- Stars
- 41 624
- Port
- 9222 (CDP server (WebSocket); WebDriver BiDi and the MCP HTTP endpoint can share the same listener)
lightpanda/browserWhat is Lightpanda?
Lightpanda is a headless browser written from scratch in Zig for people who crawl, scrape or test pages whose content depends on JavaScript, and for AI agents that need to operate a browser. V8 runs the page scripts and the parser builds a real document tree, but nothing is painted, so a run stays small and quick: on its own 933-page benchmark the team measures roughly nine times the speed and about one sixteenth of the peak memory of headless Chrome. Automation clients do not have to be rewritten — Puppeteer, Playwright, Chromedp and Selenium simply point at a WebSocket endpoint speaking CDP (9222 by default) or WebDriver BiDi. The same process can act as an MCP server for AI applications, over stdio or HTTP with an isolated browsing session per client, and an agent subcommand turns plain-English tasks into a session you can export as PandaScript, a deterministic JavaScript replay that needs no model afterwards. From the command line, fetch loads a URL and prints HTML, Markdown, or a text-only PNG/PDF, with wait conditions and CSS-selector scoping. Request control covers adblock filter lists, proxying, blocked CIDRs and URL patterns, robots.txt, custom headers and cookie files. Self-hosting is one binary: a shell installer, Homebrew, an AUR package, nightly builds for Linux and macOS, a Docker image, or a Zig 0.15.2 source build; release binaries expect glibc, so Alpine images and Android are out. There is no web UI and no login, and usage telemetry stays on until you set the opt-out variable. The maintainers also sell Lightpanda Cloud (free tier, a $19 monthly plan, enterprise contracts), which adds the hosted HTTP fetch API and a playground.
Lightpanda alternatives
BrowserOS neoA self-hosted, open-source Chromium browser for your AI agents: one-click Chrome login import, parallel agent tabs, and full session replay, all running locally.CompareBrowserOS neo with Lightpanda
ObscuraOpen-source, self-hosted headless browser engine in Rust: runs V8 JavaScript, speaks CDP for Puppeteer and Playwright, with built-in stealth and tracker blocking.CompareObscura with Lightpanda
auto-browserSelf-hosted, open-source MCP control plane for a shared Playwright Chromium, where an agent browses and a person can grab the live desktop mid-task, keeping saved logins.Compareauto-browser with Lightpanda
TRAWLA self-hosted, open-source scraping engine that bypasses JavaScript challenges and CAPTCHAs using an adaptive tier engine with HTTP-first approach and MCP support.CompareTRAWL with Lightpanda
browserlessSelf-hosted headless browser deployment in Docker. Connects with Puppeteer or Playwright for web scraping, automation, and testing.Comparebrowserless with Lightpanda
steelSelf-hosted browser API giving AI agents control over real Chrome via standard automation tools, handling sessions, proxies, and anti-detection.Comparesteel with Lightpanda
maxunSelf-hosted and open-source web data platform: build scrape, crawl, extract, search and monitor robots in a no-code recorder or with an API, SDK, CLI or MCP.Comparemaxun with Lightpanda
Crawl4AICrawl4AI converts websites into LLM-ready Markdown for RAG and AI agents. Self-host via pip/Docker or use the cloud API. Open-source Apache-2.0.CompareCrawl4AI with Lightpanda
Should you self-host Lightpanda?
Lightpanda scores 84/100 on selfhost.directory (how scoring works) and ranks #1 of 11 in Browser Automation. It has 41 624 GitHub stars, +4 823 in the last 30 days.
It shipped 12 stable releases in the past year. The latest, 1.0.3, came out on 5 November 2026. New versions land roughly every 2 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Zig.
Its closest alternative on selfhost.directory is Obscura (76/100, 30 611 stars). Lightpanda scores higher overall. See Lightpanda vs Obscura side by side.
Features
- Ad Blocking
- AI agent mode
- Chrome DevTools Protocol server
- CLI page dump (HTML, Markdown, PNG, PDF)PNG and PDF output is a text-only rendering, since nothing is painted.
- Headless browser without rendering engine
- JavaScript execution (V8)
- MCP Server
- Network interception
- Prometheus metrics endpoint
- Proxy Support
- Puppeteer, Playwright, Chromedp and Selenium compatible
- Recorded script replay (PandaScript)
- Robots.txt compliance
- WebDriver BiDi
Lightpanda README
More in Browser Automation
maxunSelf-hosted and open-source web data platform: build scrape, crawl, extract, search and monitor robots in a no-code recorder or with an API, SDK, CLI or MCP.
ObscuraOpen-source, self-hosted headless browser engine in Rust: runs V8 JavaScript, speaks CDP for Puppeteer and Playwright, with built-in stealth and tracker blocking.
ohmycaptchaSelf-hosted open-source captcha solver with a YesCaptcha-style createTask API covering reCAPTCHA, hCaptcha, Turnstile and image tasks via Playwright and vision models.
scrape-dojoSelf-hosted web scraping with JSON workflows. 25+ actions, Handlebars/JSONata templates, cron scheduling, encrypted secrets, real-time monitoring, optional JWT/OIDC/MFA.
sealskinSelf-hosted platform that runs desktop apps in isolated containers on your server and streams them to browsers and phones.
skyvernSelf-hosted, open-source AI browser automation: vision LLM agents run tasks and no-code workflows on any site, with Python/TypeScript SDKs and Docker Compose.
steelSelf-hosted browser API giving AI agents control over real Chrome via standard automation tools, handling sessions, proxies, and anti-detection.
Web Rendering Proxy (WRP)Self-hosted, open-source proxy that paints modern sites via headless Chrome into clickable imagemaps or stripped-down HTML for retro and legacy browsers.
web-uiOpen-source, self-hosted Gradio web UI for browser-use AI agents: automate websites with any major LLM, drive your own Chrome profile, and watch the browser over VNC.
Aerokube MoonMoon is a self-hosted commercial browser automation platform for Kubernetes/OpenShift running Selenium, Playwright, Cypress, and Puppeteer tests.
auto-browserSelf-hosted, open-source MCP control plane for a shared Playwright Chromium, where an agent browses and a person can grab the live desktop mid-task, keeping saved logins.
BrowserBeeBrowserBee is an open-source Chrome extension for browser control via natural language. Supports Anthropic, OpenAI, Gemini, and Ollama. Runs in-browser using Playwright.
0 comments