AI product Open source

Moli

Moli is an open-source headless browser engine built in Rust for AI agents. It fetches and extracts web pages, searches the web, and automates browser tasks while providing JavaScript, DOM, CSS, networking, storage, and browser automation capabilities.

View repository Visit site Mentioned in 3 videos ↓

Overview

Moli treats the DOM as the source of truth and performs layout and rendering on demand, so DOM-first operations can avoid visual layout and paint. Layout enables geometry queries, coordinate input, screenshots, screencasts, and PDF output. It can be used through its CLI, CDP, WebDriver Classic, and WebDriver BiDi interfaces, including direct connections from Playwright over CDP, and supports Linux, macOS, and Windows.

What Moli is used for

3 uses taken from transcripts — each links to the moment in the video.

  • A headless browser engine designed for agents. It treats the DOM as the source of truth and builds layout only when geometry or a screenshot is requested, while retaining V8, CSS cascade, and hit testing.

  • An open-source headless browser written in Rust for AI agents that fetch, extract, search, and automate web pages. It includes JavaScript, DOM, CSS, networking, storage, and automation interfaces, with on-demand layout and rendering for agent browsing, crawling, retrieval, and evaluation.

  • A Rust browser engine designed for AI agents that runs JavaScript through V8 and exposes a DOM while skipping layout and rendering unless a screenshot is requested. It also ships an MCP server for direct agent control.

Videos mentioning Moli

3 in the library.