Agent-readable metric definitions

에이전트용 지표 정의

Give people and agents the same explicit definition for each marketing metric.

···
html
<div class="amd"><div class="amd-head">ASK: REVENUE THIS WEEK <b id="amd-value">$100</b></div><div class="amd-options"><button data-mode="gross">GROSS</button><button data-mode="net">NET</button></div><div class="amd-formula" id="amd-formula">ORDERS $100</div><div class="amd-rule" id="amd-rule">REFUNDS INCLUDED · DEFINITION v1</div></div>
css
:root{--font-sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Segoe UI",sans-serif}.amd{width:min(90%,640px);font:800 clamp(13px,3.5vmin,17px)/1.2 var(--font-sans)}.amd-head{display:flex;justify-content:space-between;gap:8px;padding:clamp(11px,2.7vmin,24px);background:var(--fg);color:var(--bg)}.amd-head b{font-size:clamp(17px,5vmin,28px);color:var(--bg)}.amd-options{display:flex;gap:clamp(5px,1.5vmin,13px);margin:clamp(10px,2.5vmin,22px) 0}.amd-options button{flex:1;border:2px solid var(--line);padding:clamp(8px,2vmin,16px);background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.amd-options button.on{border-color:var(--accent);color:var(--accent)}.amd-formula{padding:clamp(10px,2.4vmin,21px);border:2px solid var(--accent);color:var(--accent);text-align:center}.amd-rule{padding-top:clamp(7px,2vmin,17px);color:var(--muted);text-align:center;font-size:clamp(12px,3.2vmin,14px)}
js
const states={gross:['$100','ORDERS $100','REFUNDS INCLUDED · DEFINITION v1'],net:['$88','ORDERS $100 − REFUNDS $12','REFUNDS EXCLUDED · DEFINITION v2']};let mode='gross';function draw(){const state=states[mode];document.querySelector('#amd-value').textContent=state[0];document.querySelector('#amd-formula').textContent=state[1];document.querySelector('#amd-rule').textContent=state[2];document.querySelectorAll('.amd-options button').forEach(button=>button.classList.toggle('on',button.dataset.mode===mode))}document.querySelectorAll('.amd-options button').forEach(button=>button.addEventListener('click',()=>{mode=button.dataset.mode;draw()}));draw();setInterval(()=>{mode=mode==='gross'?'net':'gross';draw()},1600);

Agent-readable metric definitions attach formulas and exclusions to terms such as revenue, active customer, and repeat purchase. A 2026 CRM announcement described natural-language queries for agents and a plan to add more context and definitions for metrics.

In the demo, the same revenue question returns different values depending on whether refunds are excluded. Choosing a definition changes the formula, exclusion, and result together.

A shared name alone can hide different calculations. Record an owner and version for each definition and show which definition an agent used in its answer.

When to use

Use it when multiple teams or agents query the same metric.

Open as page ↗