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

## Executive summary

This presentation details two major frontiers in large language model capabilities: autonomous multi-agent systems and advanced memory mechanisms. The first demonstrates a team of 1,000 Claude agents successfully formalizing Fermat's Last Theorem using only basic primitives (Git and SQL database) and no domain-specific harness. The second explores 'memory'—the ability of models to organize context—showing that stronger models (like Fable 5) produce tighter, more strategic memories, and that a process called 'dreaming' can be used to correct 'poisoned memories' and build complex knowledge representations (wikis) from raw data.

## Key takeaways

- Autonomous Agent Orchestration: A team of 1,000 agents, given only access to Git and a SQL database, successfully coordinated to formalize a complex mathematical proof over 30 hours, demonstrating that agents can solve long-horizon problems without extensive scaffolding.
- Memory Quality and Salience: Stronger models (e.g., Fable 5) exhibit better instincts for salience, resulting in 'tighter' and more strategic memories compared to weaker models (e.g., Sonnet 3.7), which produce indiscriminate, unwieldy memories.
- The Power of Dreaming: The 'dreaming' mechanism allows Claude to reflect over existing transcripts and notes to build new representations (like wikis) or correct errors, such as rescuing the agent from a 'poisoned memory' loop.

## Technical details

- Multi-Agent Architecture: The 1,000-agent system utilized simple primitives: restricted network access to Git and a SQL database. The lead agent autonomously created coordination tables (announcement, subtask, landed status) to manage the state of the project.
- Memory Benchmarking (CL Bench): The Continual Learning Benchmark (CL Bench) showed that models improve in their ability to use memory when given a simple instruction to use a memory directory, with stronger models demonstrating better retrieval and writing habits.
- Knowledge Representation (Wikis): Claude can natively build knowledge representations, such as wikis, from raw corpora (e.g., company documents/Slack messages). The resulting wiki, when combined with search, improves performance beyond raw semantic search.

## Practical implications

- LLMs can be used to solve extremely long-horizon, complex tasks without human intervention or specialized domain harnesses.
- Memory systems in AI can be improved through reflective processes ('dreaming') to correct errors and consolidate knowledge.
- The concept of building structured knowledge representations (wikis) from unstructured data (transcripts/corpora) is a viable path for knowledge management in AI systems.

## Topics

AI Agents, LLM Architecture, Knowledge Management, Formal Verification, System Orchestration, Fermat's Last Theorem, Lean, Fable 5, Sonnet 3.7

Source: https://www.youtube.com/watch?v=wrfbI5eyLAI
