Google's new web dev tools, explained
At Google I/O Connect Berlin 2026, Chrome shipped a set of tools that let your AI coding agent see, test and fix real web pages — not just guess at code. This guide explains all of them, and shows you how to run the main one locally with Claude Code.
An AI coding agent can write a web page in seconds. But until recently it could not look at the page it just built. It could not click a button, read a network error, or measure how slow the page loads. It wrote code blind.
The tools in this guide close that gap. They come from four talks at Google I/O Connect Berlin (25 June 2026), the Chrome stage in particular. The centerpiece — and the tool you will set up yourself in this guide — is Chrome DevTools for agents.
A clear mental model of Google's four new web-AI tools, why each exists, and what each is for. Plus a working local setup: Chrome DevTools for agents connected to Claude Code, verified end-to-end.
Understand · 1Why these tools exist
Think back to when you learned web development. You opened Chrome DevTools (that is: the panel that opens when you right-click a page and choose Inspect), clicked through the elements, broke things, and watched what happened. That loop — try, observe, fix — is how most developers actually learn. Matthias Rohmer, the Chrome engineer who gave the centerpiece talk, calls it a closed feedback loop.
Coding agents never had that loop. An agent like Claude Code (that is: an AI assistant that reads your files and runs commands in a loop until a task is done) has been writing code for a few years now. But it wrote that code without ever opening the page. It was, in Rohmer's words, a developer "three years into their career who never touched DevTools."
That single gap explains every tool in this guide. Give the agent the feedback loop, and it stops guessing.
A sign-up form fails with a cryptic error: APP_ERR_1003. The auth provider is internal and undocumented, so no model has seen it. Where is the answer? Not in the training data. Not in the source code. It is in the runtime data — the network response the browser received. An agent that can read that response fixes the bug. An agent that cannot just spirals.
Understand · 2The big idea, in one sentence
Google's new web tools give your coding agent the same closed feedback loop that human developers have always used: build, run in a real browser, observe, fix — on its own.
Everything below is a variation on that sentence. Some tools give the agent eyes on a running page (DevTools for agents). Some give it up-to-date knowledge of how to build well (Modern Web Guidance). One gives it a home to work in (Antigravity). And one moves the intelligence into the browser itself (built-in AI). If you get lost later, come back to this sentence.
Understand · 3The toolkit at a glance
Four tools, four jobs. Here is the whole cast before we go deep on each.
Chrome DevTools for agents
Gives your agent eyes and hands on a live page: click, read network errors, screenshot, run performance traces. The centerpiece of this guide.
Modern Web Guidance
Teaches your agent today's best practices so it writes modern CSS and HTML instead of outdated JavaScript. A skill pack.
Antigravity
Google's agent-first IDE. A place where agents plan, run and verify whole tasks — with the two tools above built in.
Built-in AI & the Agentic Web
Gemini models running inside Chrome, plus new browser APIs so pages can serve both people and AI agents.
The full Chrome-stage line-up at I/O Connect Berlin (for context)
The recording behind this guide is the 11:00 session. The day ran:
- Create a closed feedback loop: Chrome DevTools for agents — Matthias Rohmer
- Authentication in 2026: passkeys, digital credentials and more
- Panel: Ask the Chrome team about the evolving landscape of web development
- Workshop: Bridging the AI knowledge gap with Modern Web Guidance
- Workshop: From zero to built-in AI hero
- Workshop: Practical steps to make your web app agent-ready
- Workshop: Automate building Chrome Extensions with Antigravity and DevTools MCP
Centerpiece · 4Chrome DevTools for agents
In September 2025, the DevTools you already know grew a new surface. Alongside the panel you get from right-click → Inspect, there is now DevTools for agents: the same debugging power, exposed to your coding agent instead of to you.
The point is the feedback loop from Section 1. Take the APP_ERR_1003 sign-up bug. A plain agent, told "fix APP_ERR_1003 in the sign-up code", searches the files, finds nothing useful, and spirals. With DevTools for agents you change the prompt to point at the running page instead:
Now the agent opens the page in a real Chrome window, fills the form, submits it, reads the failed network request, finds the hidden message: "Password too short" in the response, and fixes the code — then re-runs the flow to confirm its own fix. That is the closed feedback loop, running without you.
You did not tell the agent which file to edit. DevTools for agents reads source maps (that is: the map from the running page back to your original source files), so it finds the right file itself. You describe the symptom; it finds the cause.
Centerpiece · 5How it is built
DevTools for agents is new, but it stands on old, well-tested foundations. Knowing the three layers helps you reason about what it can do — and, later, about its security.
The foundation: Puppeteer and Chrome for Testing
Underneath everything sits Puppeteer (that is: a long-standing Chrome library for driving the browser from code — clicking, typing, navigating) and Chrome for Testing (a clean build of Chrome made for automation). The Chrome team has maintained both for years. DevTools for agents wraps them; Puppeteer does the real work of touching the page.
The package: one npm install, two ways to use it
DevTools for agents ships as a single npm package (that is: a reusable code package installed with Node.js). It runs on any machine with a recent Node.js. Your agent talks to it in one of two ways, both in the same package:
MCP server
The default. The agent calls tools over the Model Context Protocol — a standard way for agents to use external tools.
CLI
A command-line (that is: text-command) mode. More token-efficient, and it can run outside the agent, so you can save its actions as scripts.
The glue: skills
A skill (that is: a short instruction file that teaches an agent how and when to use a tool) is what makes the agent actually reach for DevTools at the right moment. DevTools for agents ships with six, in two groups:
| Group | Skills | What they add |
|---|---|---|
| Know the tool | chrome-devtools, troubleshooting, chrome-devtools-cli | Core capabilities, concepts and usage — how the tool works at all. |
| Expert knowledge | a11y-debugging, memory-leak-debugging, debug-optimize-lcp | Deep know-how in accessibility, memory and load performance — the agent becomes a specialist. |
The full stack, top to bottom: your coding agent → DevTools for agents → skills → MCP server or CLI → Puppeteer → Chrome.
Quick self-check: where does the answer to a runtime bug live?
In the runtime data — the live network responses and console output the browser sees when the page runs. Not in the training data, and often not visible in the source code alone. That is exactly what DevTools for agents exposes to the agent.
Centerpiece · 6What it can do
Puppeteer's abilities are wrapped into clearly-named tools, in six categories. You rarely call them by hand; the agent picks them. The categories:
Input automation
Click, type, fill forms, upload files, handle dialogs.
Navigation
Open pages, manage tabs, wait for the page to be ready.
Emulation
Resize the viewport — desktop, tablet, mobile — and throttle the network.
Network
List and inspect requests, headers and responses.
Performance
Record traces, read insights, pull field data.
Debugging
Screenshots, console messages, Lighthouse audits, heap snapshots.
Three everyday jobs those categories unlock:
Fix a broken flow
The sign-up example: input automation + navigation + network, combined into one fix-and-verify run.
Validate a bug report across devices
Emulation + debugging. Instead of resizing your browser by hand, you prompt:
The agent resizes to each viewport, screenshots, opens the mobile burger menu, cross-checks, and reports back — no manual clicking.
Scale your expertise into areas you don't know
This is the one to remember. Say you are weak on performance, accessibility or SEO. A vague prompt like "improve performance" makes the agent read random files and burn tokens for little gain. Instead, let DevTools measure the running page:
Now the agent works against real measurements — the actual Largest Contentful Paint (that is: how long the biggest thing on screen takes to appear), the real audit failures — and starts where it matters. The same pattern works for accessibility and SEO audits.
Because the CLI runs outside the agent loop, you can freeze a workflow into a script. Prompt: "Persist your previous actions in DevTools to a well-named script file using the DevTools CLI." Now you re-run the whole check any time, no agent needed.
Centerpiece · 7AutoConnect: share your screen with the agent
By default DevTools for agents opens its own fresh, anonymous Chrome window. Useful, but sometimes you are already on the broken page, staring at the error. Why write a prompt to get the agent back to a state you can already see?
AutoConnect fixes that. Think of it as sharing your screen with the agent: it connects to a Chrome instance that is already running and picks up where you left off. You turn it on in two places:
- In Chrome, go to
chrome://inspect, choose Remote debugging in the sidebar, and tick Allow remote debugging for this browser instance. - Add
--autoConnectto your MCP config (or include it in your CLI prompt).
AutoConnect may attach to your personal Chrome profile instead of the anonymous one. If you are logged in to a shop, a prompt like "order 999 balloons" could actually succeed and cost you money. Always decide carefully what you give an agent access to.
Do it yourself · 8Set it up locally and use it with Claude
This is the hands-on section. By the end you will have Chrome DevTools for agents running on your machine, connected to Claude Code, and you will watch it inspect a real page in a live browser. Once the prerequisites below are in place, the steps take about 10 minutes.
This is a READ-DO checklist. Do each item before Step 1. You will run the commands in a terminal (that is: the app called Terminal on Mac/Linux, or Command Prompt / PowerShell on Windows).
- Node.js (the LTS, or long-term-support, release) installed. Check by typing
node -vin a terminal. If that errors with "command not found", install it from nodejs.org first. - Chrome, current stable version or newer.
- Claude Code installed. Run
claudeonce in a terminal — the first run signs you in, so you need a Claude account and an active plan (it is a paid tool). Full setup: docs.claude.com/en/docs/claude-code
Add the MCP server to Claude Code
In your terminal, run the command below. It registers DevTools for agents as an MCP server for Claude Code, for your whole user account. npx (that is: a helper that ships with Node.js and runs a package without installing it first) fetches the package on first run — this can take a minute.
# run this in your terminal
claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
claude mcp list shows chrome-devtools in the list.
Confirm the tools are live inside Claude
Start Claude Code in any web project and check the server connected. This is your early win — proof the plumbing works before you rely on it.
# inside a project folder
claude
# then, at the Claude prompt:
/mcp
/mcp lists chrome-devtools as connected, with its tools (around 30) available.
Give it a real task
Inside Claude Code (at the Claude prompt, not the terminal), ask it to use the browser. Start with a public page so this works even before you have your own project running. Claude will call DevTools tools like navigate_page, take_snapshot and list_network_requests.
Once that works, point it at your own project. When you run an app on your machine, it lives at a localhost address (that is: a web server running on your own computer, e.g. localhost:3000). Then the prompt becomes: "Open localhost:3000, take a snapshot, and tell me if there are any console errors."
Optional: turn on AutoConnect
To let Claude attach to a Chrome you already have open (Section 7), re-add the server so it launches with the --autoConnect flag. Run both lines in your terminal:
# run in your terminal
claude mcp remove chrome-devtools
claude mcp add chrome-devtools --scope user -- npx chrome-devtools-mcp@latest --autoConnect
The -- matters: it tells claude that everything after it belongs to the server command, so --autoConnect reaches the tool and not claude itself. That is why Step 1 (no extra flags) does not need it and this one does. Then enable remote debugging in chrome://inspect as described in Section 7.
You are set up when, from inside Claude Code, you can say "open example.com in the browser and tell me the heading", a real Chrome window opens on its own, and Claude reports back what it saw. If that works, the loop is closed — and it works the same way against your own localhost project.
If it didn't work
| Symptom | Likely cause | Fix |
|---|---|---|
chrome-devtools missing from /mcp | Server added at the wrong scope, or Claude not restarted. | Re-run Step 1 with --scope user; fully quit and reopen Claude Code. |
| Shows as failed / disconnected | Old Node.js, or npx could not fetch the package. | Update Node.js to current LTS; run npx chrome-devtools-mcp@latest once in a terminal to see the real error. |
| No Chrome window opens | No Chrome installed where the tool expects it. | Install current stable Chrome. For a headless run, add --headless to the args. |
| AutoConnect can't connect | Remote debugging not enabled in Chrome. | Open chrome://inspect → Remote debugging → tick the allow box, then retry. |
The same package powers Antigravity, Gemini CLI, Codex and others — only the config file differs. Gemini CLI uses .gemini/settings.json; a project-scoped Claude setup uses an .mcp.json in the project root. The tool is identical underneath.
Toolkit · 9Modern Web Guidance
DevTools for agents helps the agent debug. Modern Web Guidance helps it build well in the first place. The problem it solves: left alone, agents write outdated code. They reach for JavaScript to solve things that modern CSS and HTML now handle natively, because their training data is full of old answers.
Modern Web Guidance (that is: a skill pack that injects Chrome's current best practices and Baseline compatibility data into your agent) fixes that. It bundles 128 web-platform features into more than 100 expert-verified use cases, and lifts best-practice adherence by 37 percentage points in Chrome's own tests. It is Apache-2.0 licensed and works with Claude Code, Antigravity, Gemini CLI, GitHub Copilot CLI and more.
The talk's demo: a dark/light-mode toggle, built twice.
// state + animation
// all in JavaScript
let mode = 'light';
btn.addEventListener(
'click', () => { /* … */ });
/* modern platform primitives: @starting-style, anchor positioning, light-dark() */ /* No JavaScript needed */
Same look, same behaviour. The guided version is dozens of times smaller because the agent used CSS features like @starting-style, anchor positioning and the light-dark() function — instead of hand-rolling it all in JavaScript.
Recommended (auto-updates): npx modern-web-guidance@latest install. In Claude Code you can also add it as a plugin from the GoogleChrome/modern-web-guidance marketplace. Details at goo.gle/mwg.
Toolkit · 10Antigravity: the agent-first IDE
Antigravity (that is: Google's new agent-first IDE — an integrated development environment, the app you write code in — launched November 2025 with Gemini 3) is where all of this comes together. It looks like a familiar AI editor, but agents are promoted to a first-class surface with direct access to the editor, terminal and browser. They plan, execute and verify whole tasks on their own.
Editor View
The hands-on IDE you know — tab completion, inline commands, you in the driver's seat.
Manager Surface
Spawn and watch several agents working at once, across different workspaces, asynchronously.
It runs on Mac, Windows and Linux, free in public preview. You can choose your model: Gemini 3 Pro, Anthropic's Claude Sonnet 4.5, or GPT-OSS. A "Build with Google" screen lets you switch on packaged plugins — including Modern Web Guidance and Chrome DevTools — with one click, so the whole toolkit is present without any config file. Get it at antigravity.google.
Toolkit · 11Built-in AI & the Agentic Web
The last piece moves AI into the browser. Chrome built-in AI runs Gemini models — including the on-device Gemini Nano — right inside Chrome. Pages can call small AI features with no server and no API key. At the Berlin booth, a fashion site ran image search "curated by Gemini Nano" entirely in the browser.
For developers, this arrives as a set of built-in JavaScript APIs, each for one common job:
Summarizer
Condense long text on-device.
Translator
Translate between languages locally.
Language Detector
Identify what language some text is in.
Writer & Rewriter
Draft and revise text in the page.
Alongside them is the Agentic Web idea: making sites work for AI agents as well as humans. Its headline is WebMCP (that is: a way for a website to expose its own actions as tools an agent can call), plus a push on agent readiness and accessibility — because clean, semantic pages are exactly what agents read best.
Good accessibility helps agents too. The same accessibility tree that a screen reader uses is what an agent reads through DevTools for agents. Build the web well for people, and you build it well for agents.
Before you read on: can you name the four tools and each one's job?
1. DevTools for agents — gives the agent eyes and hands on a live page. 2. Modern Web Guidance — teaches it to build with modern best practices. 3. Antigravity — the agent-first IDE they live in. 4. Built-in AI & the Agentic Web — Gemini inside Chrome, plus APIs so pages serve agents too. All four serve the one idea: give the agent a closed feedback loop.
Go further · 12Scale it: from one-off prompts to custom skills
The prompts so far are handy one-offs. The real gain comes when you bake a workflow into your own custom skills, so the agent does it your way every time. The talk's case study: Pepper, a company in Germany, built 14 specialized skills and changed how fast they ship.
Their github-issue-test skill even plans for failure. It defines three scenarios up front — A: the MCP server is available; B: it is not; C: the agent is running low on token budget. With the fallbacks written down, the agent switches to plan B or C instead of wandering off.
Three rules for writing skills that work
Guide with precision
State exactly what to do and name the exact tools. Vagueness invites random behaviour.
Streamline execution
Make it easy. If the agent researches the same thing twice, tighten the skill.
Demand verification
Tell it to re-check its own work with snapshots. Otherwise it gets lazy and stops half-done.
Go further · 13Common misconceptions
"An agent with browser access can read my saved passwords."
No. DevTools for agents works through Puppeteer, which does not expose Chrome's password manager as a capability. And by default it uses a separate, anonymous browser profile with no saved passwords in the first place. The risk people imagine is not the real one.
"So it's completely safe."
Also no — and this is the one that matters. The default is safe. But turn on AutoConnect against your personal profile, and the agent can act as logged-in you. The real rule is not "browsers are dangerous"; it is carefully decide what you give agents access to.
"Modern Web Guidance is just another prompt trick."
No. It is verified best-practice data plus Baseline compatibility, measured to lift adherence by 37 points and to cut a real component from 172 kB to 2.6 kB. That is an engineering outcome, not a vibe.
Go further · 14One example, all the way through
Here is how the pieces work together on a single realistic task — a bug that reproduces only at runtime.
- You see a bug. Your sign-up form fails with
APP_ERR_1003. You are already on the page in Chrome. - AutoConnect (Section 7). Claude attaches to the tab you have open — no re-navigating.
- DevTools for agents (Section 4–6). You prompt: "debug and fix the sign-up error." The agent fills the form, submits, and reads the failed network response.
- Runtime beats source. The response holds
message: "Password too short". Source maps point the agent to the right file. - Modern Web Guidance (Section 9). When it writes the fix, the agent reaches for a modern
:user-invalidCSS validation state instead of a JavaScript listener. - It verifies itself. The agent re-runs the sign-up, sees it pass, and reports back. Loop closed.
No step needed you to read a stack trace, resize a window, or look up a CSS feature. That is the whole point of the toolkit.
ReferenceReference card
The one idea: give your agent the closed feedback loop — build, run in a real browser, observe, fix.
| Tool | Job | Get it |
|---|---|---|
| DevTools for agents | Agent sees & tests a live page | goo.gle/devtools-for-agents |
| Modern Web Guidance | Agent builds with modern best practices | goo.gle/mwg |
| Antigravity | Agent-first IDE, toolkit built in | antigravity.google |
| Built-in AI | Gemini & AI APIs inside Chrome | developer.chrome.com/docs/ai |
Claude Code setup, one line: claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
Prompt patterns: point at the runtime, not the file — "go to localhost, run a performance trace, act on all findings"; "check nav is visible on desktop, tablet and mobile".
ReferenceGlossary
- Coding agent
- An AI assistant that reads your files and runs commands in a loop until a task is done. Claude Code, Antigravity, Gemini CLI and Codex are all coding agents.
- MCP (Model Context Protocol)
- A shared standard that lets an agent call external tools. DevTools for agents ships an MCP server so any MCP-capable agent can use it.
- Skill
- A short instruction file that teaches an agent how and when to use a tool or workflow. The unit both DevTools for agents and Modern Web Guidance ship as.
- Token
- The unit an AI model reads and writes in — roughly ¾ of a word. Costs and limits are counted in tokens, so "token-efficient" means cheaper and faster.
- Chrome DevTools
- The debugging panel that opens on right-click → Inspect: elements, console, network, performance. DevTools for agents exposes the same power to an agent.
- Puppeteer
- A long-standing Chrome library for driving the browser from code — clicking, typing, navigating. The engine underneath DevTools for agents.
- Source map
- A file that maps the running, built page back to your original source code, so a tool can jump from a runtime symptom to the exact source file.
- LCP (Largest Contentful Paint)
- How long the biggest visible element takes to appear. A core web-performance measure DevTools can trace.
- localhost
- The address of a web server running on your own computer, not the public internet. An app you start locally usually appears at a localhost address such as
localhost:3000. - Accessibility tree (a11y)
- The structured view of a page that assistive tech — and coding agents — read to understand it. Good accessibility helps both.
- Modern Web Guidance
- A skill pack of Chrome's current best practices and Baseline data, so agents write modern CSS/HTML instead of outdated JavaScript.
- Baseline
- A shared signal for which web features are safely usable across the major browsers. Modern Web Guidance targets it.
- Antigravity
- Google's agent-first IDE (launched Nov 2025 with Gemini 3), giving agents direct editor, terminal and browser access.
- Gemini Nano
- A small Gemini model that runs on-device inside Chrome, powering built-in AI with no server call.
- WebMCP
- An emerging way for a website to expose its own actions as tools an AI agent can call directly.