◉ANTIGRAVITY LABJP
Articles/Antigravity Basics
◉ Antigravity Basics/2026-05-23Advanced

Wiring Antigravity 2.0 to Chrome DevTools for agents 1.0: Lighthouse Audits, Extension Debugging, Memory Hunts, and an Operational Plan

Chrome DevTools for agents 1.0 went stable and now ships bundled with Antigravity 2.0. Here is the practical setup I run across my 50M-download indie app business: Lighthouse audits, extension QA, memory leak triage, and auto-connect rules.

Antigravity377Antigravity 2.016Chrome DevToolsMCP26LighthouseDebugging4Memory

✦ Premium Article

I have been using Chrome DevTools (MCP) since the public preview to tune the marketing sites for my indie app business and to test the small extensions I run alongside Antigravity. On 19 May 2026 it graduated to Chrome DevTools for agents 1.0, bundled inside Antigravity 2.0, and I took that as a cue to redo my setup from scratch.

I have been shipping mobile apps independently since 2014, and the portfolio crossed 50 million downloads a few years ago. The pieces below come from running this stack against real release weeks: where I let Antigravity 2.0 drive the browser, where I keep the keys, and how I divide the surface so I can sleep.

What "stable" actually changed

If you watched the preview, the changes condense to:

  • The product is renamed from Chrome DevTools (MCP) to Chrome DevTools for agents 1.0
  • Three install paths now: standalone npm, bundled in Antigravity 2.0, and via internal commands in Gemini CLI / Claude Code
  • A first-class Lighthouse audit surface that returns the report as JSON the agent can reason over
  • A dedicated memory analysis tool that does leak detection inside the agent loop
  • Auto-connect to an already-open browser instance is reliable enough to live in production playbooks
  • The WebMCP protocol now lets the agent talk to tools exposed by page JavaScript directly

The two preview pain points I felt — Lighthouse hangs mid-run, and extension hot-reload occasionally breaking after auto-connect — both went quiet in 1.0. Even at runningLightSpeed: fast, the report handling no longer wedges on me.

Pick three connection paths and stop there

If you wire this MCP from too many places, the agent loses the thread when something fails. I narrowed mine to three.

1. Inside Antigravity 2.0 (GUI-leaning work)

Launching Antigravity 2.0 and running agy registers Chrome DevTools for agents as an MCP server automatically. From there I run /mcp to inspect connection state, /skills to see exposed agent workflows (accessibility audit, performance audit), keep /permissions at request-review, and run one trivial browser task first to confirm the round trip.

agy run "open https://example.com, run a quick accessibility scan, summarise the top three issues"

2. Through Claude Code (code-leaning work)

If you live in Claude Code, the install is one command:

claude mcp install chrome-devtools-for-agents
claude mcp ls

I prefer this path when I am iterating on the front-end and want the agent to actually see the rendered DOM as I am editing it. The feedback loop sits closer to the code.

3. The npm CLI (CI integration)

For CI, I install the binary directly:

npm install -g @google/chrome-devtools-for-agents
chrome-devtools-for-agents --version

This path only runs my pre-release smoke check around AdMob changes: collect Lighthouse and Web Vitals, fail the build on threshold misses, then ask an agent to triage the regression in a follow-up step.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦How to split work between the Antigravity 2.0 bundle, Claude Code, and the npm CLI for Chrome DevTools for agents
✦Operational defaults for Lighthouse audits, extension debugging, memory analysis, and auto-connect that survive real release weeks
✦Permission tiers for agents on the browser side: read, write, and dangerous, with the prompts I actually use
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $15 for lifetime access
View Membership →

Related Articles

◉ Antigravity2026-08-02
I Copied the Same agent.md Into Another Repo and It Quietly Did a Different Job
CLI 1.1.6 lets you carry agent definitions around as files. I dropped one definition into eight repos, built a preflight that resolves its declared capabilities before the agent runs, and measured it against a naive checker.
◉ Antigravity2026-09-26
I Counted My Rules Against the 20,000-Token Budget in Antigravity 2.17.0 Before Upgrading
Antigravity 2.17.0 gives rules their own 20,000-token budget. My six operating rule files came to 28,613 tokens, so the two largest would be demoted to pointers. Here is a small script to count yours first, and how I chose what to demote myself.
◉ Antigravity2026-09-13
When You Cannot Decide Between Rules and Skills: Rethinking Where Instructions Live
Rules and Skills load at different moments in Antigravity. Rules go in full on every turn; Skills lead with a heading and load the rest on demand. After the same note drifted apart in two places on a client site, here are the questions I use to place an instruction, plus a small script to measure what you carry each turn.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links