> Documentation index: https://developer.chrome.com/docs/ai/llms.txt

![](http://developer.chrome.com/static/docs/ai/images/hero-sm.png)

### AI in Chrome

Find and build AI solutions for your website and web application. [![](http://developer.chrome.com/static/docs/ai/images/built-in.png)](https://developer.chrome.com/docs/ai.md.txt#perform-inference-locally-in-the-browser)

### [Built-in AI](https://developer.chrome.com/docs/ai.md.txt#perform-inference-locally-in-the-browser)

Discover task-based APIs built in the browser that perform AI tasks with local models. [![](http://developer.chrome.com/static/docs/ai/images/why-ai.png)](https://developer.chrome.com/docs/ai.md.txt#reliable-agent-calls-with-webmcp)

### [AI Agents](https://developer.chrome.com/docs/ai.md.txt#reliable-agent-calls-with-webmcp)

Create WebMCP tools so sites can support reliable action by AI agents. [![](http://developer.chrome.com/static/docs/ai/images/hero_start.png)](https://developer.chrome.com/docs/ai.md.txt#improve-compute-and-model-performance)

### [Accelerate compute](https://developer.chrome.com/docs/ai.md.txt#improve-compute-and-model-performance)

Improve compute and model performance with Wasm, WebGPU, and WebNN. ![](http://developer.chrome.com/static/docs/ai/evals/card.jpg) COURSE

### 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.
[Start learning](http://developer.chrome.com/docs/ai/evals.md.txt)

## Perform inference locally, in the browser

Build features powered by AI on the web, including foundation models and expert models, built into the browser [Discover built-in AI](http://developer.chrome.com/docs/ai/built-in/overview.md.txt)

### [Get started](http://developer.chrome.com/docs/ai/get-started.md.txt)

Learn the requirements to start building features and applications with built-in AI.

### [Available APIs](http://developer.chrome.com/docs/ai/built-in-apis.md.txt)

Review the APIs and their availability status to use with built-in AI in Chrome.

### [Task API polyfill](http://developer.chrome.com/docs/ai/task-api-polyfill.md.txt)

Use the built-in AI task API polyfill to build AI features, without worrying about browser support.

### [Dos and don'ts](http://developer.chrome.com/docs/ai/built-in-ai-dos-donts.md.txt)

Learn the best practices for building with built-in AI in Chrome.

### [Cache models](http://developer.chrome.com/docs/ai/cache-models.md.txt)

Learn how to cache models in the browser for faster inference.

### [Tell users about model downloads](http://developer.chrome.com/docs/ai/inform-users-of-model-download.md.txt)

Before any of the APIs can be used, the underlying model must be downloaded. Always alert users about the time required to perform these downloads.

## Reliable agent calls with WebMCP

WebMCP aims to provide a standard way to expose structured tools, so that AI agents can perform actions on your site with increased speed, reliability, and precision. [Get started](http://developer.chrome.com/docs/ai/webmcp.md.txt) Step 1

### 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.

```javascript
// 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);
  }
});
```
Step 2

### 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.
![Your site speaks to the browser, which translates for the agent.](https://developer.chrome.com/static/docs/ai/agents/images/webmcp-horizontal-600.jpg) Step 3

### 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.

```bash
// the agent's view
{
  "tool": "bookSlot",
  "arguments": {
    "date": "2026-07-31",
    "time": "14:00",
    "name": "Jerry Jones",
    "email": "jerry.jones@example.com"
  }
}
```
[When to use WebMCP](http://developer.chrome.com/docs/ai/webmcp/use-cases.md.txt) [Build effective tools](http://developer.chrome.com/docs/ai/webmcp/build-tools.md.txt)

## Improve compute and model performance

[Learn more](http://developer.chrome.com/docs/ai/platform.md.txt)

### Optimize Wasm for AI

Learn about improvements to WebAssembly for tasks commonly used in AI inference.
[Read the doc](http://developer.chrome.com/blog/io24-webassembly-webgpu-1.md.txt#webassembly) [Chrome Status](https://chromestatus.com/features?q=category%253A%2522WebAssembly%2522)

### WebGPU API

Discover WebGPU in Chrome and get first-class support for general computations on the GPU.
[Read the overview](http://developer.chrome.com/docs/web-platform/webgpu/overview.md.txt) [Chrome Status](https://chromestatus.com/feature/6213121689518080)

### WebNN API

Use the WebNN API to perform machine learning operations in the browser.
[Read the spec](https://www.w3.org/TR/webnn/) [Chrome status](https://chromestatus.com/feature/5176273954144256) ![](http://developer.chrome.com/static/docs/ai/images/card-ai.png) COURSE

### 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.
[Start learning](https://web.dev/learn/ai)

## Coding assistance

[![](http://developer.chrome.com/static/docs/modern-web-guidance/image/mwg-animated-logo-noloop.gif)](http://developer.chrome.com/docs/modern-web-guidance.md.txt)

### [Modern Web Guidance](http://developer.chrome.com/docs/modern-web-guidance.md.txt)

Download skills for your AI coding agent to guide its generation towards modern and performant experiences. [![](http://developer.chrome.com/static/docs/devtools/ai-assistance/images/cover_aiassistance.png)](http://developer.chrome.com/docs/devtools/ai-assistance.md.txt)

### [DevTools AI assistance](http://developer.chrome.com/docs/devtools/ai-assistance.md.txt)

Chat with Gemini in DevTools. Conversations you start from this panel have context about technical details of the page you're inspecting. [![](http://developer.chrome.com/static/docs/devtools/console/understand-messages/image/cover.png)](http://developer.chrome.com/docs/devtools/console/understand-messages.md.txt)

### [Console insights in DevTools](http://developer.chrome.com/docs/devtools/console/understand-messages.md.txt)

Use the Console to view and debug the results of on-device AI. ![](http://developer.chrome.com/static/docs/ai/images/team.png)

### 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
[Meet the team](http://developer.chrome.com/docs/ai/team.md.txt)

## AI and Gemini Nano news

## Introducing web AI

[web.dev](https://web.dev/explore/ai)

### [What is AI?](https://web.dev/articles/ai-overview)

Understand the basics and definitions of the various emerging technologies, often referred to as AI. [Read the doc](https://web.dev/articles/ai-overview) [web.dev](https://web.dev/explore/ai)

### [Ethics and AI](https://web.dev/articles/ai-ethics)

As web practitioners, it's critical that we build new technology thoughtfully and responsibly. [Read the doc](https://web.dev/articles/ai-ethics) [web.dev](https://web.dev/explore/ai)

### [Improve client-side AI](https://web.dev/articles/client-side-ai-performance)

Discover techniques to use client-side AI, which offers benefits such as low latency, reduced server-side costs, increased user privacy, and more. [Read the doc](https://web.dev/articles/client-side-ai-performance)