How to measure the use of software by AI Agent
<!doctype html>
Machine-assisted translation. Read the Chinese original.
How to measure the use of software by AI Agent
Unified measurement basis for CaaS and Agent Capability Economy
Whitepaper v0.2 · AgentMeasure Standard Draft 0.4
Author: Roy Tong (Xiarui) Reference implementation: AgentMeasure repository (GitHub).
Summarize
AI Agent is increasinglyRepresent users and organizationsSelect, call and trade with the software. When Skill, MCP server, When API and CLI interfaces are becoming easier and easier to create and distribute, the economic value is increasingly concentrated on the scarce capabilities behind them: Exclusive data, computing power, execution, authority, transaction and real-world performance.
This causes the problem of measurement before the problem of payment. An ability should be able to be reliably priced, compared, billed and Optimization, ecology must first be "what is the choice, what is the first operation, what is the successful delivery, what is the result is consumed, What is the result and what is the billing unit" reached a consensus.
AgentMeasure proposes a set of open measurement standards for this emerging Capability Economy: Reach → The common data language of Choice → Use → Utility → Value, plus future Metering, Marketplace and The payment track can construct the measurement semantics on it. The goal is not the dashboard, but to letCapability as a Service (CaaS, usage in this article) becomes the basis of measurement that is possible。
I. From SaaS to Capability Economy
Software distribution once had a readable link: download, installation and use. Each era has its own economic unit. The following description The transformation isIncrement, not substitution: coexisting with seat-based SaaS and request-based API, Callable capabilities are becoming a new economic unit of software consumption of Agent intermediary.
SaaS
人 → 应用 → 席位 / 月
API Economy
软件 → API → 请求 / Token
Capability Economy
Agent → Capability → 操作 / 结果
Three forces promote the migration to the third line:
The interface is absorbed by Agent.UI and workflow are increasingly executed by Agent instead of being presented to others. Software All that's left is a callable coat - skill file, MCP tool, CLI, endpoint.
Distributed products are being commercialized.Open Skill, open MCP adapter, open CLI, anyone can Create and release within a few hours.Interfaces may become cheap and easy to make; capabilities are still scarce deliverables.
Scarcity is moving down.The scarcity layer is no longer the application shell, but the access rights controlled by the call outer shell:
数据 · 算力 · 动作 · 权限 · 信任 · 真实世界履约
Search ability is scarce because of indexing; reservation ability is scarce because of the ability to confirm reservations; and payment ability is scarce because of the ability to move money. When business value is concentrated on ability, the natural economic unit becomes operation, quantity, effect, result - or any of them. One item of income share.
If Capability becomes an economic unit, Capability measurement becomes infrastructure.This is the argument of this article.
Thesis and assumptions (Thesis and assumptions)
AgentMeasure is based on threeIt has not been fully confirmed yet.On the trend judgment of:
- Agent will mediate more and more software selection and execution.
- More software capabilities will be exposed independently from its human UI.
- The business model based on use, effect and result will coexist with seat-based pricing.
Even if these trends develop unevenly, measurement standards are still useful: objects, quality rules and claims that discipline itself is established as A set of Agent software measurement standards.
II. Measurement Before Monetization
To be able to price, bill and build a reputation, CaaS must first have a common measurement semantics. Four questions illustrate this point:
一个用户任务 → 1 个 Operation → 3 次重试
收 1 次钱还是 3 次?
工具成功返回 → Agent 忽略了结果
价值交付了吗?
预订 API 执行了 → 预订从未被确认
能力履约了吗?
任务成功 → 没有这个能力也能成功吗?
Provider 能主张价值吗?
These questions cannot be answered by the original number of calls, nor can they be answered by the payment track. They need aboutoperation / attempt / delivery / consumption / effect / outcomeThe consistent definition of, and Turn observations into consistent rules of these objects. This consensus is the entry point:Measure first, then realize。
Realistic evidence: commerce comes before measurement
This is not a hypothesis - the payment and discovery infrastructure of Agent intermediary commerce already exists:
- Cloudflare Agents SDKAllow MCP Tool to be priced by a single call and charged by x402 (Charge for MCP tools)。
- Coinbase x402 BazaarIt is the discovery layer: Agent searches for services with price and schema, and through MCP Complete the paid call (x402 Bazaar)。
- Agentic Commerce Protocol (ACP) of OpenAI and StripeAlready in the real agentic Used in the commerce process (Report)。
This proves the argument of this section:Payment and discovery infrastructure comes before the common capability measurement semantics—— This is exactly the vacancy that AgentMeasure wants to fill.
III. Objects of measurement
Observation is a unit of evidence, not a unit of business measurement.AgentMeasure first define the business unit:
Provider
↓
Software Entity
↓
Capability
↓
Interaction Surface
Capability is the main function and measurement object. Offering is the commercial package of one or more Capability.——Defined in Commercial Extension (experimental), never insert Core measurement spectrum.
| Object | Definition | Tier |
|---|---|---|
| Software Entity | The measured software: Tool, Skill, API, Data Source, Agent, Application, Runtime Capability | Market |
| Capability | Named functions of entities - main functions and measurement objects | Market |
| Interaction Surface | The observable call interface of the ability (mcp_tool, cli_command, http_endpoint...) | Market |
| Decision Opportunity | A tool selection decision | Behavior |
| Candidate Set | The collection of candidates really provided by the decision | Behavior |
| Presentation | A selectable appears in the candidate set. | Behavior |
| Selection | Agent selects a selectable | Behavior |
| Operation | For a task to a Capability onceLogical use | Behavior |
| Attempt | An actual execution of Operation (Retry = Multiple Attempts) | Behavior |
| Result / Effect | What has the ability returned / What has the world changed? | Behavior |
| Task | The task unit served by Operation | Behavior |
| Client | Independent Agent runtime / installation | Market |
| Project | Software projects belonging to package/MCP/skill | Market |
| Category | Comparable capability categories (search, booking...) | Market |
| Observation | Evidence record of measurement facts (authentication and signature are optional, defined by verification profiles) | Evidence |
Observe what happened inInteraction SurfaceLayer; belongs toSoftware EntityIt can be read by machine. Registry analysis - never guess when observing.
Pricing is not the object of the core model. Offering——Cite one or more commercial packaging of Capability,
Including allowed surface, pricing policy, service level objectives and commercial constraints - defined in Commercial Extension
(Experimental, non-normative), so that the evolution of measurement semantics is not kidnapped by any payment design.
Distribution events (Distribution events)
After commercial attribution enters the scope, discovery regains commercial significance - but does not become the denominator of choice:
Published → Listed → Retrieved / Discovered → Presented
PresentedIt is still the denominator of the selection index;DiscoveredIt's a distribution attribution event, answerWhich Skill / Registry / Marketplace brings Capability to use。
IV. Agent–Capability Interaction Model
Reach → Value is the measurement angle, not the universal execution state machine.Different categories of abilities have different meaningful links:
Information 操作 → 结果 → 消费
Action 操作 → 效应 → 确认
Transaction 操作 → 授权 → 提交 / 结算
Interaction Class (information / action / transaction / computation / Communication / control / storage / sensing) decide which link and which Utility signals are applicable Meaningful. The search results areConsume; The reservation isConfirm; paid to beSettle an account. Put all the abilities into an assembly line, The output numbers will lose their meaning.
V. Measurement framework
Definition of AgentMeasureMetric Families, does not define the global North Star.
M1 Distribution — Reach。Has the ability entered the Agent world?Available Clients · Eligible Opportunities · Presentations · Presentation Rate · Distribution Coverage
M2 Choice - the most Agent-native.Will Agent choose it when he has a chance?选择数 · Observed Selection Rate(Observed Selected ÷ Presented)· Conditional Choice Share · 首选率
M3 Execution — Use。Is it easy to use after choosing it? Draft 0.4 Separate Count Operation and Attempt—— This is exactly the difference that Metering needs in the future:
Operations · Attempts · Attempts per Operation
Operation 完成率 · Operation 成功率
Attempt 失败率 · 重试率 · 延迟
M4 Utility - Effective use.Does the ability deliver available information or trigger the expected effect?
Result Utility 已交付 · 已消费 · 已接受
Effect Utility 已应用 · 已确认 · 已回退 / 失败
M5 Outcome — Value。Have you improved the task?任务成功关联 · 增量提升 · 节省时间 · 节省成本
Relationship measurement(Degraded from an independent chapter to a subsection): Trial → Active → Repeated → Preferred → Dependent. The most irreplaceable Dependent is still the long-term asset signal.
VI. Measuring quality and claiming discipline
The quality of evidence is not the quality of covering, neither of which is a qualified quality, nor is it a methodology. A group is 100% real but only covers The incident of 2% Agent is not market data.
Measurement Quality
├── Provenance / Evidence Strength 观察来自哪里?其来源被支持得多强?
├── Coverage 我们看到了多少世界?
├── Qualification 这算不算真实生产使用?
├── Sampling 采样了吗?不确定性多少?
├── Identity 标识归一得怎么样?
└── Method/version 用什么统计、哪个规范版本?
Limited use.Each observation carries two axes - Usage Context (flow source) and Validity (observation whether
True).Strict Qualified Usage = production + validity=normal: of public indicators
Default caliber. The context/validity of unknown is disclosed separately, and it is never included silently - no "report unknown →
The motivation of "entering the ranking list". Retry is another Attempt of the same Operation, which is reserved as a reliability signal and does not count
Use logically many times.
Claim discipline.Each public indicator carries Measurement Label: numerator, denominator, observable population, qualified Crowd, runtime coverage, grain, choice mode, decision authority, selection constraint. Observed choices are never said to be preferences; associations are never said to be cause and effect; unobservable choices are never said to be negative.
VII. Measurement and Metering (Measurement and Metering)
The bridge from the measurement standard to CaaS is semantic:Measurement unit ≠ Billing unit, and the three measurement concepts must Absolutely separate--EventWhy is it billed?UnitIn what unit is it?QuantityWhat is the unit:
| Ability | billable_event | billable_unit | billable_quantity |
|---|---|---|---|
| Seek | operation_succeeded |
operation | 1 |
| Data | result_delivered |
record | 1,382 |
| Computing power | compute_completed |
gpu_second | 47.2 |
| Action | effect_confirmed |
operation | 1 |
| Reserve | effect_confirmed |
booking | 1 |
| Clue | outcome_qualified |
qualified_lead | 5 |
| E-commerce | transaction_settled |
transaction | 0.03 (income share) |
Therefore, measurement semantics is defined by Offering:
Billable Event 哪个测量事实触发计费
Billable Unit 计量单位(操作、记录、GPU-秒、效应…)
Billable Quantity 单位如何计数(按策略:attempts、确认…)
Pricing Model 按操作 · 按数量 · 按效应 · 按结果 · 收入分成
Pricing Policy 版本化的价格规则(flat、阶梯、企业协议、surge…)
Quote 单次调用实际适用的条款(quote_id、policy 版本、单价)
Metering Policy 测量事实 → 计费事实的映射(规则、排除),版本化
Metering Ledger 可重放、可纠错的计量事实账本(revision / supersedes / reversal)
Commercial Attribution 哪些参与方贡献了发现 / 选择 / 收入
Payment is not within the scope.AgentMeasure does not define payment track, wallet, settlement currency, merchant record relationship or Financial escrow. It outputs the facts of payment system consumption - qualified operation, confirmed effect, qualified result, billing quantity, Business attribution.
AgentMeasure standardizes economic facts and does not move money.
VIII. Attribution and increment
Ability to participate in successful tasks does not mean that it leads to success.
- Attribution measurement(Observational): Which abilities participate in the task chain - can only support the conclusions of "association" and "participation in the execution chain".
- Incremental measurement(Counterfactual): How much additional value does the existence of ability create - random comparison is the strongest Evidence, but many abilities cannot be turned off randomly. Therefore, cause and effect claim to followValue Evidence Ladder:
V0 Association 任务成功时参与过
V1 Matched / Observational 控制已知混淆变量比较
V2 Offline Ablation 重放任务、移除能力
V3 Quasi-experiment switchback / 自然变异
V4 Randomized Holdout 最强因果证据
It is only allowed to use the actual output evidence level to support the corresponding causal claim intensity - which is consistent with the discipline of measuring quality.
Business attribution extends the observation side to the distribution chain:
GitHub Skill → Registry → Agent 推荐 → Capability → 支付
Who contributed the discovery, choice and income? This is the basis of the future Agent affiliate and income sharing model - and never It is confused with the causal increment.
IX. Capability Trust and Comparability
The choice of capable consumers is shaped by many factors. Agent and Marketplace can be in brand, policy, price, User preferences and platform constraintsBesidesMore and more machine-readable performance signals are compared - this is exactly AgentMeasure. The axis described by the Decision Authority / Selection Constraint model:
Capability Signals
可靠性 · 延迟 · 价格 · 新鲜度 · 消费 · 效应成功 · 结果 · 安全 · 测量覆盖
AgentMeasure Do not calculate the general AgentMeasure Score. Agent A cares about the price, Agent B cares about the delay, Agent C cares about privacy. Ranking is the product decision-making of Agent and Marketplace; the standard only defines metable signals. And the Label that allows them to be compared. Measurement Label is the basis of this comparability.
X. Observation and Deployment Architecture (Observation& Deployment Architecture)
Different measurement surfaces can see different things; unilateral access is valuable, but it is claimed that it must match the surface:
分发侧 → Agent Runtime 侧 → Provider 侧 → 效应 / 结果侧
| Surface | What can I see? |
|---|---|
| Registry | Discovery / Availability |
| Agent runtime | Present / Select / Consume |
| Capability provider | Operation / attempts / result |
| Target system | Effect / Transaction |
| Experimental layer | Incremental |
Bilateral observation (Agent runtime + provider) constitutes supporting evidence (E2); only the Provider side is enough to support The usage index of provider-scoped. The standard is not on the request key path: observe asynchronous output, only metadata, Pseudo-anonymous before the market.
XI. Interoperability
The standard is transport-neutral and vendor-neutral. The existing infrastructure is used as an example of implementation rather than a prerequisite: MCP carries life cycle events and trace context; OpenTelemetry carries tool span; Codex/Claude Code/DeepSeek Harness exposes the observation point of the capability statement; registry provides entity identity. Future payment The fact of the orbital consumption standard is not the core of the extended standard.
12. What not to do and manage
AgentMeasure NoPayment protocol, Marketplace, wallet or general reputation system. Standard No:
- Move money or escrow funds;
- Rank the ability or score the Provider;
- Define what is "good" ability;
- Any central server, Agent-side installation or open source Provider is required.
The standard itself is governed by the community (AUP process,proposals/); The commercial products based on it shall not be controlled
The definition of the standard.
XIII. Open issues
- Mission boundary: What is a "task"? Who defines it?
- Effect verification: How to confirm the effect (reservation confirmation, payment settlement) without deeply integrating each target system?
- Scale increment: How to run anti-fact experiments across ecology without interfering with production?
- Observability of candidate sets: Presented is the key denominator, and most runtimes have not exposed the routing layer signal.
- Cross Agent identity: The same client cross Codex/Claude/DSH - when can we know?
- Consensus of billing units: What measurement facts will the Provider and the payment track eventually agree on, and what is the cost of mismeasurement?
- Privacy: How far can the association and retention go under pseudo-anonymity?
XIV. Conclusion
Software consumers are changing from people to agents, and economic units are changing from seats to callable capabilities. In the ability being priced, Before billing and comparison, ecology needs a set of shared measurement language - what is selection, what is operation, what is delivery, Consumption, effects and results, and which numbers can support which conclusions.
AgentMeasure is the proposal: measure semantics as infrastructure, business semantics as future expansion, and pay to Other people's tracks.Today: Let developers know how Agent can really use their abilities. Next step: let Capability can be measured, compared and measured across Agents. Long-term: Become CaaS and Agent Capability The unified measurement basis of Economy.
Reference
- RFC 2119 / BCP 14 — Key words for use in RFCs to Indicate Requirement Levels。
- OpenTelemetry GenAI semantic conventions —
gen_ai.*The tool calls the telemetry field. - Model Context Protocol (MCP) specification - tool discovery and call surface.
- MCP Registry - server identity entrance of entity resolution.
- EDPB - Pseudo-anonymization guidelines (pseudo-anonymous data may still belong to personal data).
- Cloudflare — Charge for MCP tools(x402 / Agentic Payments)。
- Coinbase — x402 Bazaar:Discover & pay over MCP。
- OpenAI / Stripe — Agentic Commerce Protocol (ACP), released in September 2025; seeDigital Transactions Report。
- AgentMeasure Specification - Core / Metrics / Data / Entity / Quality / Correlation
(
standard/);Commercial Extension(extensions/COMMERCIAL.md, experimental); Machine-readable registry (schemas/、registry/); Reference implementation and conformance vectors Released in the same warehouse.
The full text of the specification (measurement object, life cycle, indicator family, quality, report) and reference implementation (AgentMeasure) have been open sourced. AgentMeasure 1.0 graduation standard: 2 independent implementations, 3 runtime profiles, 2 tool-side implementations, public conformance + canonical test vectors, 5-10 real projects, published discrepancy report, security and privacy review.