Skip to content
The AI Agent Factory

37.9 The First Reference Worker

Approved by
Panaversity ·
7 min read

In everyday life. An architect's first finished house is not the biggest they will build. It is the one that proves every part works together: the foundation, the plumbing, the wiring, the roof. Every later house starts from it.

What you will learn. What the First Reference Worker is, what it proves, how to assemble it from your labs, and what it deliberately leaves out.

Why it matters. Five labs built five parts. A platform is the parts working together, on one worker, with one set of numbers.

What it is

The First Reference Worker is the smallest platform that learns. It is Brightline's AP worker for one company, on synthetic data, with:

CapabilityFromWhat it proves
Crash recovery and safe replayLab 33An invoice posts once, even after a crash at the worst moment
Waiting for a personLab 33An approval waits days and costs nothing while it waits
A Workflow handoffLab 34Month-end reconciliation starts once and finishes even if the conversation goes quiet
Web events and schedulesLab 34An event sent twice is handled once; a schedule fired twice starts one job
Governance in codeLab 35The tenant and the contract are checked in code on every action
Routing by activityLab 35Each activity goes to an approved model; one uses no model
A deletion testLab 35One conversation is removed from every store, with proof (or the open risk is stated)
One governed improvementLab 36Dreaming proposes, evaluation validates, a person approves, a canary passes
One rollbackLab 36A bad release is taken back without touching payments
Measured cost and valueLab 37A monthly statement that agrees with the bills, and a price floor

Nothing new is built. You assemble what you have.

Assemble it

Assemble the First Reference Worker from labs 33 to 37 in one repository, reference-worker/. Keep each lab's tests. Add one script, npm run reference, that runs every failure test from every lab, then one recorded month of work for one company, then dreaming, evaluation, a canary and a rollback, then the deletion proof, then the contribution report. Change no behaviour. List anything that did not fit together.

What good looks like: one command, every test green, and docs/reference-worker.md with the month's statement, the autonomy rate before and after the improvement, and a list of known limits.

Check before you approve. Did any lab's code have to change to fit with another? That is the most useful thing the assembly can tell you: where your parts did not agree.

Its limits, stated plainly

The paper calls this the minimum viable platform, and is clear about what it is not:

  • One role. AP only. More roles need more contracts, tools and golden sets.
  • Static routing. Routes are set from golden-set scores by a person, not adjusted by the platform on its own.
  • Human-approved changes only. Every improvement is approved by a person. The learning loop never changes the platform's code.
  • No learning across companies. Lessons stay inside one company.
  • Pi Durable is experimental. Pinned to agents 0.34 and Pi 1.6, retested before every upgrade.
  • Deletion from Pi's storage stands or falls on your Lab 35 proof.
  • Synthetic data only. Before a real client, it needs a security review, production monitoring and the operations that Part V teaches.

What it proves, and what comes next

It proves the claim this part started with. A worker can run on a foundation you choose, survive crashes, and wait for people without paying for the wait. It can hand off processes safely, stay inside its rules and learn on any model. And it can show, in money, whether it earns more than it costs.

The next part takes workers like this into production: many workers working together, monitored, secured and kept running.

The invariant. Price from value, floor from variable cost, and measure both every month with real bills.

Check yourself. A manager wants to sell the reference worker to a client next week. What do you say? (Not yet. It runs on synthetic data, with one role, an experimental harness, and a deletion path tested only on a local runtime. It is the proof that the parts work together, and the starting point for a production worker.)

  • Building Affordable, Self-Improving AI Workers (Panaversity, 29 November 2026), sections 29 and 30
Owner
Panaversity