# 1,000 Claude Agents Formalized Fermat's Last Theorem — Lance Martin, Anthropic

Lance Martin, Anthropic

[Talk page](https://ai.engineer/talks/wrfbI5eyLAI-1-000-claude-agents-formalized-fermats-last) · [Video](https://www.youtube.com/watch?v=wrfbI5eyLAI)

## 1,000 Claude Agents Formalized Fermat’s Last Theorem

Anthropic’s agents used Git and SQL to organize a Lean formalization over about 30 hours. Lance Martin then follows Claude’s memory from notes written during a task to later passes that break a Pokémon navigation loop and build a wiki from company records.

### From a paper proof to a Lean proof

[0:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=12s)

Fermat’s Last Theorem fits on one line. For an integer exponent $n > 2$, the equation $a^n + b^n = c^n$ has no solution in positive integers $a$, $b$, and $c$. The original proof took seven years of work and appeared in the mid-1990s. Formalizing it is a second job. Each step in the chain of reasoning has to be expressed precisely enough for Lean to check it.

In Anthropic’s first formalization, reported in September, roughly a dozen **Claude** agents struggled to coordinate. A specialized proof-orchestration platform helped them track the state of the work. The setup gave them a proof graph they could query, and a researcher provided substantial support. Lance Martin’s follow-up kept Lean as the proof checker and asked whether a much larger team could organize the work itself.

### Give 1,000 agents Git and a SQL database

[2:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=146s)

Each agent ran in its own sandbox with restricted network access. The sandboxes could reach two shared services, Git and a SQL database. Anthropic monitored every tool call in real time for activity such as attempted sandbox escapes. A separate offline review checked all agent runs every 10 minutes.

The prompt established one lead and 999 helpers, described the available tools, and gave the team the problem statement. The follow-up dropped the specialized coordination platform. Researchers left decisions about the solution to the agents, including how to divide and track the work.

### The lead agent builds its own coordination tables

[3:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=238s)

About five minutes into the run, the lead created a set of SQL tables on its own. The lead turned the shared database into a place where the team could coordinate.

- **Announcements.** The lead could broadcast updates that applied across the proof effort.
- **Assignments.** The lead gave workers roles and directed helpers to individual proof statements as work progressed.
- **Notes.** Agents posted observations and progress updates for one another.
- **Subtasks and landed work.** Separate tables tracked smaller pieces of work and marked which contributions had landed as Lean code.

How often did the lead need to broadcast to the whole team? The database activity trace shows writes in red above reads in green. Writes to the announcement table came only occasionally. The lead used it for major updates while agents coordinated work on individual statements through assignments and notes. [4:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=272s)

### Break down hard statements and move agents as work finishes

[5:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=315s)

For one of the harder statements, the agents built a task tree. Which smaller pieces did a larger piece depend on? The branches recorded those dependencies, and the display showed tasks moving from in progress to done, with completed work marked in red. The tree made it possible to follow progress inside a single proof statement. [5:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=323s)

The allocation chart zooms out to the proof’s 60 statements. As statements were solved, the lead reassigned helpers and agents also moved themselves to other parts of the proof. The team finished the formalization in about 30 hours. A closing note called for a freeze of the Git origin and signed off with “magnificent work all 999 of you.” [5:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=346s)

The run showed that this team could build its own proof coordination with Git and SQL under Anthropic’s monitoring. Team size, proof-specific tooling, and researcher involvement all changed from the earlier run, leaving open how much adding agents contributed on its own.

![A status map for the Fermat’s Last Theorem formalization shows 44 of 60 statements proved at hour 7.8 and plots where the 999 helpers are working or waiting.](https://ai.engineer/api/talk-essay-media/fce796b806bc40b114ac922d62f264bc40a62f5aaa5f62a3f38e7d3a3bb0035d)

By hour 7.8, Claude agents had proved 44 of 60 statements in the Fermat formalization. The lead and helpers shifted assignments as the proof progressed. Helpers clustered around level lowering and modularity lifting, while 330 of the 999 helpers were idle.

### A useful note today can become clutter tomorrow

[7:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=439s)

An agent writes a note when something seems important to the task at hand. It knows what just happened and has only a partial view of what later sessions will need. A series of sensible decisions about what to save in the moment can leave overlapping fragments where a future session needs a coherent account.

Martin draws an analogy to overnight memory consolidation, in which replaying parts of the day’s experience is thought to help turn them into long-term knowledge. The corresponding design gives agent memory two jobs. During a task, capture observations while they are fresh. Later, review the records together and decide what should carry forward.

### What a memory directory buys across 40 fresh sessions

[9:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=545s)

CLB, an open-source continual-learning benchmark, gives Claude 40 questions about a database, each in a fresh session. The experiment compares runs with and without a memory directory. When the directory is available, a note saved while answering one question can help answer a later one. The prompt tells Claude it can use the directory and leaves the timing of reads and writes up to the model.

How much did access to the directory help? The chart pairs a solid bar for memory with a hatched bar for the run without it. **Sonnet 4.6** gained little. In Anthropic’s review of the runs, it saved observations inconsistently and seldom looked up notes on its own. Stronger models made better use of the same setup. They chose when to read and write more reliably, and their notes included checked claims about the database and predictions about what might happen next. [9:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=580s)

### What Claude chooses to save while playing Pokémon

[10:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=653s)

While playing Pokémon, Claude could write whatever it wanted to a memory directory. How did two models use that freedom? In the directory comparison, each box is sized by its number of files. The box sizes show how much each model wrote, and the contents of the notes explain what each model thought was worth keeping. [11:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=665s)

- **Sonnet 3.7** recorded a wide range of experiences, including many with little strategic value. The result was a large, unwieldy directory.
- **Fable 5** kept a smaller directory focused on tactics and strategy, especially information that would be hard to recover from the game state alone.

Fable 5 also got further in the game. The model and the contents of its memory changed together, leaving open how much the tighter directory contributed to that progress.

### Dreaming over transcripts and notes

[12:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=746s)

In both experiments, Claude wrote memory while doing the task. A transcript gives a later session a fuller record to search, at the cost of sifting through a lot of material for a few relevant details. A memory note puts a selected observation within easier reach. That selection reflects what looked important during the original task.

Dreaming gives Claude a separate pass over transcripts and existing notes. What does a future session have to look up, and what can it start with? Claude can organize material into a wiki that later sessions consult when needed. It can also promote selected memories to injected context, which loads automatically in every future session.

What does a future session look up or receive automatically?
A later session can search transcripts and notes directly. Those same records can feed a dreaming pass. A wiki gives the session organized knowledge to consult, while memories selected for injection arrive at startup.
- Transcripts — Searchable records of earlier tasks.
- Memory notes — Observations the agent chose to save during a task.
- Dreaming pass — Revisits existing records and reorganizes selected information.
- Wiki — Organized knowledge to consult for later questions.
- Injected context — Selected memories loaded into every future session.
- Future session — Can receive selected memories at startup and retrieve more information as needed.
- Transcripts → Dreaming pass (Records for review)
- Memory notes → Dreaming pass (Observations for review)
- Transcripts → Future session (Details found through search)
- Memory notes → Future session (Notes retrieved on demand)
- Dreaming pass → Wiki (Organize knowledge into pages)
- Dreaming pass → Injected context (Select memories to preload)
- Wiki → Future session (Pages consulted as needed)
- Injected context → Future session (Load at session start)

### A wrong landmark sends Claude through the same trapdoor

[13:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=836s)

During one Pokémon run, Claude saved the wrong location for a landmark. When that memory came back into context, Claude reached the landmark area and used the note to place itself in the wrong spot. It fell through a trapdoor and landed back on the previous level. When Claude reached the same point again with the same memory, it kept making the same mistake.

Could a later pass break the loop? On the trajectory chart, upward movement means game progress and downward movement means regression. With raw memory, Claude kept losing progress when it reached the trapdoor. The orange trajectory, with memory and dreaming, passes that point and reaches the next level. The specific change to the stored memory remains unspecified. [14:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=887s)

### Build a company wiki before answering questions

[15:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=927s)

After acquiring Stainless, Anthropic made an anonymized dataset from company documents, Slack messages, and other records. The team wrote 25 questions that could only be answered from that corpus. Semantic search could pull relevant material from the records at question time. A second approach let Claude spend tokens up front building a wiki from those same records.

What did extra compute before answering buy? Semantic search alone scored about 53% on the question set. As Anthropic increased the token budget for dreaming, the resulting wiki helped Claude answer more questions. Giving Claude both the wiki and the search tool also improved performance over search alone. The combined setup could reuse pages that brought related facts together and still retrieve passages from the underlying records. [16:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=970s)

### Fill the pages the wiki already points to

[17:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1039s)

A separate benchmark started with a wiki Claude had already built. Some entries were placeholders for pages that had yet to be written. The wiki had recorded topics it meant to cover, leaving a visible list of gaps for a later pass.

What changed between the two versions? Dreaming took the existing wiki as input and filled the missing pages in this example. A pass over the wiki can also produce an index. The placeholders made the omissions visible, giving the later pass specific entries to complete. [17:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1044s)

## Key takeaways

- Lean checked the proof. With Git and SQL for coordination, the agents built their own assignment and progress tables, broke hard statements into dependent tasks, and moved workers as statements were solved.
- A memory directory pays off when a model can tell what is worth saving and when a later question calls for a lookup. Both behaviors helped explain the differences across models in CLB’s 40 fresh sessions.
- Dreaming gives Claude a chance to revise what later sessions inherit. In Pokémon, a later pass broke a navigation loop. In the wiki experiments, extra passes improved the reference Claude could consult or filled pages an earlier pass had left unfinished.

## Slides

### Exploring Claude’s Frontiers

Lance Martin opens with two stories about getting more out of Claude. The title slide traces one route in black through a fan of pale branches, with orange dots marking where the route starts and ends.

[0:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=19s) [Title slide crediting Lance Martin as Member of Technical Staff, with a black path highlighted in a branching diagram.](https://assets.ai.engineer/sites/aiecode2025/sha256/7eef7eb35aa1306ce1d4a362eda40eae1a2d286baef2a95d386603e95f6e4286.webp)

Exploring Claude’s Frontiers
Lance Martin Member of Technical Staff

ANTHROPIC

Interface text:
[illegible]er
[illegible]ummit
[illegible]ED BY
[illegible]epMind

### Multi-agent

Many paths fan out from one orange starting point, with a single route traced in black. The diagram opens Lance Martin’s first story about Claude, a multi-agent project on Fermat’s Last Theorem.

[0:25](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=25s) [Multi-agent section slide with gray branches radiating from an orange node and a bold black path curving downward.](https://assets.ai.engineer/sites/aiecode2025/sha256/dcc637f463314fbe1e300b07d0fbc86ce6475c0cfb4145ee5dc7a7df94eb7897.webp)

Multi-agent

ANTHROPIC

### Claude’s initial attempts

Claude’s agents coordinated around a shared project state at first. Their collaboration broke down when they lost track of it. Those attempts still supplied about 7% of the final proof’s non-boilerplate lines. The effort succeeded after the team switched to Prove2Me to manage project state.

[1:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=115s) [Side-by-side diagrams show six agents connected to shared project state and then disconnected from it. Two callouts summarize the early attempts’ contribution and the switch to Prove2Me.](https://assets.ai.engineer/sites/aiecode2025/sha256/681083aa202542e3a0969fa0b800c348b39d613d4b4e1c292ffd38cfd8dd2c0e.webp)

Claude’s initial attempts
Agents had some early success, then lost track of the project’s state and stopped collaborating effectively.

Early success
Agent    Agent    Agent
Project state
Agent    Agent    Agent

Then they lost track
Agent    Agent    Agent
Project state?
Agent    Agent    Agent

About 7%
of the non-boilerplate lines in the final proof came from these failed attempts

Then Prove2Me
The effort succeeded after the switch to this harness

ANTHROPIC
Source
01

### Langlands–Tunnell task tree at hour 24.8

Branches trace the agents’ task dependencies for Langlands–Tunnell. The color shifts from orange toward red for tasks first marked done later in the run. By hour 24.8, the agents had written 1,794 of 2,418 tasks, with 1,696 marked done at a known hour.

[5:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=322s) [A radial task tree with a hollow center marker. At hour 24.8, 1,794 of 2,418 tasks had been written and 1,696 were marked done with a known completion hour.](https://assets.ai.engineer/sites/aiecode2025/sha256/1a530996511bc4fa51d2b5e2acc71ed78b1404d91d9fb9a6782f85e54c992da5.webp)

Hour 24.8
of the run

1,794
of 2,418 tasks written

1,696
marked done, with a known hour

Langlands-Tunnell

Run hour the task was first marked done
Color scale ticks: 21, 23, 25, 27
Written, not marked done
Dark outline: written in the 10 minutes before the hour shown
A sub-area
Faint rings: levels below the statement
Larger dots: more helpers at or below, by the end

ANTHROPIC
Source
01

### Fermat proof staffing at hour 2.4

By hour 2.4, 20 of 60 statements in the Fermat formalization had been proved. Helpers cluster around statements initially set aside and around Shared tools and Groundwork. Martin describes how the lead and agents reassign work as proofs land.

[5:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=354s) [Twenty of 60 statements had been proved. Helper clusters appear around Shared tools, Groundwork, and several statements in the groups that were initially set aside.](https://assets.ai.engineer/sites/aiecode2025/sha256/3ba4e102b0e0bbb521f5509d293eaf41e2e4b93727e18767b4492bc7b314fe67.webp)

Hour 2.4
of the run

20
of the problem’s 60 statements proved

The 999 helpers
569 at a statement
108 at a line of work or shared tools
208 working, place not known
2 waiting on its own build, place not known
112 idle (waiting, sleeping or polling)
0 not running

Landed first
Judged doable
Set aside, staffed by hour 1.2
Shared tools

Set aside, taken up from hour 1.5
Groundwork
Modularity lifting
Langlands-Tunnell
Last links
Fermat’s Last Theorem

Working or waiting on a build, place not known
Idle
Not running

How to read the map
One of the problem’s 60 statements, not yet proved
A statement whose proof has landed on the main branch
An alternative no longer needed, or dropped by the lead
A line of work across several statements, or shared tools
Statements grouped by how the lead staffed them

ANTHROPIC
Source
01

### Proof progress at hour 7.8

By hour 7.8, Claude agents had proved 44 of 60 statements in the Fermat formalization. The lead and helpers shifted assignments as the proof progressed. Helpers clustered around level lowering and modularity lifting, while 330 of the 999 helpers were idle.

[6:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=364s) [A status map for the Fermat’s Last Theorem formalization shows 44 of 60 statements proved at hour 7.8 and plots where the 999 helpers are working or waiting.](https://assets.ai.engineer/sites/aiecode2025/sha256/fce796b806bc40b114ac922d62f264bc40a62f5aaa5f62a3f38e7d3a3bb0035d.webp)

Hour 7.8
of the run

44
of the problem's 60 statements proved

The 999 helpers
262 at a statement
48 at a line of work or shared tools
169 working, place not known
187 waiting on its own build, place not known
330 idle (waiting, sleeping or polling)
3 not running

Landed first
Judged doable
Set aside, staffed by hour 1.2

Set aside, taken up from hour 1.5
Level lowering
Modularity lifting
Langlands-Tunnell
Last links
Fermat's Last Theorem

Working or waiting on a build, place not known
Idle
Not running

How to read the map
One of the problem's 60 statements, not yet proved
A statement whose proof has landed on the main branch
An alternative no longer needed, or dropped by the lead
A line of work across several statements, or shared tools
Statements grouped by how the lead staffed them

ANTHROPIC
Source
01

### Main branch freeze

An agent’s note calls for an immediate freeze on origin/main and thanks all 999 helpers. Martin says the Fermat formalization team coordinated with simple primitives, with safety and monitoring in place and no domain-specific harness.

[6:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=395s) [A two-line note calls for an immediate freeze of the main branch and praises all 999 helpers.](https://assets.ai.engineer/sites/aiecode2025/sha256/b1f140dc57bf2184c98bfb924174abb5a2271ce858a10ec7fc44f3ccde8807fc.webp)

"OTAL FREEZE OF origin/main, EFFECTIVE NOW.

… Magnificent work, all 999 of you."

ANTHROPIC
01

### Memory

A black path winds through a web of gray nodes, linking two orange points. Lance Martin introduces memory as Claude’s growing ability to organize context for long-horizon problems.

[7:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=455s) [The heading Memory appears beside a radial network of gray nodes. A black path connects two orange points.](https://assets.ai.engineer/sites/aiecode2025/sha256/169d1a5ac53f6a2f52aed7c1bedbd93f529fe9a7c70b6b8b350ad2ce3f4011b7.webp)

Memory

ANTHROPIC

## Full transcript

[0:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=12s) Uh, I'm Lance from Anthropic. I know

[0:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=14s) we've had some issues with the one of

[0:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=16s) the prior keynotes, so we're set to go.

[0:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=19s) I'm going to tell two stories about

[0:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=20s) getting the most out of Claude and

[0:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=22s) exploring Cloud's frontier capabilities.

[0:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=24s) So, the first is multi-agent. This is a

[0:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=26s) blog I wrote with the fable 52 launch

[0:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=28s) and I want to kind of tell the story of

[0:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=30s) what happened here. So for mats last

[0:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=33s) theorem is one of the more kind of

[0:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=34s) famous um claims in mathematics. It's

[0:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=36s) stood and proven for around 350 years

[0:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=38s) and it's actually a very simple

[0:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=40s) statement just a to the n plus b to the

[0:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=42s) n equals c to the n has no solution for

[0:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=44s) any positive whole numbers greater than

[0:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=46s) two. Now this deceptively simple kind of

[0:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=49s) statement has proven to be quite

[0:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=51s) difficult to actually prove. In the mid

[0:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=54s) 90s, Sir Andrew Wilds uh did prove it.

[0:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=57s) Uh he put out a proof and it took him

[0:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=59s) seven years of work. It was extremely

[1:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=61s) painstaking. And since that time, a

[1:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=64s) major effort and interest in mathematics

[1:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=66s) has been formalizing that proof or

[1:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=67s) basically computationally checking every

[1:09](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=69s) step. So proofs are kind of long chains

[1:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=71s) of logic and you actually can

[1:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=72s) computationally check proofs using

[1:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=74s) different systems which I'll talk about

[1:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=76s) for example using lean.

[1:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=79s) So this is just kind of a visual kind of

[1:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=80s) explaining the this is a very

[1:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=82s) interesting video showing the effort

[1:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=83s) that he went through was extremely

[1:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=84s) painstaking process to you know

[1:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=86s) establish this proof

[1:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=88s) and in September we published that we

[1:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=92s) used claw to formalize it. This was like

[1:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=94s) kind of first very important result that

[1:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=96s) we kind of shared along these lines and

[1:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=100s) we used lean to do it. So lean allows

[1:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=103s) you to computationally verify every step

[1:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=105s) in a proof. Now doing this though is

[1:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=107s) extremely painstaking. We started with a

[1:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=110s) team of down a dozen agents and this is

[1:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=113s) kind of just showing a schematic of that

[1:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=114s) team. Very early on that team didn't

[1:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=117s) work very effectively. We had to give it

[2:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=120s) something called prove to me. Now this

[2:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=122s) is a kind of a platform for

[2:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=123s) orchestrating mathematics proofs and it

[2:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=126s) helped the agents significantly manage

[2:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=128s) the state of the project.

[2:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=130s) Lean you can think about as a harness.

[2:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=133s) So basically it provides the agents with

[2:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=134s) a graph that they can query. So it it's

[2:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=136s) basically lots of scaffolding around

[2:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=138s) this problem statement. You can think of

[2:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=139s) it as like a a very domain specific

[2:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=141s) harness. Okay. Now this is all setting

[2:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=143s) up what we actually did. We reported

[2:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=146s) this was back in September. The

[2:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=148s) formalization. Now what I wanted to do

[2:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=150s) for f for 52 is show can we have a much

[2:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=153s) larger team of agents. So going from

[2:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=155s) around a dozen to a thousand do this

[2:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=157s) formalization with no domain specific

[2:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=160s) harness. without proved to me and with

[2:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=163s) no human steering with respect to the

[2:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=166s) solution. So the report we talked about

[2:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=167s) in September had both this domain

[2:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=169s) specific harness proved to me and a lot

[2:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=171s) of support from a researcher. This is

[2:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=174s) testing whether or not a large team of

[2:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=175s) Fable 2 agents can autonomously

[2:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=178s) develop this this formalization

[2:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=179s) themselves.

[3:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=181s) So this is just giving you a sense for

[3:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=183s) the harness. It looks kind of

[3:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=184s) complicated but it's actually pretty

[3:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=186s) simple. Each of the thousand agents has

[3:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=188s) its own sandbox with restricted network

[3:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=190s) access. Most of this is directed on

[3:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=193s) safety and security. So we have a

[3:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=195s) thousand agents. Each have their own

[3:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=197s) sandbox. They can connect to two

[3:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=199s) different things. Git and a SQL

[3:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=200s) database. That's it. That's the only

[3:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=202s) those are the core prims that we give

[3:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=203s) this team. And we have real-time

[3:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=206s) monitoring looking at every tool call

[3:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=208s) for things like escapes. We also have

[3:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=210s) offline monitoring looking at runs of

[3:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=213s) all the agents every 10 minutes. This is

[3:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=215s) kind of the setup. thousand agent team

[3:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=217s) very simple primitives just get and a

[3:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=219s) database

[3:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=221s) the prompting is pretty simple it

[3:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=224s) establishes one lead agent 9999 helper

[3:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=227s) agents it gives them awareness of git

[3:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=230s) and the database and the problem

[3:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=232s) statement that's really it we want to

[3:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=234s) see if this team could then do this

[3:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=235s) formalization

[3:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=238s) what's interesting is this kind of the

[4:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=240s) story of what the team did the lead very

[4:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=242s) early on five minutes into the run

[4:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=244s) basically created these database tables.

[4:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=247s) So agents now are sufficiently advanced

[4:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=250s) that they can actually build primitives

[4:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=252s) that they need to solve hard problems.

[4:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=253s) We didn't tell them to build these

[4:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=254s) tables. These are the tables that the

[4:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=255s) agent actually just kind of built.

[4:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=257s) A table where the lead can announce

[4:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=259s) things, assign roles to workers,

[4:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=262s) everyone, you know, agents can post

[4:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=264s) notes, a subtask table, a table that

[4:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=266s) indicates whether or not things are

[4:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=267s) landed. So the lead just creates these

[4:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=269s) tables to orchestrate this team. And

[4:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=272s) this is a visualization showing how the

[4:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=275s) agents wrote to and read from these

[4:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=277s) tables over the course of this run. Now

[4:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=279s) red on the top is showing writes to the

[4:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=281s) tables. Green is showing reads. What's

[4:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=283s) really interesting is you can see

[4:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=284s) occasionally the lead right into the

[4:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=285s) announce table. This kind of announces

[4:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=287s) major global like kind of um

[4:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=289s) announcements about the problem. Um it

[4:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=292s) also assigns workers these helpers

[4:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=295s) different statements in this theorem as

[4:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=297s) they proceed. Notes are where they

[4:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=299s) communicate and share kind of progress.

[5:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=301s) Land is where they kind of actually

[5:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=303s) write the lean code uh as part of the

[5:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=305s) proof. And so the agents all

[5:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=307s) autonomously without specific prompting

[5:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=310s) use the database in this way to

[5:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=311s) coordinate their work on this extremely

[5:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=313s) hard long horizon task. This ran for

[5:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=315s) around 30 hours and for particularly

[5:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=319s) challenging parts of this proof they

[5:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=321s) actually developed their own

[5:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=322s) abstractions. This is actually a task

[5:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=324s) tree for this lran's tunnel. This is one

[5:25](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=325s) of the harder statements in the proof

[5:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=327s) and this is actually showing the

[5:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=329s) different dependencies of the tasks

[5:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=330s) within this tree and this is actually

[5:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=333s) showing over time how you know the

[5:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=335s) progress from like in progress to done

[5:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=337s) in red. So the point of all this is

[5:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=340s) really just to to kind of highlight

[5:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=341s) agents can solve very long horizon

[5:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=343s) problems without much scaffolding. This

[5:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=346s) is showing kind of the overall kind of

[5:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=349s) um allocation of the agents across these

[5:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=352s) different tasks over the course of this

[5:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=353s) run. And um this kind of shows how the

[5:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=358s) lead and the agents themselves kind of

[5:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=359s) reallocate themselves and kind of

[6:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=361s) reassign themselves to different parts

[6:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=363s) of the problem as it progresses and as

[6:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=366s) these statements there's 60 statements

[6:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=367s) in this proof are all solved. So the

[6:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=370s) agents using simple primitives get and

[6:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=372s) the database can coordinate themselves

[6:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=375s) across this very hard problem to solve

[6:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=377s) it progressively over time. That's

[6:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=379s) really the key point and you can see

[6:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=380s) time progressing here. This from

[6:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=383s) whatever runs this is one of the notes

[6:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=384s) that the agents left basically saying

[6:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=386s) total freeze of the origin effective now

[6:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=388s) magnificent work all 999 of you. Um so

[6:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=392s) so basically what is really interesting

[6:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=394s) about this is we were able to show this

[6:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=398s) formalization which was expected to take

[6:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=400s) many many years back in September. We

[6:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=402s) showed initially we could do it with 12

[6:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=404s) with like a dozen agents with a lot of

[6:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=406s) scaffolding. This proved to me harness

[6:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=408s) and a lot of poking and and and support

[6:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=410s) from a researcher. This new result is

[6:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=413s) showing um we provide a lot of structure

[6:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=416s) in terms of safety and monitoring but

[6:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=418s) the agent team was able to accomplish

[7:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=420s) this task with very simple primitives

[7:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=422s) without a domain specific harness in

[7:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=424s) this particular case. Um and agents are

[7:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=427s) getting increasingly good at

[7:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=428s) orchestrating themselves and knowing how

[7:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=430s) to coordinate using these simple

[7:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=431s) primitives for very challenging long

[7:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=433s) horizon tasks. That's really the key

[7:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=434s) kind of observation which is very

[7:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=436s) interesting from this work.

[7:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=439s) Now I want to shift gears and talk about

[7:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=440s) memory which is uh entirely different

[7:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=443s) when I talked about in terms of multi-

[7:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=444s) aent but it's highlighting another area

[7:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=446s) we're seeing claude gain significant

[7:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=448s) capability. So previously we talked kind

[7:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=450s) of about claude's ability to orchestrate

[7:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=452s) large teams to solve very long horizon

[7:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=453s) problems. Memory is is a different

[7:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=455s) capability. It's showing that claude is

[7:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=457s) increasingly capable to organize this

[7:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=458s) context to help solve long horizon

[7:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=460s) problems.

[7:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=462s) So I published an end blog on this

[7:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=464s) fairly recently and this is actually the

[7:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=466s) lead line of the blog. I think this

[7:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=468s) actually encapsulates the idea of the

[7:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=470s) blog and like one of the central ideas

[7:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=471s) around memory I think is very

[7:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=473s) interesting and this is from the

[7:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=474s) philosopher Kirkard. So life can only be

[7:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=477s) understood backwards but it must be

[7:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=478s) lived forwards. This is a fundamental

[8:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=480s) paradox of agent memory because agents

[8:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=482s) write to memory typically as they go

[8:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=484s) about a task. They encounter something

[8:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=486s) weird or interesting they write to

[8:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=487s) memory. But memory needs to be a

[8:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=491s) coherent map of an agent's knowledge

[8:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=493s) that agents can look back on and reflect

[8:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=494s) on. So when they're writing to memory,

[8:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=497s) they're writing kind of myopically.

[8:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=498s) They're looking greedily within a

[8:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=500s) session saying, "Ah, this seems

[8:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=501s) important for this task at hand." But

[8:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=502s) memory needs to be something that's

[8:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=503s) globally coherent and not redundant. So

[8:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=506s) this is like a very tricky paradox of

[8:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=508s) memory. And frankly, we as humans have

[8:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=511s) the same kind of challenge. We go about

[8:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=514s) our day, we write to short-term memory.

[8:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=515s) It's believed that the hippocampus kind

[8:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=517s) of is the place that that's

[8:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=518s) orchestrated. At night, it's believed

[8:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=520s) that the hippocampus replays to the

[8:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=523s) neoortex is where long-term knowledge is

[8:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=525s) stored. Uh so it's believed that

[8:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=527s) actually this dreaming process for

[8:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=528s) humans help consolidate the fragments or

[8:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=531s) like the most important aspects of our

[8:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=532s) daily experience into long-term

[8:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=533s) knowledge. So there's this decomposition

[8:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=535s) between daily memory and kind of

[8:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=538s) long-term knowledge. And we found agents

[9:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=540s) can benefit from the same decomposition.

[9:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=542s) That's really the key point of the post.

[9:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=545s) Now, here's some results kind of telling

[9:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=546s) the story. So, this is actually u an

[9:09](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=549s) open source continued learning benchmark

[9:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=551s) called CLB

[9:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=553s) and [clears throat] this is showing that

[9:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=555s) uh different models as you go from like

[9:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=558s) sonnet up to like open 55 get

[9:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=560s) increasingly good at using memory. Now,

[9:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=561s) this task is a very simple setup. It

[9:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=564s) asks Claude to ask to solve 40 questions

[9:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=566s) about a database. In between each

[9:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=568s) question, it's a fresh session and

[9:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=569s) Claude can write to notes like a memory

[9:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=571s) directory between each session. So, it's

[9:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=573s) kind like a set of sequential questions

[9:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=575s) and Claude can write memories to help

[9:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=577s) with future questions, right? So, what

[9:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=580s) happens is the the dark bars are showing

[9:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=584s) when you give Claude the memory store

[9:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=585s) and then the the hash is like without

[9:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=587s) memory. Okay. Now, what's interesting is

[9:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=590s) with Sonnet 46, giving Sonnet memory,

[9:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=593s) you can see in the dark blue has very

[9:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=595s) little benefit. can't really use memory.

[9:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=598s) And we looked at the results and we

[9:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=599s) found sonnet doesn't um doesn't reliably

[10:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=602s) know when to write to memory. It also

[10:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=604s) doesn't really uh naturally read from

[10:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=607s) memory. Okay. It's also worth noting

[10:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=610s) that these experiments are done with no

[10:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=612s) specific memory prompting. It just tells

[10:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=614s) the agent the directory is available.

[10:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=615s) Use memory if you want. That's really

[10:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=617s) it. So sonnet 4.6 doesn't natively use

[10:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=619s) memory effectively. Sonnet 5 does does

[10:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=622s) indeed better. Opus and so on. And so

[10:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=624s) basically the models get better and

[10:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=626s) better with the same simple instruction

[10:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=628s) at using memory. And really the the key

[10:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=631s) idea here is that what happens is with

[10:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=634s) stronger models they know intrinsically

[10:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=636s) when to write to memory and they kind of

[10:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=638s) know intrinsically uh when to read from

[10:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=640s) memory to retrieve information. Their

[10:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=642s) memories are also better. They're like

[10:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=644s) they're highly verified statements or

[10:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=645s) predictions about kind of the state of

[10:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=647s) the database or what may happen next

[10:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=649s) versus earlier models tend to write um

[10:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=652s) lower quality memories. And I'll show

[10:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=653s) you a very fun example of this from a

[10:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=655s) different game. This is from Pokemon. So

[10:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=659s) this is showing you Claude 37's memory

[11:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=661s) directory from Pokemon versus Fable 5.

[11:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=665s) Um here is the key point. The size of

[11:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=668s) each box indicates the um the number of

[11:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=672s) memory files in each of these

[11:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=674s) directories. Okay. So when we have

[11:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=676s) Claude Pay Pokemon, we give Claude a

[11:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=677s) memory directory just like I did in that

[11:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=679s) prior benchmark, right? Claude can write

[11:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=681s) whatever it wants that directory while

[11:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=682s) it plays the game. What's really

[11:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=684s) interesting is Sonnet 37, we see it

[11:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=687s) writes a huge amount to memory. And when

[11:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=689s) you look at the memories, it's

[11:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=690s) indiscriminate. It's basically writing

[11:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=692s) down all sorts of experience. It creates

[11:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=694s) this huge unwieldy just disgusting

[11:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=696s) memory directory of things that are not

[11:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=698s) really relevant or strategic for

[11:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=699s) gameplay and it proceeds much worse in

[11:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=702s) the game than Fable 5. Fable 5's memory

[11:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=705s) directory is much tighter. It's really

[11:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=707s) strategic insights, tactical knowledge,

[11:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=709s) things you can't just get from game

[11:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=710s) state very easily. So what we see is

[11:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=713s) better models are much are have much

[11:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=715s) better instincts for salience and like

[11:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=717s) what to write to memory. And you can see

[11:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=719s) this reflected in the size of the memory

[12:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=720s) directories. It's much tighter. It's

[12:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=722s) much more strategic and gameplay indeed

[12:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=724s) with Fable 5 gets much further than Son

[12:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=726s) 37. So it gives another intuition around

[12:09](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=729s) the fact that Claude is much better at

[12:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=731s) writing to memory, knowing kind of what

[12:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=733s) to write in salience and what's salient

[12:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=735s) and uh and also kind of using and

[12:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=738s) reading from memory. So models are

[12:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=739s) getting more and more um kind of

[12:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=741s) effective at knowing salience, knowing

[12:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=743s) what to write and also reading.

[12:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=746s) Now, both of these represent what I

[12:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=748s) would consider in my initial framing of

[12:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=751s) like writing to memory during

[12:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=753s) experience. So, basically in both of

[12:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=754s) these tasks, we let Claude write to

[12:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=755s) memory while it plays this game. We let

[12:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=757s) Claude write to memory while it does the

[12:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=759s) CLB benchmark. But, as I mentioned,

[12:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=762s) there's also the dreaming side of

[12:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=764s) memory. So, this is allowing Claude to

[12:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=766s) reflect over memories to fix things. And

[12:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=768s) I'll show some interesting examples of

[12:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=769s) that.

[12:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=771s) This is kind of a a framing of dreaming.

[12:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=774s) And so you can think about memory in

[12:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=776s) terms of um there are transcripts.

[13:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=780s) Transcripts you can think about as kind

[13:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=781s) of the foundation of memory. So imagine

[13:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=783s) a memory system could very simply be

[13:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=785s) just transcript search. Claude writer

[13:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=788s) transcript as it goes about a task.

[13:09](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=789s) Future session can read from the

[13:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=791s) transcript. Of course transcripts are

[13:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=793s) large. It's very unwieldy. We talk a lot

[13:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=796s) about in the blog post the fact that

[13:17](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=797s) transcripts often contain information

[13:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=799s) that you know a very very small amount

[13:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=800s) of information in transcripts is

[13:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=801s) actually salient and matters. So we also

[13:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=804s) allow claw to do things like writing

[13:25](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=805s) memory notes also I just talked about as

[13:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=807s) it goes it can write notes to memory but

[13:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=809s) dreaming lets you do more. Dreaming lets

[13:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=811s) you reflect over transcripts and these

[13:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=813s) written notes and re re-represent them

[13:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=816s) build memory representations like wikis

[13:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=818s) as an example actually promote certain

[13:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=820s) memories to injected context and load it

[13:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=822s) preemptively into every future session.

[13:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=824s) So memory is this dreaming is this

[13:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=826s) mechanism where you can kind of process

[13:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=828s) existing transcripts or existing memory

[13:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=830s) notes and build new things from them

[13:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=832s) including representations injected

[13:53](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=833s) contexts and more.

[13:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=836s) So some fun examples of this is from

[13:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=838s) Pokemon gameplay

[14:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=840s) dreaming is an effective way to correct

[14:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=842s) mistakes in memory. So as I talked about

[14:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=844s) when Claude's going about a task it can

[14:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=845s) write incorrect notes to memory just it

[14:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=848s) makes a mistake. this happened. This is

[14:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=850s) in in this particular game. Um Claude

[14:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=853s) wrote incorrectly wrote the location u

[14:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=856s) of a particular landmark in the game.

[14:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=859s) Now what happened is with this

[14:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=860s) incorrectly written memory. Claude got

[14:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=863s) trapped in a loop where basically it

[14:25](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=865s) would misloize itself at this particular

[14:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=867s) point in the game, fall down this trap

[14:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=869s) door and it would basically send it back

[14:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=870s) to the prior level. That's like the high

[14:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=872s) level intuition. The details aren't that

[14:34](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=874s) interesting or important. The key idea

[14:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=876s) is a poison memory was injected and it's

[14:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=878s) stuck there. Dreaming can rescue that.

[14:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=881s) That's really the intuition on why

[14:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=882s) dreaming is extremely powerful for

[14:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=884s) reflecting over memories and correcting

[14:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=885s) them.

[14:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=887s) So this is showing some trajectories of

[14:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=889s) the game where orange is memory and

[14:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=891s) dreaming. Up is good. So basically up

[14:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=894s) represents game progress and down

[14:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=896s) represents kind of game regression. And

[14:58](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=898s) what's interesting is raw memory um

[15:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=902s) basically without dreaming we can see

[15:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=904s) crashes out a incorrect memory is

[15:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=907s) planted and claw continues to basically

[15:09](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=909s) regress or fall in the game when it hits

[15:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=911s) that particular point. With dreaming it

[15:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=912s) rescues that mistake claw proceeds to

[15:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=914s) the next level. That's really the key

[15:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=916s) observation and this is a very general

[15:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=918s) principle that claw can use dreaming to

[15:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=920s) correct mistakes in memory that are

[15:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=921s) otherwise stuck there. It's a very

[15:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=923s) important way you can kind of um kind of

[15:25](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=925s) correct from errors. Now, this is

[15:27](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=927s) another fun example of building

[15:29](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=929s) representations in memory. So, there's

[15:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=931s) been a lot of interest in wikis as kind

[15:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=933s) of general um kind of ways that cloud

[15:36](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=936s) can organize knowledge. This is a really

[15:38](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=938s) fun example uh from we acquired a

[15:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=941s) company Stainless back in May and we had

[15:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=945s) access to the the company Corpus all its

[15:47](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=947s) documents and Slack messages and so

[15:49](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=949s) forth and we deanmi we anonymize things

[15:51](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=951s) and we built um kind of a a a data set

[15:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=955s) from it which allowed us to test

[15:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=956s) dreaming. So what we did was we created

[15:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=959s) kind of an email set of 25 questions

[16:00](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=960s) about the company that can only be

[16:02](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=962s) answered from this corpus. We allow

[16:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=964s) Claude to build a wiki from this

[16:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=968s) information to help it answer questions.

[16:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=970s) What you see is we compare a raw search

[16:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=973s) tool that's just like some kind of

[16:14](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=974s) semantic search over this this kind of

[16:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=976s) documentation. We compare that as a

[16:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=978s) baseline which does reasonably well. You

[16:20](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=980s) can see it's like 53%. Just for search.

[16:23](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=983s) We also test letting quad build a wiki

[16:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=986s) over this knowledge. You can see as you

[16:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=988s) push, you add more and more dreaming

[16:30](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=990s) tokens, the wiki gets better and better

[16:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=992s) and better, allowing Claude to answer

[16:33](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=993s) questions. So Claude natively can kind

[16:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=997s) of build up over time a representation

[16:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=999s) of this of this kind of corpus of

[16:41](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1001s) knowledge through a wiki. And as you add

[16:43](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1003s) more dreaming compute, the wiki gets

[16:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1005s) more and more useful. We think it's a

[16:46](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1006s) really nice mental model to think about

[16:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1008s) how agents can kind of build knowledge

[16:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1010s) over time. they can be given access to

[16:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1012s) kind of raw corpuses of text of

[16:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1014s) transcripts and they can kind of build

[16:55](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1015s) these representations that allow them to

[16:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1017s) search those tong texts much more easily

[16:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1019s) to answer questions and to connect their

[17:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1021s) knowledge in effective ways. We also

[17:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1023s) find that adding the wiki and the search

[17:04](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1024s) tool together actually bumps further

[17:06](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1026s) beyond just raw search. So it's kind of

[17:08](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1028s) another intuition that basically claude

[17:11](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1031s) can also build representations like

[17:13](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1033s) wikis in its kind of memory um in order

[17:16](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1036s) to help it kind of solve problems.

[17:19](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1039s) And and a final example, this is from a

[17:21](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1041s) different benchmark uh but um this is

[17:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1044s) showing two different wiks that Claude

[17:26](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1046s) built. So this is pri prior to dreaming

[17:28](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1048s) and after dreaming. What we saw is when

[17:31](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1051s) Claude was building wiks in this

[17:32](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1052s) particular case, there were some gaps

[17:35](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1055s) and for example this initial wiki had a

[17:37](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1057s) bunch of placeholders for pages that

[17:39](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1059s) didn't exist. This can happen when cla's

[17:40](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1060s) kind of building different memory

[17:42](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1062s) representations and without dreaming

[17:44](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1064s) compute, there may not be opportunities

[17:45](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1065s) to rescue or fix those errors. that we

[17:48](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1068s) saw is when we ran dreaming. Dreaming

[17:50](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1070s) can look over Claude's existing

[17:52](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1072s) representation like for example a wiki

[17:54](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1074s) and can fill in mistakes. So in this

[17:56](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1076s) case it fills in all those missing gaps.

[17:57](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1077s) It may creates an index and so again

[17:59](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1079s) dreaming is a way that claude can

[18:01](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1081s) reflect and and kind of apply compute

[18:03](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1083s) across its memory to improve it by

[18:05](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1085s) correcting mistakes like I talked about

[18:07](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1087s) by filling in gaps in its knowledge like

[18:10](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1090s) we see here uh or for example by

[18:12](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1092s) creating new representations like wikis.

[18:15](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1095s) Um, so with that I uh thank you all for

[18:18](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1098s) listening and um I I'll be at the at the

[18:22](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1102s) anthropic booth. Please uh come see me

[18:24](https://www.youtube.com/watch?v=wrfbI5eyLAI&t=1104s) and happy to talk about any of this.
