LumaBrowser: Electron Browser Offloads DOM Parsing to Local LLMs for AI Agents

What LumaBrowser Does
LumaBrowser is an Electron-based browser built specifically for autonomous AI agents that need to interact with web pages. The core problem it solves: agents were previously forced to process megabytes of raw HTML just to find simple UI elements like login buttons, wasting valuable context window space and computational resources.
How It Works
The browser connects to any OpenAI-compatible endpoint (the creator uses LM Studio) to handle DOM parsing. When an agent needs to interact with a page element, the local model analyzes the DOM structure, identifies the target element (like "the login button"), and returns the appropriate CSS selector. This keeps the main agent models focused on their actual tasks instead of parsing HTML.
Technical Implementation
- Architecture: Electron browser with MCP server over stdio and REST API
- Model Integration: Works with any OpenAI-compatible endpoint
- Model Used: Creator reports using Qwen 2.5 variants, specifically 35B-A3B through LM Studio
- Sharing Mechanism: When an LLM successfully resolves a selector, it shares an anonymized mapping to a public database to improve fallback performance over time
- Experimental Feature: WebGPU mode to run small models directly in the browser (creator notes results are "hit or miss so far")
Creator's Use Case
The developer runs autonomous agents on a 5090/3090 setup doing scheduled tasks. Browser access was previously the weakest link because agents had to process entire HTML documents just to find simple elements. With LumaBrowser, the DOM parsing is offloaded to specialized models, while the main agents stay focused on higher-level task logic.
Availability
The tool is free to use. The creator is actively seeking feedback on what models work best for DOM/UI element identification tasks.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Claude Code's Local Memory Integration with Shodh: Enhancing Context Retention Over Time
Explore Claude Code's integration with Shodh memory for long-term project context retention using a local memory server.

Lore: A tool that extracts structured context from AI coding conversations
Lore is a browser-based tool built with Claude Code that extracts structured context from AI conversations, capturing decisions, TODOs, blockers, and resume checklists. It's a React + TypeScript PWA with a Chrome extension for direct conversation capture and context injection.

Banker Creates Credit Due Diligence Tool with 31 AI Prompts Using Only Claude
A banker with 17 years of MSME credit underwriting experience in India has open-sourced 31 AI prompts that transform a visiting card into a full credit due diligence report, compressing a 3-4 week process to 30 minutes. The tool was built entirely through conversation with Claude, without writing any code.
Balloon That Pops When Claude Finishes: Physical Agent UI with whisper.cpp
A desktop balloon inflates as you speak a task, then floats across your screen while Claude Code runs the agent. Transcription runs locally via whisper.cpp, agents use your existing Claude Code login. Open source.