# moli

> Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

- Type: agent or tool
- Field: Web Automation & Scraping
- Repository: https://github.com/lexmount/moli
- GitHub stars: 24433
- Licence: Apache-2.0
- Language: Rust
- Last push: 2026-11-25
- Page: https://imutechz.in/agents/moli

## What it is
Moli is a production-ready headless browser built in Rust for AI agents. It uses on-demand layout and rendering to combine a complete browser runtime with a lightweight resource footprint. AI agents can use it through CLI, CDP, WebDriver Classic, or WebDriver BiDi to fetch and extract web pages, search the web, and automate browser tasks on Linux, macOS, and Windows.

## Features
- Headless browser optimized for AI agents
- On-demand layout and rendering design
- Multiple interfaces: CLI, CDP, WebDriver Classic, WebDriver BiDi
- Cross-platform support for Linux, macOS, and Windows
- Extract pages as Markdown, semantic tree, screenshots, or PDFs
- Automation server with DOM-first and layout-enabled modes

## Best for
- AI agents fetching and extracting web content
- Web scraping and data extraction
- Browser automation via standard protocols
- Rendering pages for visual output (screenshots, PDFs)

## Pros
- Production-ready with lightweight resource footprint
- High compatibility with standard browser protocols
- Supports both DOM-first and full layout rendering modes
- Cross-platform with simple installation scripts

## Cons
- Requires separate prebuilt binary installation
- AI agent integration needs skills from separate repository

Tags: headless-browser, ai-agents, web-scraping, browser-automation, rust, cdp, webdriver, cross-platform
