AI in Chrome
Built-in AI
AI Agents
Accelerate compute
Create AI evaluations
Evaluations (or evals) are tests for your AI features. When you create a robust evals pipeline, your LLM-based features will work well for your users. Then, you can ship your features with confidence.
In this course you'll learn how about the LLM-as-a-judge pattern to measure subjective quality, create a judge with minimal setup, and discover advanced techniques to develop a custom judge that thinks like top-domain experts. You'll run evals at build time and in production so you can catch regressions early.
Perform inference locally, in the browser
Get started
Available APIs
Task API polyfill
Dos and don'ts
Cache models
Tell users about model downloads
Reliable agent calls with WebMCP
Your site registers tools
Your site declares the actions an agent can take, as WebMCP tools. Each tool has a name, description, and JSON schema.
// Imperative API document.modelContext.registerTool({ name: "bookSlot", title: "Book a consultation slot", description: "Reserve a 30-minute consultation.", inputSchema: { type: "object", properties: { date: { type: "string", format: "date" }, time: { type: "string" }, name: { type: "string" }, email: { type: "string", format: "email" } }, required: ["date", "time", "name", "email"] }, annotations: { readOnlyHint: false }, execute: async (input, client) => { return await api.book(input); } });
The browser exposes them
The browser collects and presents these tools to the user's WebMCP-aware agent, alongside the page's URL, title, and origin permission scope.
The agent takes action, no guessing needed
The agent sees a contract, supplies structured arguments, and your code does the rest. The user stays in the loop for permission and confirmation. No more guessing.
// the agent's view { "tool": "bookSlot", "arguments": { "date": "2026-07-31", "time": "14:00", "name": "Jerry Jones", "email": "jerry.jones@example.com" } }
Improve compute and model performance
Optimize Wasm for AI
Learn about improvements to WebAssembly for tasks commonly used in AI inference.
WebGPU API
Discover WebGPU in Chrome and get first-class support for general computations on the GPU.
WebNN API
Use the WebNN API to perform machine learning operations in the browser.
Learn AI
Whether prompted by company mandates or enthusiasm, AI for AI's sake isn't useful. The best features come from a user need and are measured by the value they deliver.
In this course, you learn how to think about building web applications with an AI system that is responsible, usable, and valuable, so that your application delivers on the technology's promise.
Coding assistance
Modern Web Guidance
DevTools AI assistance
Console insights in DevTools
Meet the Team
The Chrome Web Developer Relations team and built-in AI PM are available to chat about the web and AI from built-in to WebMCP. We have folks in Asia, Europe, and the America