31.10 Build it in order, and count the cost
- Approved by
- Panaversity ·
In everyday life. A cook who opens a small restaurant does not start with a franchise. First one dish, made well and tasted every time. Then the recipe, written down. Then fixed opening hours. Then a notebook of what customers liked. Then locks on the store room. Only when all of that works does she hire a head chef to review the week and change the menu. Each step pays for the next.
What you will learn. The six steps of building a self-improving worker, in order. What the published numbers say about the cost of dreaming. And why one worker with two loops usually beats a team of agents. Lab 31 follows this order. Part III built steps 1 to 3. Tasks 1 to 3 add steps 4 and 5, and Tasks 4 to 8 add step 6. Task 12 counts the cost.
Why it matters. Dreaming is the most interesting step, and the one most often built first. Without the steps before it, there is nothing safe to dream over.
What is the build order?
A worker that holds a role, instead of answering one request, is what this book calls a Digital FTE: a digital full-time employee (Chapter 2). In practice, it is an always-on worker. It must wake on its own, remember the organization and stop repeating mistakes. Build it in six steps. Add each step only when the one before it works. The order comes from the three sources, though none of them sets it out as a list:
| Step | What you add | At Brightline |
|---|---|---|
| 1. A verified loop | One task that slows the team down. Write its checks in a skill, with numbers. First run it one request at a time, then give it a goal. No memory yet | The morning triage, checked by code (Chapters 21 to 23) |
| 2. One instructions file | A short file loaded into every run, like the rules a coding agent reads (12.4). Mukta calls this the simple thing that works, and "unreasonably effective" at guiding the worker1 | instructions.md |
| 3. A schedule or an event trigger | An inbox, and one worker before you run several at once. Decide when it stops, and what it may send, before it runs with nobody watching | The 7:10 schedule, the code check and the report (23.16) |
| 4. Memory the worker writes, in tiers | A scratch folder the worker can write, and a progress file for each task. Shared memory that is read-only. Notes that point to other systems instead of copying them | Lab Tasks 1 and 2 |
| 5. The guardrails | Versions, with the session and author of each change. A hash check on every write, as soon as more than one run can write | Lab Task 2 |
| 6. Dreaming last, behind tiered approval | A dream that reads only sessions whose readers may see the memory, and proposes changes with evidence. Low-risk changes that pass the test are published automatically. The rest go to a person | Lab Tasks 4 to 8 |
Digital FTEs are no longer only an idea. OpenAI's specialist dots, in enterprise preview since September 2026, are agents set up with their own identity and credentials to handle defined responsibilities inside an organization.2
Does dreaming pay for itself?
The vendors say yes, on their chosen work. Measure it on yours. Dreaming spends tokens that no task asked for. The talk argues that it saves more than it costs, because more tasks are right the first time and fewer need a retry.1 The three core sources give no figures. Later Anthropic material does:
- Harvey, a legal AI company, reported that about six times as many tasks were completed after it added dreaming.3
- With Managed Agents memory, Rakuten reported 97% fewer first-pass errors, 27% lower cost and 34% lower latency.4
- On CL-Bench, a test of database tasks scored from 0 to 1, memory lifted Claude Opus 5.5 from 0.655 to 0.838: from about two thirds of a perfect score to more than four fifths.5
These are results reported by the vendor and its customers, on workloads they chose. At Brightline, the measure is the cost per finished triage, dreaming and review included, before and after. The date-format retries cost a few cents a morning. Luis's five answers about NA- documents cost him more than the dream did. That is the comparison to make.
The talk also names three paybacks of memory that is safe to share. Accuracy rises, because the second attempt at a task benefits from notes on what went wrong the first time. Cost and time fall, because the worker gets right the first time the tasks it already understands. And the team gets time back, because the learning runs in the background.1
One worker, or a team of agents?
Usually one worker with two loops. Anthropic has published guidance on folding subagents back into the main loop. It reports companies whose workers got better after they combined routers, planners and specialist subagents into a single loop. One customer measured runs about twice as fast.6 Subagents are still worth using when a single loop gets measurably worse because its context is too full. Chapter 27, later in this part, teaches when. This fits the two-loop model: the separation that matters is between doing the work and improving the memory. That needs two loops, not a fleet.
What is still unknown?
The sources leave five questions open. This chapter gives a default for some of them, and you should write down your own answer before your worker runs:
- How often should a dream run? Dreams can run on a schedule or after each session. Should a detected failure trigger one too? Brightline runs one a week, and after any rollback.
- How much evidence justifies a change, and who sets it? Brightline set four independent sessions for strong evidence, on October 19 (31.7).
- What if a dream's proposal conflicts with a recent human edit? This chapter's default: the human edit wins (31.6).
- How is a stale note found when the fact it contradicts is not in any transcript? If Lakeshore had changed its terms and no run had searched the policy since, no dream would see it.
- When is a recurring pattern better made into a skill than kept as a note? If the NA- lesson grew into ten steps, it would belong in the triage skill, not in memory.
Key ideas of 31.10.
- Build in six steps, and add dreaming last. Without the steps before it, there is nothing safe to dream over.
- Measure the cost per finished task, with dreaming and review included, on your own work. The vendors' figures are not yours.
- One worker with two loops usually beats a team of agents.
Check yourself
Question 1 / 2
0 answered
A team wants to add dreaming to a new worker whose memory has no versions or hash checks yet. What does the build order say?
Sources
- Owner
- Panaversity