Hablich says coding agents could generate code but often lacked ways to validate it. Sending them a multi-megabyte trace with about 50,000 lines of JSON overwhelmed their context windows. DevTools instead returns Markdown and semantic summaries that point agents to relevant performance findings, such as Core Web Vitals.
Building Agent Interfaces: Lessons from Chrome DevTools (MCP) for Agents
Speaker
Michael Hablich, product manager for Chrome Developer Tools at Google and a university guest lecturer, shares lessons from building Chrome DevTools for agents at an AI Engineer event.
Hablich separates effectiveness, whether an agent completes the task, from efficiency, measured through tokens, tool calls, and duration. He recommends tracking tokens per successful outcome within specific user journeys, since scraping a page and debugging a responsive layout have different costs. DevTools also limits niche tools, offers a slim mode, and provides a CLI for chaining commands and post-processing locally.
Useful error messages can help an agent correct its own mistakes; DevTools added guidance when a requested history entry could not be found. The team also uses proactive detours to steer performance profiling toward its trace tool, plus a troubleshooting skill for MCP setup problems. After finding that one broad debugging tool was ineffective and 25 tools were hard to navigate, Hablich emphasizes clear descriptions that explain purpose and when to use each tool.
DevTools Autoconnect lets a person share their Chrome session with an agent, but Hablich argues that repeated consent prompts are intentional safeguards. He describes different protections for local development, controlled CI environments, and agents with full internet access, including separate profiles or containers, domain allowlists, and prompt injection mitigations. A shared browser tool does not mean these environments should share a security model.
Takeaways
- Measure both task completion and tokens per successful outcome, comparing similar user journeys.
- Summarize large data sources into focused, semantic results agents can act on.
- Keep niche tools out of default context and use local command chaining when it reduces model processing.
- Write tool descriptions with clear purpose and activation criteria, then review them as models change.
- Match consent and browser isolation to the agent’s environment and level of internet access.
Mentioned in this talk
Search inside this talk
What was claimed 11
- works atMichael Hablich works at
GoogleProduct Manager, Chrome DevTools and Puppeteer“I'm the product manager for Chrome Developer Tools at Google”
YouTube Verified2 sources· Talk, Web· archived
- feature
Chrome DevTools MCP: Performance tracing that analyzes results and performance insights, acts on them, and validates improvements“it runs a trace, analyzes the results and performance insights, acts on them”
YouTube Unverified1 source· Talk
- integrates with
Chrome DevTools MCP integrates with
Gemini CLI“Gemini CLI has the MCP server configured”
YouTube Unverified1 source· Talk
- integrates with
Chrome DevTools MCP integrates with MCP“Gemini CLI has the MCP server configured”
YouTube Unverified1 source· Talk
- integrates with
Chrome DevTools MCP integrates with OpenClaw
“it also works in Claude Code, Codex, OpenClaw”
YouTube Unverified1 source· Talk
- integrates with
Chrome DevTools MCP integrates with Codex
“it also works in Claude Code, Codex, OpenClaw”
YouTube Unverified1 source· Talk
- integrates with
Chrome DevTools MCP integrates with Claude Code
“it also works in Claude Code”
YouTube Unverified1 source· Talk
- feature
Chrome DevTools MCP: Semantic summaries for performance data“they now return Markdown and semantic summaries”
YouTube Unverified1 source· Talk











