kenzic
kenzic on Hacker News
I've been working on a browser API that lets websites run specific on-device open-weight models, with the browser handling inference and permissions. I think giving developers the ability to pick the right tool for the job is critical. This shouldn't require every site shipping their own inference runtime, libraries and models.
I'm working on a working implementation as a proof of concept (I'll share soon). Still a lot to figure out. Would love to know what people think.
Posted by
kenzic on Sunday November 15, 2026 @03:35PM
from the webmodels.dev dept.
Haven't used Antigravity (mainly Claude and Codex). Is it worth the switch? I've been pretty annoyed by Claudes usage opaqueness.
Posted by
kenzic on Wednesday November 11, 2026 @09:43PM
from the medium.com dept.
Why don't they create a developer design studio and have passes, icons, and everything else in one app?
How long does tuning take (on an M3 MacBook Pro for example)?
Is it really 1/5 of the price if most people who use it are also losing 1/2 of their credits?
The Web Models API is a proposal for letting web apps use specific open-weight models running on a user’s device through navigator.models. The goal is to make on-device open-weight AI free, private, predictable, and less dependent on cloud providers.
Posted by
kenzic on Tuesday September 29, 2026 @09:48AM
from the medium.com dept.
Interesting idea. I hadn't considered that. Thanks
Great question. Right now there isn’t a definitive answer, but it’s something that needs to be worked out. There would likely be a registry. The question is how to keep model IDs consistent: does each browser manage its own registry, or is there one shared across browsers?
Really cool project. Giving web apps direct access to on-device models is something I’m excited about, and it’s cool to see the different approaches.
I’ve been working on a related proposal called the Web Models API, which explores a browser standard for an API that runs open-weight models on-device. Would love your thoughts: https://www.webmodels.dev
The Browser AI API is a proposal for a new browser feature that makes AI models accessible directly on users' devices through the browser. By offering a simple API available on the window object, this approach would allow websites to leverage AI without sending data to the cloud, preserving privacy, reducing latency, and enabling offline functionality.
This is about empowering developers to integrate advanced AI into web apps—without needing heavy infrastructure—while giving users control over their data and the models they choose to run. Imagine a world where on-device AI enhances web apps in real-time, with no data leaving the device and no reliance on external servers.
The API would let developers:
Query available AI models on a users' device.
Request user permission to access specific models.
Create sessions with the models.
Perform common tasks like text generation, embeddings, and chat.
By running models directly on the user's hardware, we’re opening up new possibilities for AI-driven web apps while keeping things secure, private, and available offline.
Posted by
kenzic on Monday October 28, 2024 @12:29PM
from the github.com dept.