← all repositories

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.

1.1k stars TypeScript AgentsLanguage ModelsRAG · Search
gemma4-browser-extension
Velocity · 7d
+5.3
★ / day
Trend
steady
star 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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.