AI with Chrome
Built-in AI
Built-in AI
Get started
Available APIs
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.
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" } }
Accelerate AI on the web
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 will 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.