Local Browser AI Agent in a Chrome Extension with Gemma4 & WebGPU

Nico Martin built a fully local AI agent that runs in the browser using Gemma4, WebGPU, and Transformers.js to search history, summarize pages, and manage tabs.

cpaua1 min388

Nico Martin built an AI agent that runs right in the browser

Everything is local, no servers, based on Gemma4 and WebGPU

It uses native tool calling to:

- search browser history
- read and summarize pages
- manage tabs

But the most interesting part isn’t that it works, it’s how the Transformers.js architecture is built inside a Chrome extension to make it work at all. Read about it Hugging Facetransformersjs-chrome-extensionhuggingface.co/blog/transformersjs-chrome-extension.

nico-martin/gemma4-browser-extensiongithub.com/nico-martin/gemma4-browser-extension, Chrome extension
Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.