Lightpanda
Active and stableRuns locally ✓No paid APIAn open-source headless browser for automation and agents, with JavaScript, CDP, MCP, Markdown extraction, and replayable PandaScript in one binary.
curl -fsSL https://pkg.lightpanda.io/install.sh | bash -s "1.0.4"Ideal use for this tool
Best for a developer or small team extracting dynamic pages, testing a non-visual flow, or giving an agent browser tools through CDP or MCP. Its value is turning browsing steps into reviewable, replayable commands and scripts. It is not for visual testing or sites that require full Chrome compatibility.
Details and illustrated features
When you need to extract data from a dynamic page or run a browser flow inside a test or an agent, you can end up launching a full Chrome instance, managing tabs and screenshots, and waiting for elements you never need to see. Lightpanda is an open-source headless browser designed for automation and agents. It fetches pages, runs JavaScript with V8, and builds a DOM and Web APIs in memory, while omitting the full graphics pipeline of a human-facing browser. One binary can serve fetch, CDP, MCP, and built-in agent workflows, provided you accept its compatibility and privacy boundaries.
🧭 What is Lightpanda and how does it work?
Lightpanda is a lightpanda-io project written mainly in Zig and licensed AGPL-3.0-only. It ships as a single binary for Linux and macOS, and runs on Windows through WSL2. Given a URL, it fetches HTML and allowed resources, executes JavaScript in V8, and exposes an in-memory DOM, accessibility-oriented tree, and Markdown output to the automation client.
The defining difference from Chrome or Firefox is the absence of a complete visual rendering engine. Lightpanda does not paint a pixel-accurate page and does not target every CSS, SVG, or Web API feature. That makes it useful for structured reading and programmatic interaction, but unsuitable for visual regression or pixel-perfect layout checks.

🎯 When is it useful?
It fits a developer or small team automating permitted research or extraction, a non-visual test flow, or browser tools for an AI agent. You can keep a familiar Playwright or Puppeteer script and change the connection endpoint, use fetch for a short one-shot job, or start MCP from a compatible host.
Its added value is several automation shapes in one binary: a CDP session, HTML or Markdown extraction, MCP tools, and replayable PandaScript. Do not choose it when real screenshots, exact CSS layout, CAPTCHA handling, Chrome extensions, or complete compatibility with a complex site are essential; use a full browser for those jobs.
🔌 1. CDP with Playwright, Puppeteer, and chromedp
lightpanda serve starts a CDP server on 127.0.0.1:9222 by default. Playwright, Puppeteer, and chromedp can connect to its WebSocket endpoint instead of launching Chromium. The current release supports several pages in one context, network and console events, accessibility data, and an expanding set of CDP commands.
Keep the listener local and set connection and message limits for untrusted workloads. Classic WebDriver and BiDi can also be served, but the project describes WebDriver coverage as incomplete. Test every command your Selenium flow needs rather than assuming Chrome parity.

📄 2. One-shot extraction with fetch
For a single page that does not justify a browser script, lightpanda fetch offers a direct route. It can return HTML, Markdown, or a semantic tree, with waits and selectors through CLI options. Markdown is convenient for summarization and indexing; the tree exposes roles, names, values, and interactive controls.
Illustrative example, not executed here:
lightpanda fetch --dump markdown https://example.com
The output does not guarantee that the page behaved exactly as it would in Chrome. A site may depend on an API, layout behavior, or resource that Lightpanda does not yet implement. You may need resource-loading or wait options. Follow the site's terms and rate limits and never use the tool to bypass access controls.

🤖 3. Built-in agent and replayable PandaScript
lightpanda agent starts an interactive session where you describe the job in natural language. It can use a cloud model provider or local Ollama; slash commands also work with --no-llm. After a successful flow, /save flow.js records it as PandaScript, and lightpanda run flow.js replays the script later without calling a model.
This is practical for a small team: use a model to discover and author the flow, then turn routine execution into reviewable code that can be pinned in CI. Never embed login secrets in the script, and expect selectors to change as the site evolves. Review generated PandaScript like any code that processes external content.

🧩 4. MCP browser tools for agents
lightpanda mcp exposes navigation, reading, clicking, filling, and extraction tools to any compatible MCP host. The quickstart documents Claude Desktop, Cursor, Windsurf, and custom clients. A host starts the local process over stdio, so configure the binary's full path; the host may not inherit the PATH you added in a terminal.
Lightpanda Cloud can expose MCP over Streamable HTTP, but that changes the data boundary because URLs and fetched content pass through Lightpanda infrastructure. Locally, pages and cookies stay on your machine except for the target site, your chosen proxy, and default telemetry. Grant MCP access only in a trusted workspace and review what the host can read or send.

🪜 Practical example: extract a result, then pin the flow
Illustrative and not run against a real site: you need a title and price from a testing page that permits automation.
- Install a pinned stable version and check
lightpanda version. - Try
fetch --dump markdownto see whether one-shot extraction is enough. - If interaction is required, run
lightpanda serve --obey-robotsand connect Playwright through CDP. - Open the page, wait for the required state, and read the element semantically rather than by pixel position.
- Add a timeout and retry limit, and return a clear error when a selector changes.
- If the agent discovered the flow, save PandaScript, review it, and replay it without a model.
- Test in a staging context, then run at a frequency that respects terms and
robots.txtwhere applicable.
⚖️ What changes compared with manual work?
| Task | Manual approach | With Lightpanda |
|---|---|---|
| Open a page | Browser and a new tab | fetch or a CDP session |
| Read content | Select and copy | HTML, Markdown, or a semantic tree |
| Repeat clicks and form fills | Repeat the steps each time | Playwright/Puppeteer or PandaScript |
| Connect an agent | Build separate browser tools | Built-in MCP server |
| Review the flow | Human memory or screen recording | Inspectable script and commands |
| Visual verification | Possible in a full browser | Not suitable; no real pixel rendering |

This compares workflow structure, not measured time savings or a speed guarantee. The project publishes performance and memory claims from its own benchmarks; results depend on the site, workload, and commands, so measure your task directly.
🚀 Installation, compatibility, and cost
The verified stable release is 1.0.4, published 13 November 2026 with a verified GitHub signature. Pin it because the installer without a version fetches the latest nightly build:
curl -fsSL https://pkg.lightpanda.io/install.sh | bash -s "1.0.4"
export PATH="$HOME/.local/bin:$PATH"
lightpanda version
The installer requires curl, jq, and sha256sum and places the binary in ~/.local/bin/lightpanda. Review the installer or use an official package or release asset if your environment forbids shell pipelines. Local use is free and open source and needs no paid API. The agent may use a paid model provider key, local Ollama, or limited --no-llm slash commands.
Lightpanda Cloud advertised an Explorer free tier with 10 browser hours per month and five concurrent sessions. Builder was listed at $19 per month for 300 included hours and $0.08 per additional hour at inspection time. Pricing and quotas can change; check the current page before depending on them.
🔐 Privacy, permissions, and security
In local mode, Lightpanda does not send target URLs, page content, or cookies to its service, although the page still reaches the target site and any configured proxy. Telemetry is enabled by default and reports data such as version, platform, protocol, tool outcomes, and durations, but not URLs, page content, tool arguments, or results according to the documentation. Disable it when appropriate:
export LIGHTPANDA_DISABLE_TELEMETRY=true
In cloud mode, URLs and pages pass through Lightpanda infrastructure. Use local mode when the workload must remain inside your environment.

Bind to 127.0.0.1 or a Unix socket with mode 0600. Do not expose 0.0.0.0 or --remote-allow-origins '*' without authentication and network controls. The metrics endpoint is on by default and can be disabled. Keep proxy passwords and bearer tokens out of shell history and tracked files. Use --obey-robots where appropriate, but remember that it does not replace site terms or rate limits.

⚠️ Limits and when to use a full browser
- There is no visible page or pixel-accurate screenshot; tool PNG output is a semantic/text approximation, not a Chrome render.
- DOM and Web API coverage is partial and expands over time. Test the real site.
- WebDriver is new and incomplete, so a Selenium flow may need a different path or Chrome.
- It is not suitable for testing colors, fonts, exact positions, or responsive visual behavior.
- Some sites may detect automation or require CAPTCHA or unsupported APIs.
- Downloads, caches, cookies, and logs are sensitive data that need a retention policy.
- AGPL-3.0-only creates obligations when you modify or provide the software over a network. Review the license with your team, especially for commercial embedding.
- We did not install Lightpanda, run the example on the site server, or perform an independent security audit.
🔎 Why was it selected today?
We compared Lightpanda in browser automation with mise in development-tool versions, environments, and task running. mise is a strong MIT-licensed project; the verified release was v2026.11.5 and GitHub showed 36.1k stars and 1.5k forks. It overlaps more with recently covered Atuin, Task, and workflow tools. Lightpanda fills a less represented category, remains outside DSH, and now has a recent stable release and a clear local path.
We also reviewed GitHub Topics/Trending, publisher repositories, claudeskills.info, and dshmarket.com. We did not choose the DSH Web Bridge because this run prioritizes tools outside DSH, and we did not choose a tool on stars alone. GitHub showed about 41.7k stars and 2.1k forks for Lightpanda at inspection time. These changing popularity counts are not quality or security ratings.
📚 Sources and verification date
Verified on 14 November 2026 from primary sources:
- Official repository — code, license, stars, and forks.
- Release 1.0.4 — version, date, signature, and changes.
- Installation — command, version pinning, WSL2, and telemetry.
- Architecture overview — V8, DOM, no graphics pipeline, and Web API coverage.
- Serve and CLI reference — binding, ports, limits, and WebDriver.
- MCP quickstart and browser tools — tools, hosts, and outputs.
- Local versus cloud and pricing — data boundaries, features, and cost.
- Licensing — AGPL-3.0-only.