Chrome DevTools for agents



Help your agent build, debug, and verify your code correctly. With Chrome DevTools for agents, your AI agent can interact with the Chrome browser to test code, emulate users, and catch bugs using Chrome DevTools' capabilities before shipping.

Chrome DevTools for agents comes pre-bundled with Antigravity 2.0. You can start using it immediately with the browser sub-agent. Try using a slash command such as:

  /browser Navigate to the Google homepage

To access specialized agent skills, install the DevTools plugin during the Build with Google step of the initial setup or within the application settings.

  # Install as an Antigravity plugin (MCP+Skills).
  # Start Antigravity CLI and use:
  /plugin install chrome-devtools-plugin
  # Install as a plugin (MCP+Skills)
  # Add the marketplace registry:
  /plugin marketplace add ChromeDevTools/chrome-devtools-mcp
  # Install
  /plugin install chrome-devtools-mcp@chrome-devtools-plugins
  codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest

If you are using any other coding agent like Copilot or OpenCode, follow the instructions on our GitHub repository.

Modern Web Guidance

Looking to explore more of Chrome's agent tooling? Use Modern Web Guidance to embed 200+ expert-vetted web platform skills and Baseline compatibility data directly into your coding agent.

What can your agent do?

Give your agent the ability to interact with the web browser.

Test responsive designs, different geolocations, and real user flows. Learn more.
Connect to your active Chrome session to inspect, pause, and troubleshoot in real-time. Learn more.
Run audits for A11y, SEO, and performance to provide actionable checklists before you push code to production. Learn more.
Run fast, token-efficient browser commands directly from terminal scripts, CI/CD pipelines, or agent skills without MCP protocol overhead. Explore the CLI.
Capture heap snapshots and allocation timelines so your agent can pinpoint detached DOM trees and memory retainers automatically. Debug memory leaks.
Sideload unpacked extensions, inspect background service workers, and test extension popups and content scripts in Chrome. Debug extensions.
Discover, invoke, and validate structured WebMCP tools exposed by web pages so browser agents can interact reliably with your site. Debug WebMCP.

Prompts that drive better user experiences

Give your AI agent the power to navigate websites, interact with buttons, explore pages, and run instant accessibility audits, all through a fully managed browser instance.
Go to developer.chrome.com on mobile, click the burger menu, and check for top-level navigation items.
Go to https://chrome.dev/devtools-store-locator. Simulate your location is Berlin and check if the store locator shows the Rosenthaler Strasse branch.
Run a Lighthouse accessibility audit and suggest fixes for any low-contrast elements.
Perform an SEO audit and verify all images have descriptive alt text.

See Chrome's agentic tooling in action

Watch how to set up Chrome DevTools for agents and how it pairs with Modern Web Guidance to close the build-and-verify loop.
Learn how to set up Chrome DevTools for agents and see agents debugging and verifying autonomously. This video covers installation, handshake, and using the CLI for batch actions.
See how Modern Web Guidance steers coding agents toward modern web features upfront while Chrome DevTools for agents verifies the rendered UI in a live browser.
Combined Chrome DevTools for agents with Modern Web Guidance to cut manual Core Web Vitals auditing overhead by 92% and new page turnaround by over 90%.
Integrated Chrome DevTools for agents and Modern Web Guidance into CI/CD to automatically diagnose and fix 90% of recurring CLS regressions.
Pair npx modern-web-guidance@latest legacy-scan with live DevTools verification to safely migrate legacy UI patterns to modern web features.