
W3C探讨AI代理访问网站时如何衡量成功
来源标题:When AI Agents Use the Web, What Counts as Success?
W3C正筹备成立Agentic Web工作组,其协调名单中的Web性能工作组被引出一个问题:如何判断AI代理与网站的交互是否成功。作者以AI代理搜索并预订酒店为例,指出从单个酒店网站视角看,代理的访问目标可能与人类用户截然不同,现有性能指标难以直接套用。
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
“Most of my work in web standards concerns digital identity, authorization, and the increasingly complicated question of what it means for software to act on behalf of a person.”
Web performance measurement is considerably further from my usual territory.
But as I’ve been studying the groups listed in the coordination section of the proposed W3C Agentic Web Working Group charter, I’ve been discovering why some of those connections matter. My recent exploration of accessibility raised questions about how agent-friendly websites might affect people who rely on assistive technologies. The W3C Web Performance Working Group brings a different question into focus.
How do we know whether an agent’s interaction with a website worked?
That sounds straightforward until we consider what an agent might actually be trying to accomplish.
Imagine asking an AI agent to find a suitable hotel for an upcoming trip. The agent searches several websites, compares prices and amenities, checks your preferences, and eventually recommends a hotel. Perhaps it books a room, or perhaps it advises you to wait because nothing meets your requirements.
From the perspective of an individual hotel website, the agent might have performed several searches and then disappeared without making a reservation. The website could reasonably interpret that as an unsuccessful interaction.
From your perspective, however, the agent might have done exactly what you wanted. The website and the user are measuring different things. That distinction becomes important when we start considering how the web should support AI agents.
And be sure to leave me a Rating and Review!
The Web Performance Working Group develops specifications that help browsers and websites observe and improve application performance. Yes, it takes a dedicated working group to figure this stuff out. For those of us who don’t spend much time in this area, it’s easy to think of web performance as simply measuring how quickly a page loads. The reality is considerably more sophisticated.
Modern websites are applications. They load resources dynamically, update portions of the interface without navigating to a new page, process user input, and perform operations that may take place long after the initial page has loaded.
Developers need to understand how those applications behave. How quickly does content become visible? How long does the browser take to respond to an interaction? Which resources are slowing things down? Is the application spending too much time processing work that prevents it from responding to the user? The Web Performance Working Group maintains specifications that provide ways to answer questions like these.
The Performance Timeline specification provides a common framework for observing performance measurements. Resource Timing provides information about loading resources, while Event Timing helps developers understand the latency of certain user interactions. These specifications provide shared definitions and mechanisms so that developers don’t have to invent their own ways of measuring every aspect of application behavior.
What I found particularly interesting, though, was the work currently occupying the group. Looking through its 2026 meeting agendas and TPAC discussions, I encountered work on Container Timing, Resource Start entries, Scroll Timing, and a proposal for a Declarative Performance Observer.
These are unfamiliar subjects for me, but I can see the common thread. The group is continuing to refine what can be observed about a web application, how those observations are represented, and which parts of an increasingly complex application should be treated as meaningful units of measurement.
The Container Timing work, for example, concerns observing performance within particular portions of an application. The discussions around navigation completion reflect another challenge: determining when an operation has meaningfully finished isn’t always obvious, even for conventional websites.
The group has also been discussing how performance observers should collect and deliver measurements. That may sound like a minor implementation concern, but the details matter if an application performs work asynchronously or if useful observations become available after the operation that triggered them.
I found these discussions helpful because they illustrate something the performance community has been dealing with for years: before you can measure whether something works well, you need to decide what you’re measuring. AI agents complicate that decision. Because of course they do.
When a person clicks a button, a browser can observe the interaction and measure how long the application takes to respond. An AI agent may interact with the same website very differently.
It might use an ordinary browser interface, inspecting the page and activating controls much as a person would. It might manipulate the DOM through browser automation. Or it might use a structured capability exposed by the website, avoiding the visible interface entirely. The WebMCP work is exploring that last approach: allowing websites to describe capabilities that agents can invoke directly.
For example, instead of finding a reservation form, entering details, and clicking a button, an agent might invoke a reservation capability with the required information. The website could measure how long that invocation took. It could record whether the operation returned a successful result or an error.
Those are useful measurements, especially for developers trying to make agent-facing capabilities reliable. But a successful invocation doesn’t necessarily mean the agent accomplished the user’s task.
Consider an agent instructed to purchase a product only if the total price, including shipping, stays below a specified amount. The agent could successfully retrieve product information, calculate the cost, and decide not to buy anything. Every operation might have worked perfectly, even though no transaction occurred.
Alternatively, the agent could successfully complete a purchase that violated the user’s instructions. The website might record a successful transaction while the user considers the entire experience a failure. That distinction between operational performance and user outcomes is at the center of an emerging discussion about agent measurement.
In August 2026, the Web Machine Learning Community Group discussed real-user measurement for WebMCP. Real-user measurement, often shortened to RUM, is an established approach to understanding how websites perform for people using them in the real world, rather than relying entirely on laboratory tests.
The WebMCP discussion raised two particularly useful questions. One concerned whether a website’s WebMCP implementation was working reliably at scale. The other concerned whether the user actually achieved what they were trying to accomplish.
Participants recognized that some information, such as tool invocations and timing, could be measured directly. Other information would be harder to obtain. An agent might find an interface confusing, or complete individual operations without satisfying the user’s request.
There was also discussion about whether the problem should be considered more broadly than WebMCP, since agents can interact with websites through several different mechanisms. The conversation remains open in WebMCP issue #186.
That work has influenced the proposed Agentic Web Working Group charter, which includes Agent Interaction Measurement as a tentative deliverable. The charter describes possible measurements covering capability invocations, incomplete executions, agent interactions with pages, and coarse indications of task outcomes. It anticipates building on the Performance Timeline and Reporting API, in coordination with the Web Performance Working Group.
This is a proposed direction, not an established specification or an agreed set of measurements. The Web Performance Working Group’s recent agendas don’t suggest that agent interaction measurement is already a major part of its work.
There’s considerable distance between recognizing that websites might benefit from better measurements and deciding what information the web platform should expose. And some of that distance involves questions that will be familiar to people working in digital identity.
Identity systems help establish who or what is acting and, through authorization and delegation mechanisms, what that actor is permitted to do. Performance measurement addresses another question: what happened when the actor interacted with the service? Those concerns can overlap, but the information required to answer them is different.
A website may need to know that a particular capability was invoked, how long it took to execute, and whether an error occurred. That information could help developers identify defects, improve reliability, or understand why agents struggle with a service. But should the website also know whether the agent ultimately accomplished the user’s broader objective?
Suppose the agent searches five hotel websites before recommending one. Each website has a legitimate interest in understanding whether its search capabilities worked. But does each hotel need to know which one the user ultimately selected? What if the agent’s instructions included private information about the user’s budget, personal circumstances, or reasons for traveling? A website might find that information commercially useful. That doesn’t automatically make it necessary for improving the website’s performance.
The proposed charter acknowledges this concern. It anticipates that agent interaction measurements should avoid exposing the contents of conversations between users and their agents, and that users should control whether certain outcome information is shared.
Those are sensible starting points, but they leave plenty of questions. How much detail is necessary to diagnose a failed interaction? Should outcome information be reported at the level of individual sessions, or would aggregated measurements be sufficient? Can useful information be provided without creating persistent identifiers that allow activity to be correlated? These questions become particularly interesting when different kinds of measurements are combined.
A recent paper, Large-Scale Measurement and Real-World Mitigation of Web Browser Fingerprinting in the Wild, by Tom Ritter and colleagues, examined browser fingerprinting using telemetry from nearly 25 million Firefox users. One of its important findings is that a relatively small combination of browser characteristics can make users identifiable, even when the individual characteristics don’t appear especially revealing.
The research doesn’t examine AI agents or agent performance measurement. But it provides a useful reminder that the privacy implications of collected information depend partly on what can be learned by combining observations. If we’re considering new kinds of agent interaction telemetry, we should understand those implications before determining what websites can collect.
There’s another aspect of this problem I’ve been thinking about through my Identity Salon work.
Some emerging agent architectures can create or invoke short-lived software components, use them for particular operations, and discard them once the work is complete. The underlying technologies aren’t necessarily new. Serverless functions, temporary workloads, and dynamically instantiated applications have existed for some time. But agent-driven systems may make these patterns more common and more complex. An agent might initiate several operations across different services, some of which complete quickly and others of which continue asynchronously.
That introduces a practical measurement challenge: how do we associate observations with a meaningful interaction when the components involved may exist only briefly?
The Web Performanc
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。
