Local-first routing
Prefer Ollama, LM Studio, or WebLLM when available. Ollama
requests use the extension-backed CORS proxy so localhost ports
such as 11434 work from MV3 extension pages.
Chrome extension - v0.2.35
AI Runtime is a Chrome MV3 extension that gives approved websites and Chrome extensions one controlled runtime for Ollama, LM Studio, WebLLM, OpenRouter, and Anthropic.
Purpose
Instead of embedding API keys and provider-specific code in every web app, the extension keeps provider configuration in Chrome and exposes a runtime only to origins or extension IDs that you authorize.
Prefer Ollama, LM Studio, or WebLLM when available. Ollama
requests use the extension-backed CORS proxy so localhost ports
such as 11434 work from MV3 extension pages.
Grant access by hostname or Chrome extension ID. Unauthorized pages can detect that setup is needed, but they cannot use the runtime.
Send prompts with optional text, JSON, CSV, PDF, and image attachments through the same runtime request flow.
Install
The download contains a ready-to-load extension folder. Chrome will assign an extension ID after installation; client apps need that ID unless they use the page detection helper.
chrome://extensions.extension folder.Configuration
Use Chrome's extension details page or the small page launcher on an authorized site. The options page contains AI providers, authorized callers, a test console, and the local audit view.
Set local base URLs for Ollama or LM Studio, enable WebLLM if the browser profile supports WebGPU, and add OpenRouter or Anthropic API keys only if cloud AI is required. The packaged extension allows non-standard localhost ports in its MV3 content security policy.
Add each trusted hostname or Chrome extension ID. Hostname
authorization ignores protocol and port, so localhost
covers common local development ports.
Run a prompt from the options page, verify provider availability, inspect the latest local audit entries, and clear the audit log when stored prompt or response text is no longer needed.
Security and privacy
API keys and settings are stored in Chrome local extension storage. Prompts, attachments, and responses can be sent to cloud AI APIs only when a trusted caller uses an allowed cloud provider that is configured. Per-app provider/model defaults are also kept in the extension's local storage. See the full privacy policy before publishing or sharing the extension.