# WebBrain: open-source browser agent extension that runs on local LLMs

published: 2026-11-29T14:05:25.445Z
topic: browsers
source: https://github.com/webbrain-one/webbrain
url: https://aiagentnews.io/stories/webbrain-open-source-browser-agent-extension-that-runs-on-local-llms

WebBrain is an open-source AI agent that runs as a Chrome and Firefox extension, with a side panel that can read pages and carry out browser tasks. It can use a local llama.cpp or Ollama server, or a cloud model API, and includes an MCP server for delegating browser tasks from coding agents.

WebBrain runs in a side panel next to open tabs. Users can ask about the current page, or give it a task such as filling a form or navigating a site. It has three modes: Ask is read-only, Act can click, type, navigate and submit forms, and Dev adds page source, console and network views.

The model is chosen by the user. WebBrain can connect to any OpenAI-compatible server, including llama-server, Ollama, vLLM, SGLang, LM Studio and others, as well as cloud APIs such as OpenAI and Anthropic. A default managed model is included that needs no setup.

The project also ships an MCP server, published as @webbrain/mcp-server, that lets Claude Code, Codex, Cursor and similar clients send browser tasks to the extension running in the user's signed-in session. The bridge uses a pairing key, and the README notes that Firefox support for the bridge has not been verified on a real install.

## Why it matters if you build agents

Developers building agents can use a local model endpoint for browser automation without sending page content to a cloud provider, though cloud providers remain available.

The MCP server exposes task-level tools such as run and extract rather than individual browser primitives, and mode 'ask' is read-only, so clients that call it get the extension's permission prompts for actions.

Firefox is noticeably weaker than Chrome according to the README, lacking the Chrome DevTools Protocol, so Chrome is the reliable target for agent work.
