Hello World: The Meeting Timer¶
What did one small piece of agent work cost, and was it worth it?
Audience: Developers and Managers, with figures for Finance and Executives.
The Lantern Studio Case: Before the First Prompt, a Price¶
Tom's question from the quarterly review, "Was that worth it?", is still waiting, and he has a second one. At Lantern Studio, the agent tool's bill arrives once a month as a single line. Earlier this month Tom, the owner, circled it and wrote two words in the margin: "For what?" Nobody could tell him. The money had gone into a dozen pieces of work, and the bill did not say which. Since WE 00, Sam's machine records every turn, so this time the answer can be on file.
Priya, the team lead, decides the next piece of agent work will be able to answer him. She picks something small on purpose: the meeting timer from her one-line brief, "show what a meeting costs while it runs." The studio's Monday status meeting is eight people for an hour. At an average of $75 an hour that is $600, or $10 a minute, and when it runs a quarter of an hour over, nobody sees the extra $150.
Sam will build it with an agent. Before the first prompt, Priya writes down what each part should cost and what it would take by hand, so that afterwards there is something to hold the bill against. The timer will show what people cost in a meeting; OpenALR will show what the agent cost building it.
The team and its people are illustrative. The work, the commands, and the records are real.
What You'll Build and What You'll Learn¶
The meeting timer gets the live meter:
- A start-and-stop button.
- A head count and an average hourly rate.
- A cost that climbs in real time while the meeting runs.
- A layout made for a phone, the thing already on the table in a meeting.
It is a static page of HTML, CSS, and JavaScript: no server, no accounts, and no meeting data leaves the device.
OpenALR shows:
- A first plan, with three tasks, a budget for each, and a by-hand estimate.
- Tags, which tie each turn of agent work to a task in that plan.
- The cost of each task, read from the records.
- Two kinds of grade: a quick one on a reply, and a considered one on a finished task.
- Acceptance, where a named person signs off on the work.
- The dashboard, and the comparison with doing it by hand.
This page uses a plan but does not teach planning. WE 02 does that.
Before You Start¶
-
WE 00: Install, finished. OpenALR 0.1.0 is installed, Claude Code is wired, and the proof turn is on record, so
alr checkcomes back clean. -
Claude Code only:
alr otel startis running before Claude Code starts (WE 00 sets it up). With it, every turn carries its own figure. Without it, each turn gets an allocated share of the session total, and the page you read will say so. Grok Build reports a cost per turn on its own. Hermes reports none, so its turns read?, andest.prices them. - The project folder from WE 00, holding only the README with Priya's brief, and no
plan.jsonyet. The project name used throughout ismeeting-cost-meter. - The code and records, if you want to follow along: this example's snapshot is the
we-01folder of openalr/meeting-cost-meter. - Three settings, made in the shell after the receiver and before Claude Code starts, as in WE 00. They name the agent, name the person, and say what kind of dollars the records hold. Make them again in every new shell.
$env:ALR_EMIT_AGENT_ID = "agent-sam"
$env:ALR_PRINCIPAL = "sam"
$env:ALR_EMIT_COST_BASIS = "metered"
$env:ALR_GRADER = "sam"
$env: settings last for that PowerShell window only, so start the harness from the same window.
export ALR_EMIT_AGENT_ID=agent-sam
export ALR_PRINCIPAL=sam
export ALR_EMIT_COST_BASIS=metered
export ALR_GRADER=sam
ALR_EMIT_AGENT_ID is the agent's name in every record; unset, it falls back to the OS user name. ALR_PRINCIPAL is the person who issues and accepts plans, and alr accept uses it when --by is left out. A grade's grader is ALR_GRADER, else the OS user name, so Sam sets it too: without it, your own login name lands in every quick grade.
The cost basis is the one that catches people. If ALR_EMIT_COST_BASIS=metered is not set before the harness starts, spend lands under "unstated", and alr ev shows AC $0.00 and "CPI n/a (no spend yet)" against a metered plan.
The examples share one set of records. Sam's machine has recorded every turn since the install in WE 00, and nothing in them has been edited or removed.
The Build¶
The work falls into three parts, which are OpenALR's three jobs: plan it (steps 1 and 2), track it (steps 3 to 5), and prove it (steps 6 and 7).
Here is the plan Priya brings to the table. The by-hand column is her estimate for a web developer at $120 an hour.
| Task | What it covers | By hand | By-hand cost | Agent budget |
|---|---|---|---|---|
layout-timer |
the page and the start/stop timer | 3 h | $360 | $5.00 |
rates-total |
head count, rate, running cost | 3 h | $360 | $5.00 |
summary-polish |
the stop summary and the finish | 2 h | $240 | $4.00 |
| Total | 8 h | $960 | $14.00 |
The by-hand method is estimate: a person's judgment, written down before the work, and labelled as one.
1. Tag the Planning¶
Planning with an agent costs agent time, so it gets counted too. In a new session in the project folder:
/alr-tag add project:meeting-cost-meter work_type:plan
From here, every turn carries both tags until Sam changes them.
2. Make the Plan¶
/alr-plan
The interview asks for the project, the basis (metered), the three tasks, their budgets, the planned days, and the by-hand baseline. Priya sits beside Sam for this, because the numbers are hers. Here is what they answered:
- Project
meeting-cost-meter, basismetered. - The three tasks, with budgets of $5.00, $5.00, and $4.00.
- Every task planned for one day, December 1 (UTC), since planned days are UTC days.
- A by-hand baseline for each task: a web developer at $120 an hour for 3, 3, and 2 hours, method
estimate.
The last question is whether to issue the plan. A plan is issued in someone's name, and in this shell ALR_PRINCIPAL is sam, so the interview would issue it as Sam's. Sam answers for Priya instead: "Issue it, with Priya as the issuer: add --by priya." The plan is saved as plan.json and issued. Read it back:
alr plan show --project meeting-cost-meter
sam@studio:meeting-cost-meter$ alr plan show --project meeting-cost-meter
plan meeting-cost-meter (metered): version 1 (the files hold version 1), issued 2026-12-01T04:05:54Z by priya
task budget planned human baseline change
--------------------------------- ------ ------------------------ ------------------------ ------
meeting-cost-meter:layout-timer $5.00 2026-12-01 to 2026-12-01 $360.00 estimate, 1 role -
meeting-cost-meter:rates-total $5.00 2026-12-01 to 2026-12-01 $360.00 estimate, 1 role -
meeting-cost-meter:summary-polish $4.00 2026-12-01 to 2026-12-01 $240.00 estimate, 1 role -
budget: $14.00 metered
sam@studio:meeting-cost-meter$
You see each task's baseline and the budget. There is no baseline total in the output; the $960 is this page's own sum of the three.
3. Task 1: The Page and the Timer¶
/alr-tag add work_type:build task:meeting-cost-meter:layout-timer
work_type holds one value, so build replaces plan. There is nothing to remove first.
Sam asks for a mobile-first page with one large start/stop button and a clock that counts. The agent puts the button within thumb reach without being asked, and says plainly what it could not check: it had no way to test the page below 500 pixels wide. So Sam checks it himself, in a phone-size browser at 390 pixels, and finds it right. The only other thing he asks for is a commit of plan.json, so the plan lives in the repository beside the code.

When a reply is worth remarking on, good or bad, Sam grades it on the spot, from 1 to 5. This one earned a 4:
/alr-grade 4 Clean layout, button already in thumb reach, and it said what it could not test
That is the first kind of grade: one person's quick view of one reply. As in WE 00, each turn's own cost figure arrives with the next turn, or when the session ends.
4. Task 2: People, Rate, and the Running Cost¶
/alr-tag add task:meeting-cost-meter:rates-total
task holds one value too, so this replaces layout-timer. The single-valued keys are project, task, client, cost_center, work_type, and effort; other keys hold several values.
Now the page takes a head count and a rate, and the cost starts to climb. The check is simple arithmetic: 8 people at $75 an hour should add $10 every minute. Sam runs it for three minutes and looks for $30.

The agent flagged one limit on its own: change the head count or the rate mid-meeting, and the whole meeting is recomputed at the new figures from the start. Priya notes it for later.
It is easy to start a task's work before changing its tag. When a turn lands under the wrong task, move it, with a reason:
/alr-tag move <old> <new> turn N-M <reason>
5. Task 3: The Summary and the Finish¶
/alr-tag add task:meeting-cost-meter:summary-polish
Pressing stop now shows how long the meeting ran and what it cost, and the agent tidies the layout.

6. Accept the Finished Work¶
The second kind of grade belongs to a finished task, and it is given by the person who answers for it. Priya opens the timer in a phone-size browser, runs it through a pretend standup, and accepts the first task in her own name:
alr accept --project meeting-cost-meter --task meeting-cost-meter:layout-timer --grade 4 --by priya --evidence '<where you checked it>' --reason '<why>'
In PowerShell, use single quotes for --evidence and --reason, and double any ' inside the text. Double quotes would expand $name and $(...), and a backtick escapes. Avoid " in the text: Windows PowerShell 5.1 and 7.0 to 7.2 lose it unless it is written \".
alr accept --project meeting-cost-meter --task meeting-cost-meter:layout-timer --grade 4 --by priya --evidence "<where you checked it>" --reason "<why>"
--by priya names her even though ALR_PRINCIPAL is sam in this window. Leave --by out and alr accept uses ALR_PRINCIPAL; with neither set, it exits 2 and tells you to give --by or set ALR_PRINCIPAL. It does not ask. --evidence says where she looked and --reason says why she accepted; each is capped at 1,000 characters, and a value cannot start with - (alr fails with "expected one argument"; reword it, or write --reason=-x). The 4 is only an example. The grade is whatever the person accepting thinks the work deserves.
She accepts all three tasks. These are the commands from the take, with her evidence and her reasons:
sam@studio:meeting-cost-meter$ alr accept --project meeting-cost-meter --task meeting-cost-meter:layout-timer --grade 4 --by priya --evidence "Ran it in a phone-size browser (390 px) through a pretend standup; the button is in thumb reach" --reason "Big clock, one button, works one-handed"
accepted meeting-cost-meter:layout-timer: seq 1, by priya, grade 4, to <home>/records.jsonl
sam@studio:meeting-cost-meter$ alr accept --project meeting-cost-meter --task meeting-cost-meter:rates-total --grade 5 --by priya --evidence "In a phone-size browser, 8 people at 75 dollars an hour read 30.00 at 3 minutes" --reason "The arithmetic is right and the fields can change mid-meeting"
accepted meeting-cost-meter:rates-total: seq 1, by priya, grade 5, to <home>/records.jsonl
sam@studio:meeting-cost-meter$ alr accept --project meeting-cost-meter --task meeting-cost-meter:summary-polish --grade 4 --by priya --evidence "In a phone-size browser, stopped a 15-minute standup; the summary read 150.00, 15 min, 8 people at 75" --reason "The summary is what I would show Tom"
accepted meeting-cost-meter:summary-polish: seq 1, by priya, grade 4, to <home>/records.jsonl
sam@studio:meeting-cost-meter$
7. Read the Records¶
alr check
alr summary --by task
alr summary --by work_type
alr ev --project meeting-cost-meter
Then the dashboard, a set of files on your machine built from the same records:
alr dashboard --out $HOME\alr-dashboard --open
alr dashboard --out ~/alr-dashboard --open
One timing rule matters for alr ev and the dashboard. Planned days are UTC days. A one-day task adds its whole budget to planned value only after that UTC day has ended; a multi-day task accrues from the start of its first UTC day to the end of its last. Read on the planned day, the text output reads "PV $0.00" and "SPI n/a (nothing planned yet)". A task with no dates reads "PV unavailable" and "SPI unavailable". 00:00 UTC is 18:00 CST but 19:00 CDT, so in the US an evening read can still be the same UTC day. --as-of takes an RFC 3339 time with an offset, and the report is shown in UTC.
What the Records Said¶
Everything below came out of one file on Sam's laptop. None of it is written in advance.
sam@studio:meeting-cost-meter$ alr check
22 records (12 current), 1 grades, 0 cost corrections, 0 tag events
1 plan versions and 3 acceptances (1 project); they change no total
sam@studio:meeting-cost-meter$
Twenty-two lines are in the file, and twelve are current: a line that was written again for the same request (as in WE 00) replaces the older one, which stays in the file. The check also counts one grade, one plan version, and three acceptances, which add to no cost total.
sam@studio:meeting-cost-meter$ alr summary --by task
task records input output cache rd cache wr metered est.
--------------------------------- ------- ----- ------ -------- -------- ------- ----
meeting-cost-meter:summary-polish 2 28 15.9k 890k 26.0k $0.6532
meeting-cost-meter:rates-total 1 22 8.5k 476k 11.7k $0.3430
meeting-cost-meter:layout-timer 2 30 8.0k 473k 10.1k $0.3309
(none) 7 46 5.2k 486k 21.0k $0.3573
--------------------------------- ------- ----- ------ -------- -------- ------- ----
total 12 126 37.6k 2.3M 68.7k $1.68
12 current records, 12 requests.
Reported cost is the figure on each record, kept per cost basis and never added across bases. '+' marks a lower bound (a figure in it is unknown or partial).
est.: ESTIMATE from price book alr-prices/0.3 as of 2026-12-01 (estimate at public API list prices as of 2026-12-01; not a bill); only for records with no reported cost; never added to reported cost.
Each record counts once, in the row of its task value: '(ambiguous)' holds records with two different values, '(none)' records with none, so the rows add up to the total.
Split by turn shares: a turn's share of its session's cost is booked under the turn's own task value and taken off the session's, which keeps the remainder; a session with no turn shares is booked whole.
sam@studio:meeting-cost-meter$
Each task row is that task's tokens and dollars, and every figure here is metered: Claude Code's own figure for each turn, not an allocated share.1 The (none) row is real spend that belongs to none of the three tasks: the planning turns from steps 1 and 2 ($0.30), and WE 00's proof turn ($0.0571), because these examples keep one continuous set of records. Keep it out of any three-task sum.
sam@studio:meeting-cost-meter$ alr summary --by work_type
work_type records input output cache rd cache wr metered est.
--------- ------- ----- ------ -------- -------- ------- ----
build 5 80 32.4k 1.8M 47.7k $1.33
plan 5 42 4.9k 449k 13.6k $0.3002
(none) 2 4 281 37.8k 7.4k $0.0571
--------- ------- ----- ------ -------- -------- ------- ----
total 12 126 37.6k 2.3M 68.7k $1.68
12 current records, 12 requests.
Reported cost is the figure on each record, kept per cost basis and never added across bases. '+' marks a lower bound (a figure in it is unknown or partial).
est.: ESTIMATE from price book alr-prices/0.3 as of 2026-12-01 (estimate at public API list prices as of 2026-12-01; not a bill); only for records with no reported cost; never added to reported cost.
Each record counts once, in the row of its work_type value: '(ambiguous)' holds records with two different values, '(none)' records with none, so the rows add up to the total.
Split by turn shares: a turn's share of its session's cost is booked under the turn's own work_type value and taken off the session's, which keeps the remainder; a session with no turn shares is booked whole.
Planned budget beside actual cost by work_type, per plan in force (AC joined to each plan's tasks by their task: tag; each basis its own plan, never added):
plan meeting-cost-meter (metered) version 1:
planned work_type tasks budget actual (AC)
----------------- ----- ------ -----------
build 3 $14.00 $1.33
sam@studio:meeting-cost-meter$
The same spend, cut by kind of work. It answers the question Ruth, the finance lead, will ask next: how much went into deciding what to build ($0.30), and how much into building it ($1.33). Here (none) is WE 00's proof turn, which had no work_type yet. The note at the bottom sets the plan's $14.00 build budget beside the $1.33 actually spent.
Four lines from the record file, cut down to the fields worth reading (the plan line shows one of its three tasks):
{"alr_schema": "alr/0.1", "request_id": "199e0561-4f0d-4e97-a476-aa081774f182:t0008", "agent_id": "agent-sam", "model": "claude-opus-5-5", "tags": ["project:meeting-cost-meter", "work_type:build", "task:meeting-cost-meter:rates-total"], "attempt": 2, "supersedes": "6f70136e-57b3-53ea-ba36-5f6d7e4867e5", "cost_usd": null, "cost_share_usd": 0.3430478, "cost_basis": "metered", "pricing_source": "harness_reported"}
{"alr_schema": "alr-plan/0.1", "project": "meeting-cost-meter", "cost_basis": "metered", "plan_version": 1, "issued_at": "2026-12-01T04:05:54Z", "issued_by": "priya", "tasks": [{"task": "meeting-cost-meter:rates-total", "budget_usd": 5.0, "planned_start": "2026-12-01", "planned_finish": "2026-12-01", "human_baseline": [{"role": "web developer", "hours": 3, "rate_usd": 120}], "baseline_method": "estimate"}, "..."]}
{"alr_schema": "alr-grade/0.1", "request_id": "199e0561-4f0d-4e97-a476-aa081774f182:t0007", "grade": 4, "grader": "sam", "graded_at": "2026-12-01T04:09:20.300986+00:00", "comment": "Clean layout, button already in thumb reach, and it said what it could not test"}
{"alr_schema": "alr-acceptance/0.1", "project": "meeting-cost-meter", "task": "meeting-cost-meter:rates-total", "accepted_at": "2026-12-01T04:15:16Z", "accepted_by": "priya", "grade": 5, "evidence": "In a phone-size browser, 8 people at 75 dollars an hour read 30.00 at 3 minutes", "reason": "The arithmetic is right and the fields can change mid-meeting"}
The turn record is where the join happens. Its tags tie that turn's cost to a task in the plan, agent_id says which agent did it, and cost_basis says what kind of dollars it carries. The plan record holds Priya's budgets and her by-hand estimate, issued in her name. The grade record carries Sam's name, because ALR_GRADER was set. The acceptance record says which person judged the result, and on what evidence.
sam@studio:meeting-cost-meter$ alr ev --project meeting-cost-meter
earned value as of 2026-12-01 04:15:51 UTC (SPEC section 9.3)
plan meeting-cost-meter (metered): version 1 in force, issued 2026-12-01T04:05:54Z by priya
BAC $14.00 EV $14.00 AC $1.63 PV $0.00
CPI 8.60 SPI n/a (nothing planned yet)
task budget planned PV accepted AC
--------------------------------- ------ ------------------------ ----- ------------- -----
meeting-cost-meter:layout-timer $5.00 2026-12-01 to 2026-12-01 $0.00 yes, by priya $0.33
meeting-cost-meter:rates-total $5.00 2026-12-01 to 2026-12-01 $0.00 yes, by priya $0.34
meeting-cost-meter:summary-polish $4.00 2026-12-01 to 2026-12-01 $0.00 yes, by priya $0.65
AC in no task: unassigned $0.30, ambiguous $0.00
against version 1: EV $14.00 CPI 8.60
worth it: meeting-cost-meter:layout-timer: baseline $360.00 estimate beside AC $0.33
worth it: meeting-cost-meter:rates-total: baseline $360.00 estimate beside AC $0.34
worth it: meeting-cost-meter:summary-polish: baseline $240.00 estimate beside AC $0.65
worth it, accepted tasks: baseline $960.00 (estimate) beside AC $1.33
in no plan (no project: tag), metered: $0.06, 2 records
sam@studio:meeting-cost-meter$
Earned value in one sentence: what you got for what you planned and what you spent. Here "what you got" is the budget of each accepted task, so with all three accepted, EV is the whole $14.00. AC, the actual cost, is $1.63: the three tasks' $1.33 plus the $0.30 of planning, which is tagged to the project but to no task. WE 00's $0.06 sits in no plan at all.
Two ratios come out of it:
- CPI 8.60 compares the work done with the money spent: $14.00 of planned work for $1.63. Above 1 means the work cost less than its budget allowed. A CPI this high says more about the budgets than about the agent: Priya set them before there was a single record to set them from, and they were generous. The next plan can be tighter, because now there is history.
- SPI reads "n/a (nothing planned yet)" because every task was planned for December 1 UTC, and planned value counts a one-day task only after its day ends, at 6 pm Central. Read the next day, PV is $14.00, and SPI is 1.00.
The dashboard shows the same figures:



And the line Tom wanted: the three tasks cost $1.33, metered, beside Priya's by-hand estimate of $960.
Two cautions. First, the figures sit side by side and are never netted: one comes from the records, the other is Priya's estimate. A metered figure is what the tool reported being charged; an API-equivalent figure is an estimate, tokens priced at list API rates, and the two are never added together. Second, the records hold the agent's work, not Sam's. His hours prompting and checking the page are not in the file. He did not keep count, so that cost is unknown, not zero.
The Decision¶
Priya now has what Tom's margin note asked for, at the size of one feature: what each task cost, the budget it was held to, a grade with a name on it, a timer she has used on her own phone, and a by-hand estimate to stand it all against.
The records inform the call; they do not make it. Whether this was worth it is Priya's judgment. Her answer to Tom is short: the timer works, she has used it, and the agent work behind it cost $1.33 against a $14.00 budget and her own $960 estimate for doing it by hand, with Sam's time on top and not yet counted. She would do it again. The next feature gets a real plan, written in a spreadsheet, with budgets set from what this one actually cost.
For Your Role¶
For Developers
Tag at the start of each task, before the first prompt; it is one line. If you forget, /alr-tag move fixes it with a reason, so there is no need to redo work. The records are a file on your machine that you can read line by line.
For Managers
The budgets and the by-hand estimate were written before the work, which is what makes the result worth reading. Accept a task only after you have used the thing yourself. Your name, your evidence, and your reason go on the record; nothing is accepted for you.
For Finance
Every dollar figure names its basis. Charged figures and API-equivalent estimates are kept apart, and the by-hand baseline is labelled an estimate. Planning spend shows up separately in --by work_type, so it is not hidden inside the tasks.
For Executives
The bill now has lines: three tasks, each with a cost, a budget, and a person who signed off on it. "Worth it" is still a judgment, made by someone you can ask. It is now made with figures in front of them.
Next¶
This plan came from a short interview and never changed. Real plans do. In WE 02: Plan It (coming December 8), the timer gets rates by role, a declared purpose for the meeting, and an agenda whose items turn red when they run over. Priya writes that plan in a spreadsheet. Midweek the feature grows, with sidebar notes for when talk leaves the agenda, and she revises the plan with a reason while the first version stays on file.
-
This summary and the next were read again later on December 1, from the same records, after the December 1 price book was published, so they name the
alr-prices/0.3 as of 2026-12-01book (see WE 00, step 2). Every figure is unchanged. ↩