档案库 · 开发与企业工具 · 技术决策 · 2023-2026
Lightpanda押注用Zig从头构建的浏览器,而非Chromium,将驱动AI网页自动化
Lightpanda用Zig从头构建无头浏览器,并围绕它开展托管云业务,押注AI代理会离开Chrome;2025年1月Show HN,34.4k星标
Lightpanda
做的是什么生意
Lightpanda builds an open-source headless browser for AI agents and automation, with a managed cloud, browser-as-a-service business model: a from-scratch Zig engine (no Chromium, WebKit or rendering) exposing a CDP server that Puppeteer and Playwright clients can drive.
起因
Francis and Pierre wrote Lightpanda from scratch in Zig over roughly two years before sharing it, and the Show HN post explains why: at their previous company they scraped millions of web pages per day with Chrome headless, which was powerful but heavy on CPU and memory, with high overhead for scraping at scale, building AI agents, or automating websites. They asked what a browser that only did what headless automation absolutely needs would look like - an HTTP loader, an HTML parser and DOM, a JavaScript runtime and just enough Web APIs - with no graphical rendering at all. The company's stated business model was a managed cloud, browser-as-a-service, initially powered by Chrome and meant to transition to Lightpanda as Web API coverage grew; the Show HN went up on 2025-01-24.
经过
The Show HN drew 319 points and 137 comments on 2025-01-24, with commenters questioning whether the memory advantage would survive as Web API coverage grew toward Chrome's; the team answered that skipping graphical rendering should keep the gap significant. The project then moved fast: by the 2026-09-05 snapshot the repository had 9,213 commits, 34.4k stars and 1.6k forks, plus nightly Homebrew and Arch packages, official Docker images, and a benchmark across 933 real pages claiming about 9x faster execution and roughly 16x less peak memory than headless Chrome (123MB versus 2GB for 100 pages). It also grew an agent mode that drives the browser from plain-English tasks through Anthropic, OpenAI, Gemini, Mistral, Hugging Face or local models, exports reusable PandaScript that runs without an LLM, and ships a native MCP server with HTTP transport and per-session isolation.
还没有结局,它还在跑。
背景
Lightpanda赌的是AI代理和大规模抓取不会在Chrome上运行。在Show HN帖子中,Francis和Pierre表示他们用Zig从头构建这个浏览器已有大约两年,然后才公开,并解释了起源:在他们之前的公司,他们每天用无头Chrome抓取数百万个网页,Chrome功能强大但CPU和内存占用高,对于大规模抓取、构建AI代理或网站自动化来说开销很大。
他们的答案是只做无头自动化绝对必要功能的浏览器——HTTP加载器、HTML解析器和DOM、JavaScript运行时、足够的Web API,不进行图形渲染——于2025年1月24日以“Show HN: Lightpanda, an open-source headless browser in Zig”为标题发布。该帖子获得319分和137条评论,批评者质疑随着Web API覆盖范围接近Chrome,内存优势能否保持。创始人还描述了托管云服务(浏览器即服务)模式,计划随着覆盖范围的增长,从Chrome过渡到Lightpanda。
截至2026年9月5日的快照,仓库拥有9,213次提交、34.4k星标和1.6k分叉,还有每晚构建的Homebrew和Arch包、官方Docker镜像,以及一项涵盖933个真实页面的基准测试,声称比无头Chrome快约9倍,峰值内存少约16倍。项目此后增加了代理模式,可通过多种模型提供商以纯英语任务驱动浏览器,并导出无需LLM即可运行的PandaScript,还提供原生MCP服务器,同时仍自称为beta版。
这件事要成立,得有什么
- 团队亲身经历了成本问题:之前的公司每天用无头Chrome抓取数百万页面,所以这是他们自己要解决的问题,而非凭空猜测的市场
- JavaScript让纯HTTP获取对自动化过时,而Chrome的图形渲染在无头模式下毫无用处——这给产品留下了一个明显的可削减部分
- 从零开始用Zig编写使引擎保持小巧:项目自己的基准测试显示,100页时峰值内存约为123MB,而无头Chrome为2GB
- 与Chrome DevTools协议保持线路兼容意味着Puppeteer和Playwright用户可以无需重写自动化代码即可试用Lightpanda
可借鉴之处
功能过剩且成本高昂的现有产品,如果超出你的工作负载所需,就值得做减法:构建最小引擎,保持现有工具兼容,并把覆盖范围的差距视为真正的风险来定价
后续进展
截至2026年9月5日,Lightpanda仍自称处于beta阶段,稳定性和Web API覆盖范围在改进,仍可能崩溃;仓库每天发布Web Platform测试结果。开源浏览器通过每晚构建的Homebrew和AUR包以及Docker镜像分发,而启动时描述的托管云业务并未在本文所述的公开材料中详细说明——其中也没有出现融资或收入数据。
资料来源
- Lightpanda Browser - headless browser in Zig
- Show HN: Lightpanda, an open-source headless browser in Zig
发现哪里写错了?告诉我们。
轮到你了
你刚读完一家。说说你在做什么,看看谁在赌同一件事。
免费账号 · 3 次免费提问 · 不用绑卡