It’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
avaer 4 hours ago [-]
There's also the Prompt API, currently in Origin Trial, which supports this api surface for sites:
I expect that at some point this will become a native web feature, but not anytime soon, since the model download is many multiples the size of the browser itself. Maybe at some point these APIs could use LLMs built into the OS, like we do for graphics drivers.
veunes 10 minutes ago [-]
That’s exactly where we’re headed. Architecturally it makes zero sense to spin up an LLM in every app's userspace. Since we have dedicated NPUs and GPUs now, we need a unified system-level orchestrator to balance inference queues across different programs - exactly how the OS handles access to the NIC or the audio stack. The browser should just be making an IPC call to the system instead of hauling its own heavy inference engine along for the ride
sheept 43 minutes ago [-]
The Summarizer API is already shipped, and any website can use it to quietly trigger a 2 GB download by simply calling
Summarizer.create()
(requires user activation)
oyebenny 1 hours ago [-]
Interesting!
eric_khun 17 minutes ago [-]
it 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?
emregucerr 3 hours ago [-]
I 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?
winstonp 2 hours ago [-]
Which apps have you seen ask for someone to setup a local LLM? Can't recall having ever seen one
montroser 3 hours ago [-]
Not sure if I actually want this (pretty sure I don't) -- but very cool that such a thing is now possible...
Morpheus_Matrix 4 hours ago [-]
[flagged]
Rendered at 06:52:19 GMT+0000 (Coordinated Universal Time) with Vercel.
https://developer.chrome.com/docs/ai/prompt-api
I just checked the stats:
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 model download is many multiples the size of the browser itself. Maybe at some point these APIs could use LLMs built into the OS, like we do for graphics drivers.
Anyone know if this is somehow possible without going through an extension?
It's usually too much when an app asks someone to setup a local LLM but this I believe could solve that problem?