Favicon of Moli

Moli

An open-source headless browser for AI agents that runs on Linux, macOS and Windows, with Playwright support and rendering only when needed.

Moli is a headless browser you run on your own machine or server for AI agents, web scraping and retrieval pipelines. It can read pages and execute JavaScript without spending resources on visual rendering for every request. Layout and rendering run only when a task needs them, such as capturing a screenshot or clicking at specific coordinates.

Built in Rust, Moli has its own browser engine with V8 for JavaScript and Servo/Stylo for CSS. Its runtime handles dynamic pages, iframes, workers, cookies and browser storage. That makes it useful for extracting content from sites that need JavaScript to produce meaningful results.

Page extraction can return Markdown, HTML, JSON or compact semantic text trees for a model to read. Visual tasks can produce viewport and full-page screenshots, paginated PDFs and CPU-rendered screencasts. Rendering is optional, so text extraction doesn't carry the same visual workload.

For existing automation workflows, Moli supports CDP, WebDriver Classic and WebDriver BiDi. Playwright connects through CDP, and Chrome DevTools can inspect live page structure and styles. The browser and automation server come in one binary, without a separate browser or driver installation.

Moli runs on Linux, macOS and Windows and is open source under Apache 2.0. The local browser works independently of Lexmount Browser, the separate managed cloud runtime built around it. Moli also supports persistent profiles, HTTP caching and proxies.

Similar to Moli