Moli: Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust (15.9k stars)
What it does
All text below is quoted directly from the project README.
>Moli is a production-ready headless browser for AI agents. Its on-demand layout and rendering design combines a complete browser runtime with a lightweight resource footprint.
>Moli helps your AI agent fetch and extract web pages, search the web, and automate browser tasks. Use it through the CLI, CDP, WebDriver Classic, or WebDriver BiDi. Moli supports Linux, macOS, and Windows.
Why Moli:
- Full-featured: real JavaScript, DOM, CSS, networking, storage, layout, screenshots, and standard automation protocols, all integrated into one headless browser.
- Fast: most automation requests never need visual rendering, so structure-first operations skip layout and paint entirely.
- Resource-efficient: layout and pixels are generated only when needed, so Moli does not have to continuously maintain and update a fully rendered visual state.
Current capabilities:
- Extraction-optimized outputs: the CLI directly produces HTML, Markdown, JSON, semantic text trees, and frame-aware serialization, with selector/script/response waits and network tracing.
- Unified automation binary: CDP, WebDriver Classic, and WebDriver BiDi share the same kernel and scheduler. No separate ChromeDriver, geckodriver, or browser installation is required.
>This cost model is especially well suited to crawling, browser-use agents, retrieval pipelines, evaluation environments, and reinforcement-learning workloads.
Repository
lexmount/moli
Repository stats
|Metric|Value|
|:-|:-|
|Stars|15,899|
|Forks|384|
|Last release|v1.1.15 (2026-10-07)|
|Languages|Rust 88%, Python 5.9%, HTML 2.7%|
|Contributors|14|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude (1 commit)|
|AI co-authored commits|None|
Main contributor
|Field|Value|
|:-|:-|
|Name|Donough Liu|
|GitHub|@ldm0|
|Commits to this repo|1,721 (top contributor)|
|Company / Location|LexMount / Beijing China|
|Followers|184|
|Public repos|233|
|On GitHub since|2017-08-25|
-----------------------------------------------------------------------------
Discover the best GitHub repos without the endless scrolling.
Get top repos organized by category (AI, DevOps, Databases & more), plus key takeaways from developers' most useful comments - all in one free, twice-weekly newsletter.
👉 Get the best repos & community insights - Free
408 points · 28 comments
Mentions
Moli: Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust (15.9k stars) What it does All text below is quoted directly from the project README. >Moli is a production-ready headless browser for AI agents. Its on-demand layout and rendering design combines a complete browser runtime with a lightweight resource footprint. >Moli helps your AI agent fetch and extract web pages, search the web, and automate browser tasks. Use it through the CLI, CDP, WebDriver Classic, or WebDriver BiDi. Moli supports Linux, macOS, and Windows. Why Moli: - Full-featured: real JavaScript, DOM, CSS, networking, storage, layout, screenshots, and standard automation protocols, all integrated into one headless browser. - Fast: most automation requests never need visual rendering, so structure-first operations skip layout and paint entirely. - Resource-efficient: layout and pixels are generated only when needed, so Moli does not have to continuously maintain and update a fully rendered visual state. Current capabilities: - Extraction-optimized outputs: the CLI directly produces HTML, Markdown, JSON, semantic text trees, and frame-aware serialization, with selector/script/response waits and network tracing. - Unified automation binary: CDP, WebDriver Classic, and WebDriver BiDi share the same kernel and scheduler. No separate ChromeDriver, geckodriver, or browser installation is required. >This cost model is especially well suited to crawling, browser-use agents, retrieval pipelines, evaluation environments, and reinforcement-learning workloads. Repository lexmount/moli Repository stats |Metric|Value| |:-|:-| |Stars|15,899| |Forks|384| |Last release|v1.1.15 (2026-10-07)| |Languages|Rust 88%, Python 5.9%, HTML 2.7%| |Contributors|14| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude (1 commit)| |AI co-authored commits|None| Main contributor |Field|Value| |:-|:-| |Name|Donough Liu| |GitHub|@ldm0| |Commits to this repo|1,721 (top contributor)| |Company / Location|LexMount / Beijing China| |Followers|184| |Public repos|233| |On GitHub since|2017-08-25| ----------------------------------------------------------------------------- Discover the best GitHub repos without the endless scrolling. Get top repos organized by category (AI, DevOps, Databases & more), plus key takeaways from developers' most useful comments - all in one free, twice-weekly newsletter. 👉 Get the best repos & community insights - Free