nico-martin/gemma4-browser-extension
An on-device AI agent Chrome extension using Gemma 4 and Transformers.js that controls browser tabs, interacts with webpages via RAG, and provides semantic search over browsing history.

The extension runs entirely locally in the browser using WebGPU with no external server calls. It uses an LLM agent that executes natural language commands through specialized tools for tab management, website content retrieval, and history search. RAG is implemented by extracting webpage content, generating embeddings with all-MiniLM-L6-v2, and storing vectors in IndexedDB for semantic similarity searches. The agent can highlight page elements and navigate based on natural language queries.
Frequently asked
- What is nico-martin/gemma4-browser-extension?
- An on-device AI agent Chrome extension using Gemma 4 and Transformers.js that controls browser tabs, interacts with webpages via RAG, and provides semantic search over browsing history.
- Is gemma4-browser-extension open source?
- Yes — nico-martin/gemma4-browser-extension is an open-source project tracked on heatdrop.
- What language is gemma4-browser-extension written in?
- nico-martin/gemma4-browser-extension is primarily written in TypeScript.
- How popular is gemma4-browser-extension?
- nico-martin/gemma4-browser-extension has 1.1k stars on GitHub.
- Where can I find gemma4-browser-extension?
- nico-martin/gemma4-browser-extension is on GitHub at https://github.com/nico-martin/gemma4-browser-extension.