# 36.1 Recall, and what changes on the open stack (/affordable-self-improving-ai-workers/the-self-improvement-platform/recall-and-what-changes)

---
type: Document
title: "36.1 Recall, and what changes on the open stack"
description: "Chapter 31's two loops and its promotion rule in one page, what Claude Managed Agents and OpenAI give you for learning, and what you build on the open stack."
status: stable
order: 436.01
ksor:
  owner: team:panaversity
  audience: [ public ]
  approval:
    by: process:panaversity
    at: 2026-11-30T08:18:55Z
chapter: "36"
part: IV
expert_status: manager
concepts: [ "36.1" ]
last_verified: 2026-11-29
sources:
  - id: cma-memory
    title: "Claude Managed Agents memory (Anthropic documentation, beta, verified 2026-11-29)"
    resource: https://platform.claude.com/docs/en/managed-agents/memory
  - id: cma-dreams
    title: "Dreams (Anthropic documentation, research preview, verified 2026-11-29)"
    resource: https://platform.claude.com/docs/en/managed-agents/dreams
  - id: paper
    title: "Building Affordable, Self-Improving AI Workers (Panaversity, 29 November 2026), sections 10 and 12"
    resource: "Panaversity paper, version 1.0, 29 November 2026 (not yet published)"
generated:
  at: 2026-11-30T08:18:55Z
  by: human:zia
trust_tier: unverified
build_id: sha256:d6ce3f28a2cf8e492a60bae1b426b7cc6466e35e83d70c3b9763db2c55009f4b
dirty: true
ksor_version: 0.0.60
---

**In everyday life.** You learned to cook in your parents' kitchen. When you move to your own flat, you do not learn cooking again. You learn where things are, and you buy your own pots.

**What you will learn.** What Chapter 31 taught, in one page, and which parts of it you now build yourself.

**Why it matters.** The ideas do not change. Who owns each part does.

### What Chapter 31 taught

A worker that learns runs **two loops**:

- **The work loop.** It does assignments, and each one leaves a record: what it saw, what it did, what a person corrected.
- **The learning loop.** In the background, it reads those records, finds patterns, and proposes lessons: a fact to remember, a better step in a skill.

Chapter 31 called them the task loop and the dreaming loop. Between the two sits the **promotion protocol**: a proposed lesson becomes part of the worker only after it is tested against the golden set and gets the right approval ([31.7](../../building-ai-workers/self-improving-ai-workers/who-approves-tiers-by-risk.md)). The worker never edits itself.

The learning cycle, as the paper draws it:

> Do the work → record the experience → find a lesson → propose a change → evaluate it independently → approve and release it → do better work → earn more → reinvest in learning.

### What changes on the open stack

Everything in that loop stays. What changes is where each part lives and who runs it:

| Part | Chapter 31 | This chapter on the open stack |
| --- | --- | --- |
| Memory | Versioned files in the worker's repository; on Claude Managed Agents, memory stores (beta), held by Anthropic | Your tables in Neon, with pgvector |
| Reflection | A dream you built; on Claude Managed Agents, Dreams (research preview, by request), Claude models | A Workflow you build, on any approved model |
| Evaluation | Your golden set and scripts | The same, as an evaluation runner with held-out cases |
| Release | Your promotion protocol | Candidate states and immutable releases in your database |
| Learning budget | Not built | Built |
| Learning to need no model | Not built | Built |

### How today's tools realize it

*Checked on Sunday, 29 November 2026. Products change; check each line before you rely on it.*

**Claude Managed Agents.** Memory stores keep facts across sessions, and dreams reflect on past sessions to curate memory. They are the fastest way to start, as [31.13](../../building-ai-workers/self-improving-ai-workers/how-todays-tools-realize-it.md) described. They run on Claude models, and dreams are billed at the chosen model's token prices. What the worker learns is held in Anthropic's stores, in Anthropic's format.

**OpenAI.** The Agents SDK gives you sessions that keep conversation history. Long-term memory, reflection and curation are yours to build, as on the open stack.

**The open stack.** Pi Durable keeps each conversation, and nothing more. Memory, dreaming, evaluation and evolution are yours: tables in Neon, Workflows on Cloudflare, models through the router from Chapter 35. That is more to build. It is also the only option where everything the worker learns is in your own database, in your own format, and works with whichever model you choose next year.

> **The invariant.** Nothing the worker learns reaches production without independent evaluation and approval, and everything it learns belongs to the company, not the model.

**Check yourself.** A team on Claude Managed Agents asks, "If we move to the open stack, do we lose what the worker learned?" What do you tell them? *(Not if they plan the move. Memory stores are in Anthropic's format, and dreaming is tied to Claude. So moving means reading the approved knowledge out, copying it into their own store with its provenance, and re-testing it on the new model. Check what the memory API lets them read before they promise anything.)*
