There's also the Prompt API, currently in Origin Trial, which supports this api surface for sites: https://developer.chrome.com/docs/ai/prompt-api I just checked the stats: Model Name: v3Nano Version: 2025.06.30.1229 Backend Type: GPU (highest quality) Folder size: 4,072.13 MiB Different use case but a similar approach. I expect that at some point this will become a native web feature, but not anytime soon, since the…
Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
11–20 of 33 posts
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#12It’s a neat idea, but giving a 2B model full JS execution privileges on a live page is a bit sketchy from a security standpoint. Plus, why tie inference to the browser lifecycle at all? If Chrome crashes or the tab gets discarded, your agent's state is just gone. A local background daemon with a "dumb" extension client seems way more predictable and robust fwiw
And what you call sketchy is what billions of people default to every day when they use web applications.
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#13I would love to see someone build it as some kind of an SDK. App builders could use it as a local LLM plugin when dealing with data involving sensitive information. It's usually too much when an app asks someone to setup a local LLM but this I believe could solve that problem?
If you want to see an example of this, https://querylight.tryformation.com/ is where I put my search library and demo. It does vector search in the browser.
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#14it would be awesome if a local model would be directly embeded to chrome and developer could query them. Anyone know if this is somehow possible without going through an extension?
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#15It’s a neat idea, but giving a 2B model full JS execution privileges on a live page is a bit sketchy from a security standpoint. Plus, why tie inference to the browser lifecycle at all? If Chrome crashes or the tab gets discarded, your agent's state is just gone. A local background daemon with a "dumb" extension client seems way more predictable and robust fwiw
Every webpage I've ever visited has full JS execution privileges and I trust half of them less than an LLM
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#16Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#17It’s a neat idea, but giving a 2B model full JS execution privileges on a live page is a bit sketchy from a security standpoint. Plus, why tie inference to the browser lifecycle at all? If Chrome crashes or the tab gets discarded, your agent's state is just gone. A local background daemon with a "dumb" extension client seems way more predictable and robust fwiw
> but giving a 2B model full JS execution privileges on a live page is a bit sketchy from a security standpoint. Every webpage I've ever visited has full JS execution privileges and I trust half of them less than an LLM
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#18Earlier quoted context omitted.
> but giving a 2B model full JS execution privileges on a live page is a bit sketchy from a security standpoint. Every webpage I've ever visited has full JS execution privileges and I trust half of them less than an LLM
Note that every webpage does not have full JS execution privileges on other parts of the web.
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#19There's also the Prompt API, currently in Origin Trial, which supports this api surface for sites: https://developer.chrome.com/docs/ai/prompt-api I just checked the stats: Model Name: v3Nano Version: 2025.06.30.1229 Backend Type: GPU (highest quality) Folder size: 4,072.13 MiB Different use case but a similar approach. I expect that at some point this will become a native web feature, but not anytime soon, since the…
That's not to say that the in browser isn't valuable for privacy+offline, just that the standard case currently is pretty rough.
https://sendcheckit.com/blog/ai-powered-subject-line-alterna...
Re: Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud
#20I would love to see someone build it as some kind of an SDK. App builders could use it as a local LLM plugin when dealing with data involving sensitive information. It's usually too much when an app asks someone to setup a local LLM but this I believe could solve that problem?