Skip to content
Docs menu

Business cases, estimated against measured

Write down what an AI project or agent preset is expected to save, see the arithmetic, and check it each month against actual AI cost, outcomes and the hours people record.

View .md

A business case says what a piece of AI work is expected to be worth. You attach it to a project or an agent preset, give it an estimate, and each month the page sets the estimate beside what was measured. The two are never added together. An estimated benefit is an estimate, not a promise.

Business cases are under Control, at /control/cases. Owners, admins and members with the billing role can read them. Owners and the billing role can create and change them (billing:manage), and so can admins (org:manage). The case's owner can record its monthly check-ins even without those roles.

Create a case

  1. Open /control/cases and press New business case.
  2. Fill in the fields below. Pick what it is attached to: a project, by the project name used on spend reports, or an agent preset, by its name.
  3. Set Status to Active when you want it counted on the Control page. Drafts and closed cases are not counted.
  4. Press Create business case. The case opens with its estimate and the arithmetic.
Field Meaning Default
Title What the case is required
Owner The member who answers for it and records check-ins required
Attached to A project or an agent preset, by name required
Tasks project A Petawork Tasks project whose completed issues count as outcomes none
People affected How many people the work helps required
Hours saved per person per week The estimate required
Fully loaded hourly cost Salary and overheads for one hour, in US dollars required
Realisation % The share of the estimate you expect to be real 70 in the form, 100 through the API
One-time cost Set-up cost 0
Monthly running cost Your estimate of what it costs to run each month 0
Start date When it starts today
Status Draft, active or closed draft

How the estimate is worked out

estimated benefit a month = people × hours a week × 52/12 × hourly cost × realisation
estimated net a month     = estimated benefit − monthly running cost
payback (months)          = one-time cost ÷ estimated net        (none when the net is 0 or less)
first-year net            = 12 × estimated net − one-time cost
first-year return %       = first-year net ÷ (one-time cost + 12 × monthly running cost)   (none when that is 0)

The case page shows each line with your numbers under How this is worked out.

What is measured

For each month since the start, up to 24 months:

Figure Source
AI cost What requests tagged with the project, or made with the agent preset, cost that month
Outcomes Merged pull requests and closed issues reported that month for tasks whose AI requests carried the project or preset
Issues completed and cycle time Only with a linked Tasks project: issues completed that month, and the median days from started (or created) to completed
Cost per outcome AI cost ÷ outcomes (Tasks issues when no other outcome was reported)
Measured benefit Only from a check-in: hours actually saved × hourly cost
Measured net Measured benefit − AI cost, for months with a check-in

When the attachment has no outcome signal, the page says that only AI cost is measured.

Measured benefit is never taken from the estimate. A month without a check-in shows no measured benefit.

Record a monthly check-in

On the case page, under Monthly check-in, pick the month, type the hours the case actually saved that month for everyone it covers, and press Save check-in. Leave the hours empty to remove that month's check-in. Each check-in, like each create, change and delete, is written to the audit log.

Ask an agent

Tool What it does
admin_case_list The cases with their estimates, optionally by status
admin_case_get One case: estimate with the arithmetic, and each measured month
admin_case_create A new case
admin_case_update Change any field, status included
admin_case_delete Remove a case and its check-ins
admin_case_checkin_set Record or remove a month's hours saved

The tools act with the member's role and are audited like the console.

Admin API

Method and path Needs
GET /api/admin/v1/control/cases[?status=] billing:read
POST /api/admin/v1/control/cases billing:manage or org:manage
GET /api/admin/v1/control/cases/options billing:read
GET /api/admin/v1/control/cases/{id}[?until=YYYY-MM] billing:read, or the case's owner
PATCH /api/admin/v1/control/cases/{id} billing:manage or org:manage
DELETE /api/admin/v1/control/cases/{id} billing:manage or org:manage
PUT /api/admin/v1/control/cases/{id}/checkins/{YYYY-MM} billing:manage, org:manage, or the case's owner