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

[Video](https://www.youtube.com/watch?v=DanTBy6Qazg)

### AI assistance

Supercharge your development workflow with Gemini integrated directly into Chrome DevTools. Streamline debugging with AI assistance for styling, performance, network and sources.
[Try it now](https://chrome.dev/devtools-ai-quickstart/#intro)

## Run first prompts

Get the feeling of Gemini in Chrome DevTools by running the example prompts in the interactive tutorial below.
<iframe class="dcc-devtools-hero-iframe" src="https://chrome.dev/devtools-ai-quickstart/?frame=0" width="1000" height="860" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

## What can AI assistance help you with

### [Fix styling bugs](http://developer.chrome.com/docs/devtools/ai-assistance/styling)

Styling issues can be difficult to debug. Get a detailed explanation of your element's styles and get help in fixing layout and styling bugs:

```
Can you center this element?
```
[Learn more](http://developer.chrome.com/docs/devtools/ai-assistance/styling)

### [Analyze network requests](http://developer.chrome.com/docs/devtools/ai-assistance/network)

Request and response headers often contain important information not obvious at a glance. Use AI assistance to dig in:

```
Why does this request fail?
```
[Learn more](http://developer.chrome.com/docs/devtools/ai-assistance/network)

### [Understand source files](http://developer.chrome.com/docs/devtools/ai-assistance/sources)

It's rare you wrote all the code on your website - not sure what a certain script is used for? AI assistance can help:

```
What is this file used for?
```
[Learn more](http://developer.chrome.com/docs/devtools/ai-assistance/sources)

### [Investigate page performance](http://developer.chrome.com/docs/devtools/ai-assistance/performance)

Poor core web vitals? Finding the root cause for a sluggish website can be difficult. AI assistance can investigate and propose solutions for you:

```
Help me optimize my LCP score
```
[Learn more](http://developer.chrome.com/docs/devtools/ai-assistance/performance)

## See AI assistance in action

Check out our interactive demos to learn how to get started with AI assistance in your projects. [![](http://developer.chrome.com/static/docs/devtools/ai-assistance/images/demo-hangar.png)](https://chrome.dev/cinemai/devtools/hangar)

### [Hangar](https://chrome.dev/cinemai/devtools/hangar)

Try AI-powered styling fixes to transform a static plane into a soaring marvel - while making sure safety measures are taken! [Explore demo](https://chrome.dev/cinemai/devtools/hangar) [![](http://developer.chrome.com/static/docs/devtools/ai-assistance/images/demo-overflow.png)](https://chrome.dev/cinemai/devtools/overflow)

### [Overflow](https://chrome.dev/cinemai/devtools/overflow)

Will you conquer the scrollbar of doom with AI assistance, or will a diving team forever be trapped in a layout nightmare? [Explore demo](https://chrome.dev/cinemai/devtools/overflow)

## Not sure how to start?

Explore prompt ideas for the AI assistance in DevTools. Experiment with our demos or try on your own websites.

#### Fix aspect-ratio of an image

```text
Make all teaser images always be 16:9
```
One of the images is not cropped the same way as the others?

- Open [chrome.dev/cinemai/devtools/](https://chrome.dev/cinemai/devtools/) page and [open DevTools](https://developer.chrome.com/docs/devtools/open.md.txt).
- Find and select the **Learn more by watching** section.
- Click AI assistance icon.
- Prompt: `Make all teaser images always be 16:9`.
- Click `Apply the suggested change` and continue.
- The button should be centered.

#### Fix an overflow issue

```text
How can I make this element visible?
```
Element is not visible?

- Open [chrome.dev/cinemai/devtools/](https://chrome.dev/cinemai/devtools/overflow) page and [open DevTools](https://developer.chrome.com/docs/devtools/open.md.txt).
- Find a **scuba diver** img element.
- Click AI assistance icon.
- Prompt: `How can I make this element visible without scrollbars?`.
- Click `Apply the suggested change` and continue.
- The diver should be visible on the screen.

#### Demistify headers

```text
Are there any security headers present?
```
To learn more about security headers of a given resource...

- Open [chrome.dev/cinemai/devtools/](https://chrome.dev/cinemai/devtools/) page and [open DevTools](https://developer.chrome.com/docs/devtools/open.md.txt).
- In Network panel, select the`v4-chrome.dev.js` requests.
- Click AI assistance icon.
- Prompt: `Are there any security headers present?`
- The LLM will explain headers related to security on the resource.

#### Create bug reports

```text
Write a detailed bug report for this network error, include title, summary, steps to reproduce and expected vs. actual results.
```
Something went wrong? Quickly create a detailed bug report.

- Open [open DevTools](https://developer.chrome.com/docs/devtools/open.md.txt) for a web page with a network error.
- In the Network panel, select the failing request.
- Click AI assistance icon.
- Prompt: `Write a detailed bug report for this network error, include title, summary, steps to reproduce and expected vs. actual results.`
- The LLM will generate a bug report that you can directly copy into your issue tracker.

## Deep dives

Explore videos explaining how to use AI assistance in DevTools to solve common web development problems. [Video](https://www.youtube.com/watch?v=DanTBy6Qazg)

### Al-assisted debugging - DevToolTips

Explore the power of Al-assisted debugging with Chrome DevTools! [Video](https://www.youtube.com/watch?v=ink_6pq_te0)

### What's new in DevTools 130-132

Explore the Network Panel features, Baseline \& CSS updates and AI innovations in Chrome 139-141 with Matthias!

## Get started

[![](http://developer.chrome.com/static/docs/devtools/ai-assistance/conditions.svg)](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#requirements)

### [Requirements](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#requirements)

Make sure you're using the latest Chrome and are signed in. You need to be at least 18 years old and in one of the supported locations. [Check out the requirements](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#requirements) [![](http://developer.chrome.com/static/docs/devtools/ai-assistance/toggle.svg)](http://developer.chrome.com/docs/devtools/settings/ai-innovations.md.txt)

### [Opt-in](http://developer.chrome.com/docs/devtools/settings/ai-innovations.md.txt)

AI assistance is disabled by default. To enable, go the Settings \> AI assistance section. You need to agree to Google Terms of Service to be able to use AI assistance. [Enable AI innovations](http://developer.chrome.com/docs/devtools/settings/ai-innovations.md.txt) [![](http://developer.chrome.com/static/docs/devtools/ai-assistance/lock.svg)](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#data-use)

### [Data](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#data-use)

An Enterprise policy can be used to control whether or not the data shared with Gemini is logged and used for training [Learn how your data is used](http://developer.chrome.com/docs/devtools/ai-assistance/get-started.md.txt#data-use)

## Help us get better!

![](https://developer.chrome.com/static/docs/devtools/ai-assistance/images/deco-thumbs.svg)

This feature is experimental and subject to future changes. It may generate inaccurate or offensive information that doesn't represent Google's views. Vote on the responses to help us improve it and keep the feedback coming!
[Share feedback](https://crbug.com/364805393)