Chat with web pages. Summarize text. Run browser tasks with your local AI models.
A browser extension for Chrome, Firefox, Edge, Brave, Arc, and compatible Chromium browsers. Connect to Off Grid AI Desktop Pro. Ask questions in a side panel, use browser automation, and fill saved passwords from your desktop vault. Models run through the desktop app; no model download is needed in the extension.
Install · Features · Privacy · Development · Off Grid AI
Use a local large language model (LLM) to summarize a web page, explain a passage, rewrite text, or translate selected text. Off Grid AI adds these tasks to a browser side panel and connects it to Off Grid AI Desktop.
For local processing, run Desktop and its model on the same computer as your browser. You can also connect to a desktop on your LAN or Tailscale network. Page content goes to that desktop; its selected model determines where inference runs. See Privacy for the data path.
The current extension requires a paired, compatible Off Grid AI Desktop Pro app. Chrome, Edge, Brave, Arc, and compatible Chromium browsers use the Chromium build. Firefox uses a separate build. Browser task capabilities differ between the two builds.
| Task | What you can do | Requirement |
|---|---|---|
| Chat with web pages | Ask questions about readable page text in the side panel. | Site access and an active text model in Desktop. |
| Summarize, rewrite, and translate | Use selected text or ask about the current page. | A text model suited to the task. |
| Ask about screenshots | Attach the visible tab and ask questions about its content. | An active model that accepts images. |
| Run browser tasks | Use Agent mode and let Desktop act in a separate task tab. | A model that supports tools, browser task access, and a compatible Desktop. |
| Continue conversations | Return to each tab's chat, open Desktop chats, and stop or resume supported runs. | The paired Desktop remains available. |
| Use images and speech | Create images, dictate a message, or read a reply aloud. | Matching image, transcription, or speech models in Desktop. |
| Autofill passwords | Find saved logins, fill sign-in fields, and generate passwords for sign-up forms. | An unlocked Desktop vault and access to the page. |
The desktop controls model availability. Features that need an image, speech, or tool-capable model depend on what Desktop reports. Choosing a model in the extension changes Desktop's active model.
The extension acts as a client for the desktop password manager. Vault operations run in Desktop. The extension can receive a login to fill after Desktop checks the request and vault state. See autofill support and limits.
- Chrome, Firefox, Edge, Brave, Arc, or another compatible Chromium browser.
- Off Grid AI Desktop, running with Pro active and support for browser pairing and browser chat protocol v2 or later.
- An active text model in Desktop. Other features need the matching models listed above.
- Chrome, Edge, Brave, Arc: Chrome Web Store
- Firefox: Firefox Add-ons
Open the Off Grid AI toolbar icon, then pair with Desktop as described below.
You need Git and Node.js 22.12 or later.
Note: a build from source currently needs two Off Grid AI packages that are not public yet (
@offgrid/i18nand@offgrid/operator-ui), sonpm cifails outside our workspace. We are working on publishing them. Until then, use the store builds above.
git clone https://github.com/off-grid-ai/browser-extension.git
cd browser-extension
npm ciBuild the Chromium extension:
npm run build:chrome- Open your browser's extensions page (
chrome://extensionsin Chrome). - Enable Developer mode.
- Select Load unpacked, then select
dist/chrome. - Start Off Grid AI Desktop, activate Pro, and load a text model.
- Select the Off Grid AI toolbar icon to open the side panel.
- Select Pair with desktop. Check that both apps show the same six words, then confirm in Desktop.
- Open a web page, allow access when requested, and ask: "Summarize this page in five points."
The default desktop address is http://127.0.0.1:7878/v1. If Desktop cannot be reached, check
that its gateway is running:
curl http://127.0.0.1:7878/v1/modelsA reply confirms that the gateway is reachable. Pairing, Pro, and browser chat support are still required. See release preparation for package and release checks.
Open Settings > General > Connection. Enter the desktop's private IP address or machine name, with an optional port, and select Save address. Grant browser access to that host. Both computers must be connected through your LAN or Tailscale network.
Open Settings > Desktop and pair. Confirm the matching words on that desktop. The desktop must support private network peers. Text settings can be read remotely, but must be changed in the desktop app.
npm run build:firefoxOpen about:debugging#/runtime/this-firefox, select Load Temporary Add-on, then select
dist/firefox/manifest.json. Open the Off Grid AI toolbar icon, then pair with Desktop as
described above. Firefox has no Chrome debugger API, so browser task capabilities differ.
Browser side panel and page tools
|
Extension messaging
|
Background service worker
|
Paired encrypted link
|
Off Grid AI Desktop
|
Models, chats, tools, vault
The extension is a thin client. Desktop owns chat execution, model selection, tools, and vault operations. The background worker handles desktop requests. Content scripts extract page text or fill fields under browser permissions and communicate through extension messaging.
The paired link encrypts requests between the browser and Desktop. Desktop confirms pairing in its own window. See the bridge protocol documentation for details.
Desktop stores conversations. The browser keeps local preferences, pairing state, and a chat cache for display. Closing the panel can detach it from a Desktop run; use the run controls to stop work. If Desktop is unavailable, the extension reports the connection failure.
Where data goes depends on your setup. With Desktop and a local model on this computer, inference runs on this computer. With a LAN or Tailscale desktop, page context travels to that computer. A remote model configured in Desktop can send prompts and context to its model server. The extension itself sends nothing to us or to any third party, and needs no separate account.
The extension sends Desktop page text and screenshots, the page's URL and title, and the
username and password of a login you submit, only for the feature you use. Firefox lists these
at install as website content, browsing activity and authentication information, because AMO
counts data sent to a local app as transmitted. If you turn on Anonymous stats in Desktop (off by
default), Desktop counts a model run the extension asked for as source: extension, with the
model and timing only, never the prompt, page, URL or login. See Desktop's
analytics list.
Browser permissions have specific uses:
- Page access:
activeTabandscriptinglet the extension read or act on a permitted tab. All-sites access is optional for browser tasks and in-field vault features. - Desktop access: required host permissions cover loopback addresses. A custom desktop address needs an optional host permission when you save it.
- Local storage:
storagekeeps preferences, pairing state, and cached chat data. - Browser tasks in Chrome:
debuggerenables clicks, typing, screenshots, frame access, and file uploads in task tabs.tabGroupsidentifies the task's tabs. Chrome shows a debugging bar while attached; Cancel on that bar stops the attachment. - Other controls:
contextMenusadds selection actions,alarmssupports reconnection, and Chrome'ssidePanelpermission opens the chat surface.
The extension does not request browser history, cookies, or downloads permissions. Site
access can be changed in Settings. Review the generated permission list in
scripts/manifest.shared.mjs.
After the app and models are downloaded, chat can run without internet when Desktop and a local model run on the same computer. The page content must already be available. Loading websites, using remote models, and tools that contact online services need connectivity. Access through Tailscale has separate network requirements.
No. Off Grid AI Desktop runs or connects to the model. The extension supplies the browser interface and page tools. It does not use WebGPU to run a model inside the browser.
Local models in Off Grid AI Desktop do not need a cloud AI API key. If you select a remote model or service in Desktop, that service's connection and authentication requirements apply.
The current extension requires pairing with a compatible Desktop Pro app. Source availability under AGPL-3.0-only does not change the running app's Pro requirement.
After the installation steps above:
npm run dev # watch build for Chrome
npm run build # build Chrome and Firefox
npm run typecheck # TypeScript checks
npm test # unit and integration tests
npm run test:coverage # enforce the coverage floor
npm run depcruise # check import boundariesFor browser tests, install Chromium with npx playwright install chromium, then run
npm run test:e2e. These tests use a synthetic desktop gateway and synthetic page data.
npm ci installs the Git hooks in scripts/hooks. The push hook checks types, lint, coverage,
import boundaries, and manifest permissions. See CLAUDE.md.
Stack: TypeScript, React 19, Tailwind v4, Vite, and Manifest V3 with webextension-polyfill.
Both browser manifests come from scripts/build-manifest.mjs.
src/
background/ desktop requests, task tabs, and browser permissions
content/ page text, field controls, and autofill
sidepanel/ chat, models, settings, and vault interface
shared/
bridge/ encrypted bridge and chat protocols
desktop/ desktop link, chat state, and settings
agent/ browser task access and page inspection
autofill/ field detection and fill safety
vault/ vault request and response contracts
messaging/ extension message contracts
ui/ shared components and design tokens
integration-tests/fixtures/
synthetic desktop services used by tests
Browser-independent logic lives in shared/. The background worker owns network access;
ESLint and dependency-cruiser enforce that boundary. Manifest tests check that required host
permissions stay limited to loopback and that broader site access stays optional.
Design tokens are copied from @offgrid/design into src/ui/tokens.css. Update them from
that source. The extension's Tailwind theme uses the same token values as Desktop.
Read CLAUDE.md before a change. It defines the repository's code, test, and review requirements. Use the pull request checklist and include the evidence relevant to your change.
AGPL-3.0-only. Copyright Off Grid AI / Wednesday Solutions, Inc.