AI & Machine Learning · AI Interaction & Interfaces
Lightpanda
A lightweight, headless browser for automation and AI agents
Lightpanda is a headless browser written in Zig for automation, scraping, testing, and AI agents. It targets developers who need JavaScript and DOM support without Chromium's rendering pipeline. The browser is licensed AGPL-3.0, while Lightpanda Cloud offers a hosted service from $19 per month. Costs vary.
Key facts
- License
- AGPL-3.0
- Main language
- Zig, C++, Rust, JavaScript
- Maintainer
- Lightpanda, Selecy SAS
- First released
- 2023
- Latest release
- 1.0.1, October 15, 2026
- GitHub stars
- 36.8k, October 2026
- Hosted option
- Cloud Explorer free, Builder $19/month, Enterprise custom
What Lightpanda is
Lightpanda is a headless browser built from scratch rather than a Chromium or WebKit fork. The project began in 2023 and is stewarded by Lightpanda, the product of Selecy SAS, with a public repository that had about 36.8k stars when checked. Its core audience is automation engineers, scraping teams, testing infrastructure builders, and developers running browser tools for AI agents. The company markets lower memory use and faster startup than Chrome, while the repository makes clear that web-platform coverage remains partial. The codebase uses a contributor license agreement, and the company operates a paid cloud service around the open-source browser. No public funding amount is identified on the project pages, so a funding figure is not included here.
How it works
A typical Lightpanda workflow starts with either a one-shot fetch command or a long-running server. Fetch can return HTML, Markdown, structured metadata, or other text-oriented output, while serve exposes Chrome DevTools Protocol on port 9222. Puppeteer, Playwright, and chromedp can connect to that endpoint, reuse familiar automation patterns, open pages, execute JavaScript, inspect the DOM, submit forms, manage cookies, and intercept network traffic. The same binary can also expose WebDriver BiDi, an MCP server, or an interactive agent mode. Its feature list includes proxy support, custom headers, robots.txt handling, ad blocking, WebSockets, and PDF or placeholder image output. The practical distinction is that it serves machine-readable page state, not a faithful visual browser window.
Architecture and recent releases
Lightpanda is principally written in Zig, with V8 providing JavaScript execution, libcurl handling network transfers, and html5ever supplying HTML parsing through a C interface. The browser keeps an in-memory DOM and Web APIs, uses SQLite for internal storage, and packages the runtime as one native binary. Official images target Linux amd64 and arm64. Developers can install a nightly or pinned binary with the installer, Homebrew, Arch packages, or Docker, then connect over CDP or WebDriver. The 2026 releases 1.0.0 and 1.0.1 mark a move beyond nightly-only distribution. The architecture omits layout, paint, and compositing, so screenshot fidelity and some browser APIs remain outside its design target.
License and pricing
The browser repository is licensed AGPL-3.0, with specified upstream and small auxiliary components carrying their own licenses. AGPL permits commercial use, modification, and redistribution, while network operators must provide corresponding source for covered modifications under the license terms. Lightpanda Cloud supplies the hosted alternative. Explorer costs $0 and includes 10 browser hours monthly with five concurrent sessions. Builder costs $19 monthly, includes 300 hours, and charges $0.08 per additional hour, with 30 concurrent sessions. Enterprise pricing is custom and includes private cloud or on-premise options. The open-source binary has no subscription price, but production users still pay for compute, proxies, model access, and operational support when those are required.
Limitations and how it compares
Lightpanda is a poor fit when an application needs pixel-accurate screenshots, real layout measurements, broad browser API coverage, or a drop-in replacement for every Chrome edge case. Its glibc-linked Linux binaries also require care on Alpine and other musl systems, and Windows users run it through WSL. Chromium remains the safer default for compatibility, Playwright provides a mature automation framework around full browsers, and Browserless offers a proprietary hosted browser service. Lightpanda earns its place where startup time, memory per session, text extraction, and machine-driven browsing matter more than rendering. Teams should pick it for lean headless workloads after checking their target sites against its partial Web API coverage.
Main features
- Headless DOM browser. Loads pages, executes JavaScript, and exposes an in-memory DOM without running a visual rendering pipeline.
- CDP automation. Lets Puppeteer, Playwright, and chromedp connect through the Chrome DevTools Protocol on a local server.
- WebDriver BiDi. Supports WebDriver BiDi alongside CDP for clients and test systems adopting the newer browser automation protocol.
- Agent and MCP modes. The native binary can provide an interactive browsing agent or an MCP server for LLM tool use.
- Text extraction. Fetch can emit HTML, Markdown, structured metadata, PDF output, or other machine-readable page representations within the application’s supported workflow.
- Network controls. Includes proxies, custom headers, interception, cookies, WebSockets, ad blocking, and optional robots.txt compliance within the application’s supported workflow.
Self-hosting Lightpanda
Lightpanda can run as a downloaded Linux or macOS binary, through the one-line installer, Homebrew, the Arch user repository, or the official Docker image. Docker images cover Linux amd64 and arm64 and expose CDP on port 9222. The runtime is a single native process and does not require PostgreSQL, Redis, or object storage. Linux binaries use glibc, so Alpine and other musl images need a compatible base or a source build; Windows users use WSL. The project does not publish a minimum CPU or RAM requirement. Pin releases rather than nightlies for repeatable upgrades, and protect any exposed CDP endpoint because it grants browser control. Back up application-level data outside the browser because the project is not a database-backed service.
Strengths
- The single native binary avoids the large rendering stack used by Chromium.
- CDP compatibility lets existing Puppeteer and Playwright clients reuse familiar automation code.
- Official Docker images support both amd64 and arm64 Linux hosts.
- Cloud pricing includes a free tier and a predictable per-hour Builder overage.
Drawbacks
- The browser does not provide faithful visual layout or production-quality screenshots.
- Web-platform coverage is partial and can break sites that depend on unimplemented APIs.
- Linux binaries require glibc, which complicates Alpine-based deployments.
What teams replace with it
Teams usually evaluate Lightpanda when they want to move off Google Chrome, Browserless, Zyte API.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Lightpanda
- Chromium
- Playwright
- Selenium
- Browserless
- Puppeteer
Frequently asked questions
Is Lightpanda free?
The browser source and self-hosted binaries are available under AGPL-3.0. Lightpanda Cloud has a free Explorer plan with 10 browser hours per month and five concurrent sessions. Paid Builder usage starts at $19 monthly and adds 300 hours, with metered overage. Hosting your own instance still carries infrastructure and operating costs.
Can a company use Lightpanda commercially?
AGPL-3.0 permits commercial use, modification, and redistribution when its conditions are followed. A company offering a modified covered browser as a network service must provide corresponding source under AGPL requirements. Teams should review the repository license and dependencies with counsel, especially when distributing modifications or embedding the browser in a larger product.
How do I self-host Lightpanda?
Install a binary with the official installer or package manager, download a release, or run the official Docker image. Start serve on port 9222 and connect with Puppeteer, Playwright, chromedp, or a WebDriver BiDi client. Use a glibc-based Linux image, such as Debian or Ubuntu, because the published Linux binaries do not run natively on musl-based Alpine.
How does Lightpanda compare with Chromium?
Chromium supplies much broader web compatibility and real rendering, which makes it the safer choice for visual testing and sites that depend on layout APIs. Lightpanda removes the rendering pipeline and targets lower resource use and faster startup. It is better suited to DOM extraction and machine automation when the target site works with its partial Web API implementation.
Does Lightpanda keep browsing data private?
Self-hosted Lightpanda keeps browser traffic within the deployment except for destinations the automation visits and telemetry configured by the project. The documentation says anonymous telemetry can be disabled with an environment setting. Cloud sessions are processed by the hosted service, so organizations handling sensitive pages should evaluate the provider terms or choose the enterprise private-cloud or on-premise option.
Similar projects to compare
- 5ireApache-2.0 with additional commercial restrictions (source-available)5ire is a cross-platform desktop AI assistant and MCP client for provider switching, local document retrieval, and tool calling. It is free to download and has no advertised hosted subscription, but its modified Apache license adds commercial restrictions for larger enterprise use, sold hardware or products, sensitive government or education procurement, and 5ire branding.
- AnythingLLMMITAnythingLLM is an MIT-licensed local-first AI application for document chat, agents, model routing, and multi-user workspaces. It serves individuals through desktop apps, teams through Docker, and organizations through hosted plans starting at $50 per month, while also supporting fully local models and self-managed deployments. Deployment remains operator-controlled.
- Browser OperatorBSD-3-ClauseBrowser Operator is a BSD-3-Clause local desktop application for browser automation on macOS and Windows. It supports local processing, MCP connectors, multi-agent workflows, and IndexedDB-backed memory and files. The repository describes it as privacy-focused and locally running, while no hosted service is documented. Its latest verified release is v0.6.0, dated December 11, 2025.
- Browser UseMITBrowser Use is an MIT-licensed project for building AI agents that operate web browsers with Python and TypeScript. Founded by Gregor Zunic and Magnus Muller, it supports repository-based development and hosted Browser Use Cloud and Agents, with cloud browser pricing starting at $0.02 per browser-hour before model and network charges.
- Cherry StudioAGPL-3.0Cherry Studio is a Windows, macOS, and Linux desktop AI client supporting more than 300 models from over 50 providers. It combines multi-model chat, agents, MCP, Skills, RAG knowledge bases, image generation, translation, voice features, browser automation, and local inference through Ollama or LM Studio.
- CorpusAGPL-3.0Corpus is an AGPL-3.0 document intelligence application from Noetic Systems. It accepts PDFs and web pages, answers questions with source citations, organizes material into workspaces and document sets, and turns matrix research into reports or slides.
Sources
- Lightpanda browser repository
- Lightpanda releases
- Architecture documentation
- Lightpanda pricing
- Docker installation
- AGPL license
Last updated 2026-10-22.