Moli is a lightweight headless browser developed in Rust and optimized for AI agents, web crawling, and browser automation workflows. It incorporates the V8 JavaScript engine alongside native DOM processing, CSS interpretation, networking, and browser storage capabilities. Its structure-first architecture avoids unnecessary visual rendering during content extraction and programmatic interactions. On-demand layout processing enables screenshots, PDF generation, and coordinate-based interactions when required. The application supports Chrome DevTools Protocol, WebDriver Classic, and WebDriver BiDi through a unified automation server. Developers can extract webpage content as HTML, Markdown, JSON, or compact semantic trees. Configurable browser profiles, proxies, resource policies, and network diagnostics provide additional operational flexibility.
Features
- Lightweight Rust-based headless browser with native DOM processing and V8 JavaScript execution
- Structure-first browser architecture that minimizes unnecessary layout calculations and visual rendering
- Webpage content extraction supporting HTML, Markdown, JSON, and AI-friendly semantic text trees
- Unified browser automation server compatible with CDP, WebDriver Classic, and WebDriver BiDi
- On-demand visual rendering with screenshot capturing, PDF generation, and coordinate-based interactions
- Configurable browser profiles, proxy connections, resource loading policies, and network diagnostic tools