What Agentic Web Performance Looks Like

What Agentic Web Performance Looks Like
Illustration by Jeffrey Phillips
Ben Schwarz

Ben Schwarz

December 1, 2026

In this article

As I noted in Airline websites are slow, but they don’t have to be, the majority of reported performance problems are actually straight-forward to fix.

The problem is that the people who could make the fixes often don’t have the context, and even if they did, they aren’t scheduled to work on it, so it never happens.

Ask what’s slow, get an answer#

Prior to MCPs, a normal performance investigation session might involve dashboards, spreadsheets, API documentation, scripts, a whole lot of JSON, and an expert with a hunch.

What changed is MCP — a standard way to hand a coding agent (Claude Code, Cursor, Copilot and the like) read access to a tool’s data. Unlike a raw API, an MCP returns data already summarised with the context the agent needs: not 4,000 lines of JSON, but “your LCP element on mobile is img#hero-image and it takes 5 seconds to render.”.

Today, I believe we can be more effective. Real user monitoring (RUM) is what your actual visitors experienced. CrUX is Google’s public sample of the same, for any site. Synthetic tests are lab runs you control, so you can test a change before it ships. The agent needs all three: RUM to find what matters, synthetic to prove a fix.

In an interactive session, you can ask why LCP is slow, and you’ll get a clear answer.

That’s agentic web performance:

  • Answers come from your data. The agent reads your tests and your visitors’ session metrics.
  • Agents can make best practice fixes. Powered by the context of your codebase, supplemented by Modern Web Guidance, you can make fixes that ship less JavaScript, and rely on browser features instead of libraries.
  • Every fix gets measured. The same data that found the problem confirms it’s gone.
  • You decide what ships. The agent proposes fixes, you review it like any other change.

With Element Attribution & INP tracing, you can immediately identify elements, scripts or URLs that are delaying and interrupting your users.

A terminal showing the prompt about LCP and the agent’s answer: the hero image is the LCP element, two stylesheets block first paint, and three fixes in order.

Connect your data#

Connecting Calibre MCP gives your agent read-only access to Real User Monitoring (RUM), Synthetic tests, Chrome User Experience Report (CrUX) data, Deploys and Pull Request Reviews.

Connecting takes only a minute, click through to securely connect Claude, Codex, GitHub Copilot, ChatGPT or many others, then ask:

  • “What’s our worst, most traffic-heavy page on mobile?”
  • “What’s the best change we could make to raise LCP site-wide?”
  • “Are scripts blocking on the Add to cart button?”
  • “Which third parties are slowing our real visitors down the most?”

Or pick a ready-made prompt, thats included with Calibre MCP, like:

  • “Install RUM on my site” (/calibre:install_rum)
  • “Fix the worst issue” (/calibre:fix_worst_issue)
  • “Raise Lighthouse scores” (/calibre:raise_lighthouse_scores)
  • “Check my GitHub pull request” (/calibre:check_pull_request)
  • “Check a deploy” (/calibre:check_deploy)
  • “Get me a site-wide Insights report” (/calibre:insights_report)
Tip

Add data-name attribute to key elements, so they can be easily identified by Calibre RUM and found in your code.

Fix the worst issue first#

Fixing the worst issue first is a surprisingly effective strategy, with or without agents, but with an agent and real user data, you can find issues for your most trafficked pages, elements, scripts and third parties.

Using "Fix the worst issue" prompt several times in a row, we were able to identify and fix numerous issues for multiple websites in a single session. Half a dozen pull requests in under an hour is hard to argue with. They included:

  • Fixing forms with slow INP: several forms suffered submission delays due to blocking analytics scripts.
  • Fixing edge/CDN caching that caused slow TTFB and LCP: not all pages had good caching headers, and some error pages were incorrectly cached.
  • Fonts: Shrinking font files using subsetting or variable fonts and making sure they were correctly preloaded.
  • Poorly sized images: desktop sized images were served to mobile users, and upgrading to WebP and AVIF.

None of those pull requests needed a performance specialist, or deep research. Anyone who can read a diff can ask what’s slow, get a fix based on their own real user data, and ship it — without knowing where to look first.

Fix the worst thing properly and move on to the next thing that matters. Every change lands with the measurement attached. Quality goes up!

Prove it worked#

With performance work, there’s finding and fixing the issue, and then the all important step of proving it worked, and sometimes, reporting that to your team or client.

Pull Request Reviews run synthetic tests against the branch and compare it with production. In the review below, the home page’s mobile LCP halved, from 2.32s to 1.16s. The product page only moved from 4.23s to 3.72s — so the agent kept the PR marked work-in-progress rather than calling it done.

A terminal reading a Calibre Pull Request Review: home page LCP on a budget phone fell from 2.32s to 1.16s, and the product page from 4.23s to 3.72s. The agent keeps the pull request marked [WIP] while it serves a phone-sized hero screenshot to bring the product page under 2.5s.

The agent knew there was more work to be done, and let me know.

By recording production deployments in Calibre, and running post-deployment Snapshots, you can get a near instant confirmation of performance work, and you can check in later when real user data has been collected.

Let it run on a schedule#

Like all automation, agents can be scheduled. You can setup a weekly or monthly task to check your site’s performance, and even open pull requests to fix the worst issue it finds.

Once a pull request is open, the agent can check its own work with a Pull Request Review. When you arrive to review, you’ll see:

  • What was slow, and how bad it was.
  • What was changed, and how it fixed the problem.
  • Proof it worked.

Where required, you can step in to make further changes, or approve and merge the pull request.

Compare with competitors#

Calibre MCP also extends CrUX data for any public site or page.

Having CrUX data at your fingertips means you can easily collect and compare Core Web Vitals for your site and competitors.

A terminal comparing mobile CrUX data: nytimes.com INP 155ms, LCP 2.29s, CLS 0.05; bbc.com INP 145ms, LCP 1.57s, CLS 0.02.

Measure in the browser#

Sometimes it can be helpful for agents to collect data directly from the browser, it can see what causes interaction delays (INP), or layout shifts (CLS) over time, then measure a before and after of a code change. This is where the browser MCPs come in.

Chrome DevTools MCP, Safari MCP and Firefox MCP all let an agent drive the browser: load the page, record a performance trace, throttle the CPU and network, explore the DOM and network requests.

Tip

Consider using new user-profiles for your browser when using a coding agent or automation. This ensures that the agent sees a clean profile, without any extensions or cached data that could affect performance measurements, as well as protecting your own browsing history or personal data.

Why this works now#

Collapsing knowledge, metrics, and time into one conversation means it’s no longer a specialist’s side-quest, but a simple question and answer.

Paul Burgess, an early Calibre MCP user, uses it to prepare reports for clients, and to keep track of the work he’s done. He says:

The Calibre MCP lets me bring Calibre and WP Umbrella together in one place. I use it to keep records of the work I do, track what needs doing next, and put together short reports for clients showing what the issue was, the before and after numbers, and how it was fixed.

Paul Burgess, Director, delarge

To try it:

  1. Start a free trial and add your site.
  2. Connect Calibre MCP.
  3. Ask what’s slowing your site down.

See what’s new in Calibre MCP and every tool your agent can use.

Ben Schwarz

Ben Schwarz

Ben is the Founder and CEO of Calibre. He uses his experience in far-reaching Open Source projects and web standards to build tools for a better, more accessible web. Find him on Bluesky Mastodon or LinkedIn.