Gemini Nano, WebMCP and the Decisions API: The AI Google Is Building Into Your Chrome
Chrome is becoming more than just a browser. Over the past two years, Google has added models that read your pages passage by passage, an LLM with its own APIs, a contract so agents can use websites and, now, models that make decisions. All of it runs on each user's computer.
Why in the browser and not on a server? Because that way the AI is free for whoever builds the site (they don't pay per query), it responds instantly, it works offline and the user's data "doesn't leave" their device. I put that in quotes because, as we'll see, one of the pieces does send usage data to Google. The other reason: AI agents are already browsing the web, and someone has to make things easy for them.
I've been testing each piece with my own projects. This article goes through them in the order they arrived: what each one is for and what I've built with it. I put the last one, the Decisions API, to the test with its library version, MediaPipe Decision Maker, and with cloud and local decision models: the results and the method are in a separate article.
1. Embeddings: Chrome already reads your pages passage by passage
Since August 2024, Chrome has been able to search your history by meaning, not just by exact words. Search for "that chickpea recipe" and it finds the page even if the page doesn't use those words.
To do this, it splits every page you visit into passages of up to 200 words. It turns each one into a vector, a list of numbers that sums up its meaning, using a model that gets downloaded to your device. Then it compares your search with those vectors, without sending anything to Google.
What it's for: searching by meaning without giving up privacy. Google has also proposed opening up that embedding generator to any website (the Semantic Embedder API), so a store or a blog can have semantic search without a server. For now it's an early draft.
With Passage Lens I recreated that process in an extension. You give it a query and it shows you which passages of your page Chrome would retrieve and which intents none of them cover. It's a way to see your page the way a machine chunks it, similar to how AI search systems read it.
Passage Lens on natzir.com with the query "consultor seo tecnico" (Spanish for "technical SEO consultant"): variants of the query, how similar each one is to the page, and the intent that no passage covers.
2. Gemini Nano: Chrome now ships with an LLM
The second step was putting Gemini Nano, a small language model, inside Chrome itself (it downloads once, about 4 GB), with APIs to use it from any website:
Translation, language detection and summarization: stable since Chrome 138.
Prompt API, to ask Nano for whatever you want: stable on the web since Chrome 148.
Writing, rewriting and proofreading text (Writer, Rewriter and Proofreader): still in testing.
What it's for: giving any website AI without paying per query, without API keys and without sending the user's text to any server. For example, a form that proofreads as you type, a summary of reviews or a help chat.
I used it on my Schema.org usage data page: a Gemini Nano chat where you can ask questions about the data. Since I don't trust such a small model not to make up numbers, Nano only chooses what to do. The code calculates the figures, and every answer is checked against them before it's shown.
3. WebMCP: Chrome now talks to agents
Today, when an AI agent tries to do something on a website, it has to read the HTML, guess which button to click and pray it works. Most of those visits end in an error, a block or a CAPTCHA.
WebMCP flips that around: the site declares what you can do on it (search products, filter, add to cart) and the agent calls those actions like functions, without scraping or simulating clicks. It currently lives in document.modelContext and has been in origin trial since Chrome 149.
What it's for: letting agents complete tasks without breaking down, while spending far less (according to early tests, 89% fewer tokens than working from screenshots). And letting the site decide what it allows: sensitive actions, like adding to cart, ask the user for confirmation.
My Schema Usage page registers 5 tools, and the chat and the agents use the same ones: when you ask something, the page filters the table or switches to another month to calculate the answer.
4. Decisions API: Chrome wants to decide
The last piece is the one I measured this week, and I found out about it thanks to Olivier de Segonzac: decision models.
You've probably heard of Jev, which has gone viral lately. It's a decision model: it doesn't write text, it chooses among options you give it and tells you how confident it is in each one. If someone types "cheap red sneakers" into a store's search box, the model picks the filters (athletic shoes, red, low price) instead of writing an answer.
Compared to an LLM, it has some clear advantages. It can't make up an option that doesn't exist, and it tells you when it's unsure: if the winner has 45% and the runner-up 42%, the honest move is to ask the user instead of guessing. On top of that, it's much smaller and faster: the one I use on the page weighs 184 MB and decides in about 50 milliseconds.
What it's for: anything on a website that comes down to choosing. Routing a question to the right section or tool, turning a search into filters, or classifying a page or a message. Google has proposed it as a browser API: the Decisions API.
How Olivier de Segonzac found it
Seg (Olivier de Segonzac, from the French SEO agency Resoneo) spotted a new API in the Chromium code, DecisionModel, and rebuilt it so he could measure it. He took the engine Google plans to use by default, which sits in a code change that is still open (CL 8504264), and computed the vectors with the EmbeddingGemma model that already ships in Chrome Canary. That engine uses the same embedding generator Google wants to open up with the Semantic Embedder API (section 1). He published his findings on Resoneo.
He did all this without knowing that Google had just released a library that does the same thing. Google announced it on October 5 in its Chrome AI developer group (I never got the email), and on the 6th it released MediaPipe Decision Maker as stable, for web, Android, iOS and Python. I talked it over with Olivier, Dan Petrovic and Valentin Pletzer, and Olivier then reran his test with MediaPipe: the same EmbeddingGemma went from 37.9% to 53% accuracy on his test set.
The difference isn't the model, it's how the text is passed to it. Chrome's code buries the user's query inside the question and the context; MediaPipe passes the query on its own. Olivier also found that, in the code, the Decisions API reuses the feature flag of the Classifier API, which Google abandoned, and he points to it as something to keep an eye on for advertising.
Does it match what Olivier measured?
To check, I reproduced his two setups with the 75 questions from my benchmark, which come from the chat on my Schema page: the text format of Chrome's planned engine, with EmbeddingGemma 300M, and the MediaPipe engines with the Python package. Here the model picks the action on its own, without the chat's rules.
Engine
Olivier
My questions (test)
EmbeddingGemma 300M with Chrome's format
37.9%
39%
EmbeddingGemma with MediaPipe
53%
63%
Laya
63.8%
37%
GLiNER2.5-Decide
84.7%
72%
Gemma 4
85.2%
77%
It matches where it counts:
Chrome's format sinks EmbeddingGemma. With the query wrapped inside the question, the way Chrome's code builds it, it gets 39% right, almost the same as what he measured. With the query on its own, the same model climbs to 69%.
The ranking is the same: Gemma 4 and GLiNER at the top, EmbeddingGemma in the middle. The exception is Laya, which does worst on my questions, especially the Spanish ones (24%).
Can you use it yet?
In Chrome, no. In Chrome Canary the API exists, but it returns "unavailable" even with the flags enabled (I tried). In the code, the part that should create the model hasn't been written yet (details in the appendix). The engine Olivier rebuilt is the most likely candidate, not something Chrome actually runs today.
With MediaPipe, yes, but read the fine print:
It only works if the computer has a compatible GPU (WebGPU).
It sends usage data to Google. I captured it: a minute after the page loads, it sends a 39-byte message with the operating system, the library version and how long it took to start up. While you use it, it also reports how many decisions it makes and how long they take. The questions and options are not included, and the content is readable (it isn't encrypted beyond HTTPS). But like any request, it tells Google which site it's being used on, your IP and your browser.
On the web, only EmbeddingGemma (versions 1 and 2) and Laya run. GLiNER and Gemma 4, the top scorers in Olivier's tests, don't load in the browser. He measured GLiNER with the Python package.
I put it to the test on my site
I measured it in the chat on my Schema Usage page, with 75 new questions, against Gemini Nano, cloud decision models (Microsoft-Decision-1, Jev and GPT-6 Luna) and open models running locally (Decision 3.0). Microsoft-Decision-1 gets the most right, 71 out of 75. In the browser, Gemini Nano with some tuning reaches 66, and Decision Maker reaches 62 if it asks the user when it's unsure, with a 184 MB model.
Correct answers for each engine on the 75 test questions, and how much its decisions change when the options are shuffled. Blue: cloud; orange: open weights running locally; green: in Chrome.
The full results, the method and what I learned along the way (why a rule that helps small models gets in the way of big ones, or why the order of the options also gets a vote) are in the benchmark article.
What it means for your site
It fits with what I've been saying about agentic traffic: the future isn't agentic browsers, but agentic browsing as just another feature inside the apps we already use. We've already seen it this year, with OpenAI shutting down Atlas in August and Google bringing Project Mariner into Gemini in May.
In my talk at WordPress Tech Congress (a Spanish WordPress conference) I called it moving from SEO to AX (Agent Experience): the experience AI agents have as users of your site, where UX, development and SEO come together. In practice, in this order:
Clean, semantic and accessible HTML (I explain it here). If a screen reader understands your page, an agent probably will too. And it's what Chrome splits into passages.
Make sure your firewall doesn't block agents. In my tests it's the most common problem, and it's also hard to measure.
WebMCP, if your site has actions (search, filter, book, buy), to expose them as tools.
A decision model, if you want AI to make choices (routing questions, filters, facets), and one that asks the user when it's unsure.
What nobody is going to tell you
Chrome's Decisions API doesn't exist yet in practice. What Olivier measures is the engine Google is planning, and it may change before it ships.
WebMCP opens up a new attack surface. If your site registers tools that an agent runs, someone will try to abuse them.
No GPU, no Decision Maker. I haven't tested it in Safari or Firefox yet.
Try it
The page is at natzir.com/schema-usage. It works in any browser; the chat and the agent tools are extras for desktop Chrome.
With Gemini Nano: if your Chrome supports it and you don't have it yet, the panel offers to download it (about 4 GB, and it stays on your device).
With Decision Maker: you need WebGPU. You select it at the top of the panel; it downloads about 200 MB the first time and then loads the model from the cache.
For agents: 5 tools via WebMCP in Chrome 149 or later.
Technical appendix
For anyone who wants the details.
The Decisions API in Chromium. The interface sits behind the AIDecisionModelAPI flag (decision_model.idl) and requires the language-model permission, the same one the Prompt API uses. The function that creates the model is literally // TODO(crbug.com/565849508): Implement the DecisionModel backend (ai_manager.cc). In Canary 157, with "Experimental Web Platform features" and --enable-features=AIDecisionModelAPI, availability() returns "unavailable" and create() fails. Note that the "schema" in this API is a JavaScript object that describes the options, and has nothing to do with Schema.org.
MediaPipe Decision Maker 1.1.0 on the web. It only works with the GPU delegate: on CPU, evaluateChoice throws an error. It doesn't return predictionSet and the normalizePrior option has no effect, so I calculate the uncertainty myself from the probabilities. GLiNER crashes inside the library and Gemma 4 E2B doesn't fit in the WASM memory (Chrome 154 and Canary 157). The usage data goes out in a POST to odml.pa.googleapis.com/v1/log, as protobuf, with no cookies and batched every 60 seconds. The first one I captured from natzir.com (39 bytes) carried the operating system, version 1.1.0, the input type and the startup time; according to the library's code, the following ones carry the number of decisions and their average and maximum times.
Reproducing Olivier's setup. Templates from CL 8504264: query task: classification | query: Question: <instructions>\nInput: <user question> and option title: <action> | text: Question: <instructions> - <description>, with cosine similarity and softmax at temperature 0.05. I computed the embeddings with onnx-community/embeddinggemma-300m-ONNX (q4) in Node, and ran the MediaPipe 1.1.0 engines with MediaPipe's Python package, on CPU. On the benchmark's tuning set (dev): Chrome format 43%, query alone 64%, EmbeddingGemma 1 68%, EmbeddingGemma 2 49%, Laya S512 37%, GLiNER S512 77% and Gemma 4 E2B 71%.
Artificial Intelligence is no longer a futuristic promise. It has become a transformative force right now, and SEO had to ride the wave too. The problem: wading through the current state of AI tools, workflows and agents for SEO can be tricky, and all the hype clouds the practical reality. In this article, I'll try […]
When Gemini searches Google, it doesn't read your pages. It reads the excerpt Google passes it for each result. Almost always, that's body text. But sometimes it's your meta description, and then Gemini cites you 22% of the time, versus 72% when it gets body text. I measured it across 115 prompts, in English and […]