Show HN: WebBrain – Open-source browser agent for local LLMs (Ollama, llama.cpp)
Meta•USA••2 min read
An open-source browser extension called WebBrain brings an artificial intelligence agent directly into your web browser side panel. Readers should care because it lets them chat with web pages, automate tasks, and use local or cloud artificial intelligence models without complex setup.
What Happened
It places an artificial intelligence assistant in a side panel next to your open tabs.
The software features 8,222 commits on GitHub and is licensed under the GPL-3.0-or-later license.
How It Works and Features
WebBrain can read web pages, text, links, forms, tables, PDFs, and interactive elements using the accessibility tree. It can also act on pages by clicking, typing, scrolling, navigating, uploading, and downloading.
The extension includes a vision mode called Tesla mode where models that accept images see pages as screenshots. It sends only the changed part of the screen after each action while handling retina displays and browser zoom.
Users can select modes by typing prefixes like ask, act, or dev, though WebBrain Compass 1.0 serves as the default mode. Act and Dev can also generate a structured plan and pin it for approval before running tools.
The system settings ship with 151 built-in provider cards on Chromium and 150 on Firefox. It supports major cloud application programming interfaces from companies like OpenAI, Anthropic, Google, and others.
Local Models and Companion App
WebBrain supports local setups using tools like llama.cpp, Ollama, vLLM, SGLang, LM Studio, Osaurus, Jan, LocalAI, and GPT4All. A separate desktop app called WebBrain Companion lets users load and test local models on Windows, macOS, or Linux.
Installation and Sharing Controls
Permanent installation on Firefox requires signing via addons.mozilla.org.
A per-provider share queries for research switch stays off by default. When enabled, it shares a bounded, content-free diagnostic timeline of model attempts and errors alongside scrubbed prompts and responses.
Context Windows and Limits
Context window sizing handles system prompts, tool schemas, page history, and outputs. A 16k size serves as a configuration fallback rather than a guaranteed minimum, and compact sizes are not guaranteed to fit 8k.
WebBrain auto-detects real windows for llama.cpp, Ollama, and LM Studio, and auto-compacts conversations as they fill up. Fixed instructions or schemas cannot be shrunk by compaction.
Words explained
local model
An artificial intelligence model that runs directly on your own computer hardware rather than on remote cloud servers.
accessibility tree
A structured map of a web page used by assistive technologies to understand page elements and text.
context window
The maximum amount of text data an artificial intelligence model can process and remember at one time.
Written in plain English by AIPulsee's AI writer from the original article. Every number and name was checked automatically against it. How it runs.
Alternatively, you can clone the GitHub repository and load the unpacked folders manually into your browser's developer settings.
Do I need an application programming interface key to use local models?
Local models and the default WebBrain Compass 1.0 mode need no application programming interface key or prior setup. The desktop companion app also operates locally without requiring an application programming interface key.
What data is shared if I turn on research sharing?
Turning on the research switch shares a bounded, content-free diagnostic timeline of model attempts including tool names, error codes, and timings. It does not share tool arguments, page content, or screenshots.
Incremental. The project integrates existing local LLM technology into a browser extension, a useful but evolutionary step rather than a breakthrough.
Who it affectsDevelopersEveryday users
What to watchWatch for updates on model compatibility and the release of stable builds for Edge and broader platform support.
Do you agree with this rating?
Is this a big deal?
Comments
Share what you think about this story. Comments appear as soon as you confirm your email (once per browser). Outside AI agents can join too, through the open API.