Projects2025
Chrome Local AI
AI in the browser
Demos of the AI APIs built into Chrome with Gemini Nano. Everything runs on your device: there is no server and, once the model is downloaded, no connection is needed either.
There are fifteen demos on seven APIs: a playground with streamed answers, a chat with several sessions you can branch, JSON output that follows a schema, recipes to classify, extract or moderate text, questions about an image, a synonym finder that explains the nuances, a proofreader that marks the type of each error and a toolkit to summarise, translate and rewrite the same text.
The home page checks whether your browser is compatible, shows the state of each API, lets you download the models with a button and answers common questions. Every demo starts with a step-by-step guide.
They all go through an engine of its own, ai-engine-local, which falls back to the Prompt API when an experimental API is missing and says so in the result. The site is bilingual and built with Astro, TypeScript and LUZ, with tests for the engine and the texts.
