Introduction¶
Each worked example is a real piece of work done by an agent, with its plan, its records, and the figures they give. Every figure on an example's page can be reproduced from its records with the commands it shows.
The Business Case¶
The worked examples use a business case approach. They follow one team through a quarter of real work, and show what OpenALR told that team along the way, and what the team decided because of it. The How-To pages give the traditional steps for one task: go there when you already know what you want to do.
The team is Lantern Studio, a 14-person design and product studio. Over the series, its people build a small app with agents: a meeting timer that shows what a meeting costs while it runs. Each example adds a feature to the timer and puts one part of OpenALR to work on it. The two mirror each other: the timer shows what people cost in a meeting, and OpenALR shows what the agents cost building it.
Lantern Studio and its people are illustrative. The work is not. The timer was built by agents, the commands were run as shown, and the records and figures on each page come from that work. The code and the record files are on GitHub, in openalr/meeting-cost-meter, with one folder per example: a snapshot of the timer and its records at the end of that example, ready to clone.
How Each Example Reads¶
Every example has the same parts, in the same order:
- The Lantern Studio Case. The decision in front of the team, and why it matters. Start here: it tells you what question the page answers.
- What You'll Build and What You'll Learn. The timer feature, and the OpenALR features it shows.
- Before You Start. What you need in place first.
- The Build. Numbered steps with the real commands. Follow along on your own machine, or read straight through; each step shows what it printed.
- What the Records Said. The figures from the work, and how to read each one.
- The Decision. What the team did with the figures. The figures inform a person's judgment; they do not make the decision.
- For Your Role. Short notes for developers, managers, finance, accounting, and executives: what in the example matters to you.
- Next. Where the story goes from here.
Short on time? Read the case, What the Records Said, The Decision, and the note for your role. That is the story. The build is there when you want to run it yourself.
Meet the Team¶
| Person | Role at Lantern Studio | Their Page | What They Want to Know |
|---|---|---|---|
| Sam | Developer, on Linux | For Developers | What the work cost, task by task |
| Priya | Team lead | For Managers | Whether the work is on plan, and whether to accept it |
| Diego | Developer, on Windows | For Developers | How two machines' records become one |
| Ruth | Finance lead | For Finance | Where the money went |
| Mei | Bookkeeper | For Accounting | How to close the month from the records |
| Tom | Owner | For Executives | Whether it was worth it |
Not everyone appears in every example. Find the person whose questions are yours, and follow them.
Read Them in Order¶
The examples build on each other. Each one picks up where the last left off: the same team, the same app, and the records from the examples before it, so a later figure includes the earlier work. Start with WE 00, which installs OpenALR and records a first turn before any feature is built.
| Example | Planned | The Lantern Studio Case | The Timer Gets | OpenALR Shows |
|---|---|---|---|---|
| WE 00: Install | Dec 1 | A Number That Arrived Too Late | Nothing yet: an empty repository and a one-line brief | The install, wiring a harness, alr check, and the first record |
| WE 01: Hello World: The Meeting Timer | Dec 1 | Before the First Prompt, a Price | A live meter: people times an average rate, ticking up as the meeting runs | The first plan, tags, cost per task, and grading and accepting work |
| WE 02: Plan It | Dec 8 | Wednesday's Detour | Rates by role, a declared purpose, an agenda, and sidebar notes | A plan revised for a reason, with the old version kept |
| WE 03: A Second Developer | Dec 15 | One File Too Many | A meeting receipt, built by a second developer on Windows | Two machines' records combined, and the lead's acceptance |
| WE 04: Month-End Close | Jan 5 | When the Books and the Bill Disagree | Meeting history and a monthly total | Closing the month's agent-labor books from the records |
| WE 05: Where Did the Money Go? | Jan 12 | The Turns Nobody Tagged | Meeting tags, and where the meeting hours went | Reserved tag keys, and tagging work after the fact |
| WE 06: One Ledger for the Team | Jan 19 | What Leaves the Machine | A team view built from several people's histories | Two machines feeding one ledger through a collector |
| WE 07: Was It Worth It? | Jan 26 | Accepted, Then Taken Back | Fixes from real feedback, offline use, and accessibility | Grades, an acceptance withdrawn and given again, and rework |
| WE 08: The Executive View | Feb 2 | On Plan, Except for One | A yearly forecast and a leadership summary | Earned value over the revised plan, and an HTML report |
| WE 09: Same Task, Two Agents | Feb 9 | Not the Same Currency | Calendar import, built twice with two agents | Cost by harness, model, and agent, on the same basis |
| WE 10: Records for R&D | Feb 16 | Worth Recording Even If It Fails | An experiment: suggesting a shorter meeting | Dated records of what was tried, by whom, and with which agent |
| WE 11: Billing a Client | Feb 23 | Proof Stapled to the Invoice | A branded build that a freelancer bills a client for | Client tags, a journal, and a statement of agent work for an invoice |
| WE 12: The Quarter in Review | Mar 2 | Back to the Question at the Door | Version 1.0 | The quarter's ledger: spend, plan, quality, agents, and closed books |
We publish about one a week. The order and months can change. If an example needs a feature the current release does not have, we say so on its page.
About the Figures¶
Each page says which basis its figures use: the agent tool's own figure, an allocated share of a session's total, or an API-equivalent estimate from list API prices. Different bases are never added together. An API-equivalent figure is an estimate, not money spent.