Skip to content
The AI Agent Factory

Chapter 37. The Economics of Digital FTEs

Approved by
Panaversity ·
10 min read

The point

A worker is a business only if it earns more than it costs to run, review and teach. In Chapter 32 you priced a worker before anything was built, from the paper's assumptions. Since then you have built one, and measured it: the tokens per invoice, the minutes a person spent reviewing, the cost of each dreaming run, the cents a Workflow costs.

This chapter runs the books on that worker. It turns your measured costs into a monthly statement, and finds which line moves the margin most. It sets the lowest price that still leaves the margin you want. And it answers Chapter 32's question one last time: when does building your own platform pay?

The answer is rarely the model. The paper's numbers, and very likely yours, say that once the open stack has cut the model bill, the biggest cost left that you can change is the time people spend checking the worker's work. A worker that needs people less earns more than a worker on a cheaper model. That is why Chapter 36's verified autonomy rate is, in money, the most important number in this part.

The chapter, and the part, end with the First Reference Worker: the smallest platform that learns, put together from your labs, with nothing new to build.

A map of the Part IV platform in four rows, foundation at the bottom, then work, platform and learning, with economics as a column on the right. Highlighted as this chapter, Chapter 37: economics: usage from every layer, priced as Contribution I and II, cost per accepted outcome, and a price floor. Already built in earlier chapters: Memory (facts, source, expiry); Dreaming (proposes candidates); Evaluation (held-out cases, new judge); Releases (approve, canary, roll back); Control plane (workers, versions, tenants); Model router (filter, then rank); Role contracts (one authorize check); Tenant walls (and proven deletion); The AP worker (one object per conversation); Waits, approvals (asleep, not paying); Workflows (month-end reconciliation); Events, schedules (per-worker coordinator); Harness (Pi Durable); Runtime (Durable Objects); Process engine (Cloudflare Workflows); Model access (any model, AI Gateway). A note at the foot says approved knowledge, case files and the governed door are stand-ins here, and Part VI replaces them with the systems of record.

Where this chapter sits in Part IV. The same map opens every chapter, with that chapter's parts highlighted.

Why it matters

This story is invented.

A small firm switches its AP workers to the cheapest model it can find, and its model bill falls by $6 a worker a month. Three months later its margin is lower than before. Nobody can say why, because nobody tracks review time per worker. The cheaper model got one invoice in twenty wrong where the old one got one in fifty, and each wrong invoice cost a person five minutes to fix. The firm saved $6 on tokens and spent $9 on people.

The firm did not need a better model. It needed a monthly statement with every line in it.

Words this chapter uses

The words of Chapter 32 keep their meaning: variable cost, contribution, lock-in. The words of Chapter 36 do too: learning budget, verified autonomy rate.

WordMeaning
Fixed costA cost that does not grow with the work: engineers' salaries, building the platform
Contribution IRevenue minus the variable cost of doing the work
Contribution IIContribution I minus the variable cost of learning. Not profit: fixed costs come out later
Contribution marginContribution as a share of revenue
SensitivityHow much the result changes when one assumption changes
Cost per accepted assignmentTotal variable cost divided by the assignments a client accepted
Price floorThe lowest price that still leaves a target margin
Break-even volumeHow many workers it takes for contribution to cover fixed costs
PaybackHow long extra contribution takes to repay an investment

What you will build

Where you are. Brightline's platform runs AP workers for two companies, routes each activity to a suitable model, enforces contracts in code, and learns on any model. Every cost is recorded with a correlation ID.

What you build, with Claude Code:

  1. A monthly contribution statement per worker, from a recorded month of costs, checked against the provider bills.
  2. A sensitivity runner on the paper's cost model: review rate, model mix and context length.
  3. A price calculator: the lowest profitable price at 50% and 70% margins.
  4. The First Reference Worker: your labs assembled into one small platform, with its limits stated.

By the end of this chapter, you can read a worker's monthly statement and name the line that matters most. You can price a worker from its costs and its value, and say when building your own platform is worth it.

In this chapter

  • 37.1 Contribution, not profit
  • 37.2 The worked example
  • 37.3 The biggest line is people
  • 37.4 Pay for accepted work
  • 37.5 Is learning worth it?
  • 37.6 A fleet and its price
  • 37.7 Build or rent, once more
  • 37.8 Build the contribution report with Claude Code
  • 37.9 The First Reference Worker
  • Lab 37 Run the books, set the price

What this chapter is built on

The chapter follows sections 15 to 29 of Panaversity's paper Building Affordable, Self-Improving AI Workers (29 November 2026). Every figure comes from the paper's cost model, model.ts, with list prices checked on 29 November 2026. They are the paper's illustration, not a forecast. Prices change; recheck them before you teach or rely on them. The lab uses one recorded month of usage rows for both workers, not rows from your own worker. It applies one review policy, 10% of Acme's work and 8% of Lahore Foods' checked for 3 minutes each, in place of the review minutes Lab 36 recorded, which would cost more than the revenue.

Code in this chapter was tested locally. The lab's reference solution passes every test from Labs 33 to 37 on Wrangler's local runtime, with recorded model answers. That includes the First Reference Worker's npm run reference. It has not yet run on a deployed account.

  • Building Affordable, Self-Improving AI Workers (Panaversity, 29 November 2026), sections 15 to 29, and cost model model.ts
Owner
Panaversity