Skip to content

Commit 1081318

Browse files
Roy tongRoy tong
authored andcommitted
叙事层重构:README 重写(CaaS 三层叙事 + Today/Next/Long-term + 部署架构 + Is/Is-not + 5 处一致性修复);Whitepaper 中英重写(14 章 foundational 结构,Whitepaper v0.2 / Standard 0.4,Measurement→Metering、Observation Architecture、Non-goals);新增 extensions/COMMERCIAL.md(Experimental Profile);ROADMAP 双轨
1 parent 71eb68e commit 1081318

7 files changed

Lines changed: 1027 additions & 621 deletions

File tree

README.md

Lines changed: 169 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,57 @@
11
# AgentMeasure
22

3-
**A proposed open measurement standard for software used by AI agents.**
3+
**Open measurement infrastructure for the Agent Capability Economy.**
44

5-
> AgentMeasure is an open measurement standard that uses a unified data language to
6-
> measure how AI agents discover, choose, and use software — and how much value that
7-
> software ultimately creates.
8-
>
9-
> Traditional software metrics measure what humans download and use. AgentMeasure
10-
> measures what agents see, what they choose, what they actually use, and whether
11-
> those choices create value.
5+
AgentMeasure defines a common language for measuring how AI agents discover, choose, use, and derive value from software capabilities.
6+
7+
**Today:** measure agent-facing capability usage.
8+
**Next:** make capabilities comparable and meterable.
9+
**Long term:** provide the measurement foundation for Capability as a Service (CaaS).
10+
11+
**Reach → Choice → Use → Utility → Value**
12+
13+
> AgentMeasure is **not** a payment protocol, marketplace, or universal ranking system.
14+
> It standardizes the facts and measurement semantics those systems can build on.
15+
16+
---
17+
18+
## Why capabilities need a new measurement layer
19+
20+
The software consumer is changing from humans to agents, and the economic unit is shifting from software seats toward callable capabilities.
21+
22+
```text
23+
Skill / MCP / CLI / SDK
24+
25+
Describe / expose / distribute a capability
26+
27+
Capability
28+
29+
Data / Compute / Action / Permission / Transaction
30+
31+
Creates scarce economic value
32+
```
33+
34+
**Interfaces may become cheap to create; capabilities remain scarce to deliver.**
35+
36+
The first generation of capability distribution is already here — open Skills, open MCP adapters, open CLIs. The scarce layer underneath them is what the next economy is built on: proprietary data, compute, execution, permissions, and real-world fulfillment.
37+
38+
## From software to capability economy
1239

13-
[Whitepaper](whitepaper/measuring-software-used-by-ai-agents.md) · [白皮书(中文)](whitepaper/agent-tool-economy-zh.md) · [Core Specification](standard/CORE.md) · [中文](README.zh-CN.md)
40+
```text
41+
Human Software Economy
42+
User → UI → SaaS → Seat / Month
43+
44+
45+
46+
Agent Capability Economy
47+
Agent → Capability → Execution → Outcome
48+
49+
Usage / Value / Transaction
50+
```
1451

15-
## Why
52+
If a capability is to become an economic unit that agents can discover, compare, and eventually purchase automatically, it must first be **identifiable, measurable, and comparable under a shared semantics**. That is what AgentMeasure provides.
1653

17-
Agents are becoming software's new consumers, but every existing signal breaks down —
18-
download counts measure humans, not agents; self-reported installs are gameable;
19-
registries don't expose adoption data.
54+
Traditional usage metrics cannot support this economy — the old chain breaks at every link, and the last link is new:
2055

2156
```text
2257
Install ≠ Available
@@ -25,63 +60,133 @@ Presented ≠ Selected
2560
Selected ≠ Used
2661
Used ≠ Useful
2762
Useful ≠ Incremental Value
63+
Measured Usage ≠ Billable Usage
2864
```
2965

30-
AgentMeasure answers five questions: **Reach → Choice → Use → Utility → Value**
66+
The last inequality is why the Operation/Attempt model matters commercially: 3 attempts of one operation are not 3 billable operations — unless the metering policy says so.
3167

32-
1. **Reach** — does my software enter an agent's selection range?
33-
2. **Choice** — when an agent has the opportunity, does it pick me? (Observed Selection Rate / Conditional Choice Share)
34-
3. **Use** — after being chosen, is it actually used?
35-
4. **Utility** — does using it produce useful results? (Result Consumption)
36-
5. **Value** — without me, would the agent's outcome be worse? (Incrementality)
68+
## The measurement view: Reach → Choice → Use → Utility → Value
3769

38-
## Five-layer measurement framework
70+
AgentMeasure defines **metric families**, not a universal KPI. A search capability, a booking API, and a compute job have different value structures.
3971

4072
| Layer | Question | Representative metrics |
4173
| --- | --- | --- |
42-
| Reach | Did it enter the agent world | Presented Opportunities、Active Clients |
43-
| Choice | Would it be chosen when given the chance | Observed Selection Rate、Conditional Choice Share |
44-
| Use | Is it usable once chosen | Logical Invocations、Completion Rate、Success Rate |
45-
| Utility | Was the result used | Result Consumed Rate |
46-
| Value | Did it create value | Incremental Task Success(Draft 0.5) |
47-
48-
## Core concepts
49-
50-
- **Decision Opportunity / Candidate Set / Presentation / Selection** — the four
51-
objects of choice behavior; the Observed Selection Rate denominator is Presented,
52-
not Available
53-
- **Observed Selection Rate** = Observed Selected ÷ Presented — the probability an
54-
agent picks you when it truly has the chance
55-
(observed ≠ preference: a "choice" under required/forced constraint is not a preference)
56-
- **Conditional Choice Share** — head-to-head preference when A and B actually compete
57-
in the same candidate set
58-
- **Software Entity / Capability / Interaction Surface** — what exists, what it can
59-
do, and the observable interface; observation happens on surfaces, attribution
60-
resolves to entities (see [AgentMeasure Entity](standard/ENTITY.md))
61-
- **Operation / Attempt** — a logical use vs. a single execution; retries are multiple
62-
attempts of one operation, not a validity class
63-
- **Qualified Usage** — real production use after excluding benchmark / test /
64-
synthetic / retry
65-
- **Result Consumption** — the result was actually used by the task (≠ successful return)
66-
- **Incrementality** — would the outcome be worse without this software?
67-
- **Measurement Label** — a nutrition label for every public number (coverage /
68-
sampling / policy / method)
69-
70-
## Who is this for?
71-
72-
| Audience | Entry |
74+
| **Reach** | Did the capability enter the agent's choice range? | Eligible Opportunities · Presentations · Presentation Rate · Distribution Coverage |
75+
| **Choice** | When the agent had the chance, did it choose it? | Observed Selection Rate · Conditional Choice Share |
76+
| **Use** | After selection, was it actually used? | Operations · Attempts · Completion Rate · Success Rate |
77+
| **Utility** | Did it produce a usable result or confirmed effect? | Result Consumption · Effect Confirmation |
78+
| **Value** | Did it improve the task outcome? | Incremental Task Success(Draft 0.5) |
79+
80+
The five layers are the **measurement view**. The same facts map onto an economic view:
81+
82+
| CaaS Domain | AgentMeasure |
83+
| --- | --- |
84+
| Demand | Reach + Choice |
85+
| Delivery | Use + Utility |
86+
| Outcome | Value |
87+
| Economics | Metering / Attribution(future extension) |
88+
89+
Claim discipline throughout: *observed choice is not preference*. A selection can be made by the model, a router, a workflow, the user, a policy, or the platform; **Observed Selection Rate** reports what was observed, and **Conditional Choice Share** is an *observed head-to-head choice share under comparable candidate conditions* — comparable means the same candidate set, category, choice mode, and decision axes (Decision Authority / Selection Constraint) are declared.
90+
91+
## How AgentMeasure works in production
92+
93+
```text
94+
Agent Runtime Capability Provider
95+
96+
Claude / Codex
97+
98+
│ MCP / API
99+
100+
┌──────────────────────┐
101+
│ Customer Capability │
102+
│ │
103+
│ AgentMeasure SDK │
104+
│ Business Handler │
105+
└──────────┬───────────┘
106+
107+
observations
108+
109+
110+
Collector
111+
112+
113+
AgentMeasure Cloud
114+
```
115+
116+
Four things a real developer needs to know:
117+
118+
> Your software does **not** need to be open source.
119+
>
120+
> MCP is **not** required — it is the first reference surface.
121+
>
122+
> Third-party agents do **not** need AgentMeasure installed for provider-side usage measurement.
123+
>
124+
> AgentMeasure is **not** on the critical request path.
125+
126+
## What AgentMeasure measures today
127+
128+
- **Decision Opportunity / Candidate Set / Presentation / Selection** — the four objects of choice; the Observed Selection Rate denominator is Presented, not Available
129+
- **Software Entity → Capability → Interaction Surface** — what exists, what it can do, and the observable interface; observation happens on surfaces, attribution resolves to entities through the machine-readable registry
130+
- **Operation / Attempt** — one logical use vs. one execution; **retries are multiple attempts of one operation**, not a validity class (they are kept as reliability signals, not counted as distinct logical uses)
131+
- **Qualified Usage** — production usage after excluding test, benchmark, synthetic, replay, duplicate and other invalid traffic according to policy
132+
- **Result Consumption / Effect Confirmation** — the result was used by the task, or the intended world-state change was confirmed (Interaction Classes: Information / Action / Transaction / Computation / Communication / …)
133+
- **Measurement Label** — a nutrition label for every public number (coverage / sampling / policy / method)
134+
135+
The full model lives in the [Core Specification](standard/CORE.md), [Metrics](standard/METRICS.md), [Entity](standard/ENTITY.md), and [Quality](standard/QUALITY.md). The README is not a spec summary.
136+
137+
## From measurement to CaaS
138+
139+
```text
140+
Capability
141+
142+
143+
Discover → Choose → Use → Deliver Value → Measure → Meter → Price / Pay / Settle
144+
```
145+
146+
AgentMeasure standardizes the data and semantics of the **first five steps** — discovery through measurement. Metering and commercial attribution are future extensions; payment rails can be provided by existing payment infrastructure.
147+
148+
> **AgentMeasure standardizes economic facts, not money movement.**
149+
150+
## What AgentMeasure is / is not
151+
152+
| AgentMeasure is | AgentMeasure is not |
153+
| --- | --- |
154+
| Measurement standard | Payment protocol |
155+
| Usage analytics foundation | Marketplace |
156+
| Metering semantics | Wallet |
157+
| Comparable quality signals | Universal reputation score |
158+
| Attribution framework | Single global source of truth |
159+
160+
## Who it is for
161+
162+
| Audience | Why |
73163
| --- | --- |
74-
| Tool / MCP developers | [Quickstart](#quickstart) · [Runtime Profiles](standard/PROFILES.md) |
75-
| Agent runtime platforms | [Runtime Profile](standard/PROFILES.md) · Observability |
76-
| Data researchers | [Whitepaper](whitepaper/measuring-software-used-by-ai-agents.md) · [Metrics](standard/METRICS.md) |
77-
| Standard contributors | [Core](standard/CORE.md) · [Proposals](proposals/) |
78-
| Third-party implementers | [Conformance](conformance/) |
164+
| **Capability Provider** | measure and eventually meter agent usage of your capabilities |
165+
| **Agent Runtime** | expose decision / usage signals consistently |
166+
| **Registry / Marketplace** | compare capabilities using standardized signals |
167+
| **Data / Measurement Provider** | produce comparable agent-usage analytics |
168+
| **Commerce / Payment Infrastructure** | consume standardized billable events in future profiles |
169+
| **Researchers / Standard Contributors** | evolve the methodology |
170+
171+
## Try the standard
172+
173+
```bash
174+
git clone https://github.com/roy-tong/AgentMeasure && cd AgentMeasure
175+
python3 conformance/runners/run_metrics.py # metric vectors (M2.2 / M2.5 / M4.1)
176+
python3 verify_vectors.py # receipt / correlation / operation vectors
177+
python3 registry/validate_entities.py # validate the machine-readable registry
178+
```
179+
180+
## Product MVP — in development
181+
182+
The first product path is **Remote MCP / API Capability Measurement**: an AgentMeasure Provider SDK that emits observations from the provider side (no agent-side install), feeding a collector and hosted analytics. The SDK and hosted analytics are not implemented yet — the standard, reference collector, and conformance suite are.
79183

80184
## Repository map
81185

82186
```text
83187
AgentMeasure/
84-
├── standard/ # the standard itself (CORE / METRICS / QUALITY / DATA / ...)
188+
├── standard/ # the normative standard (CORE / METRICS / QUALITY / DATA / ...)
189+
├── extensions/ # experimental, non-normative profiles (COMMERCIAL.md)
85190
├── whitepaper/ # methodology papers (EN/CN)
86191
├── conformance/ # language-neutral test vectors + runners
87192
├── reference/ # reference implementation (collector + adapters)
@@ -95,69 +200,24 @@ AgentMeasure/
95200
└── archive/ # retired early documents
96201
```
97202

98-
**The standard is the artifact; the code is a reference implementation.** Using the
99-
standard does not mean uploading data to any central server.
203+
**The standard is the artifact; the code is a reference implementation.** Using the standard does not mean uploading data to any central server.
100204

101-
## Quickstart
205+
## Current status & roadmap
102206

103-
```bash
104-
git clone https://github.com/roy-tong/AgentMeasure && cd AgentMeasure
105-
python3 conformance/runners/run_metrics.py # run metric vectors (16/16 + M2.5/M4.1)
106-
python3 verify_vectors.py # receipt / correlation / operation vectors
107-
python3 registry/validate_entities.py # validate machine-readable registry
108-
```
109-
110-
After feeding in Decision Opportunity events, the reference implementation outputs:
111-
112-
```text
113-
AgentMeasure Demo
114-
115-
Reach
116-
Presented Opportunities 150
117-
118-
Choice
119-
Observed Selection Rate 43.3%
120-
121-
Use
122-
Invocations 62
123-
Completion Rate 96.8%
124-
125-
Utility
126-
Observable Results 41
127-
Consumed Results 28
128-
Consumption Rate 68.3%
129-
130-
Measurement Quality
131-
Usage Context production
132-
Coverage partial
133-
Sampling none
134-
```
135-
136-
Data stays local by default; public metrics must carry a
137-
[Measurement Label](standard/QUALITY.md).
138-
139-
## Current status
140-
141-
**Draft 0.4(Measurement Objects & Verification Decoupling)** — measurement objects
142-
are now entity-based (Software Entity → Capability → Interaction Surface), Core is
143-
decoupled from the Verification Profile.
207+
**Draft 0.4(Measurement Objects & Verification Decoupling)** — entity-based measurement objects, Operation/Attempt, Core decoupled from the Verification Profile.
144208

145209
| Capability | Standard | Reference | Real Runtime |
146210
| --- | --- | --- | --- |
147211
| Observed Selection Rate | Defined | Implemented | Limited |
148212
| Conditional Choice Share | Defined | Implemented | Experimental |
149-
| Logical Invocations | Defined | Implemented | Yes |
213+
| Operations / Attempts | Defined | Implemented | Yes |
150214
| Result Consumption | Defined | Implemented | Claude partial |
151215
| Incrementality | Defined (formula) | Planned | No |
152216
| Qualified Usage | Defined | Implemented | Yes |
153217

154-
Defined ≠ fully measurable today. Capabilities are being validated one by one.
155-
156-
Roadmap: Draft 0.3 (semantics) → **0.4 (objects & quality)** → 0.5 (value) → 1.0
157-
(graduation: 2 independent implementations + 3 runtime profiles + public conformance
158-
+ 5-10 real projects).
218+
The roadmap runs on two tracks — the standard (0.4 objects & quality → 0.5 utility & economic semantics → 1.0) and the product (Remote Capability Analytics → Provider SDK + hosted analytics → metering). See [ROADMAP.md](ROADMAP.md).
159219

160-
## How to contribute
220+
## Contribute
161221

162222
- **Discuss measurement semantics**: GitHub Discussions (Metric Semantics / Measurement Quality / Runtime Profiles / Proposals / Experiments / General)
163223
- **Propose standard changes**: `proposals/` (AUP: Draft → Discussion → Accepted → Experimental → Stable)
@@ -166,5 +226,4 @@ Roadmap: Draft 0.3 (semantics) → **0.4 (objects & quality)** → 0.5 (value)
166226

167227
---
168228

169-
*AgentMeasure does not define who owns the truth. It defines what evidence, under
170-
what rules, can support what conclusions.*
229+
*AgentMeasure does not define who owns the truth. It defines what evidence, under what rules, can support what conclusions.*

0 commit comments

Comments
 (0)