用 Fable 5 搭建自我改进的代理系统:14 步指南
本文提供了一份详细的 14 步路线图,教你如何利用 Claude Fable 5 构建一个能自我改进的代理系统。核心在于将 Fable 5 从“提示-关闭”的临时工具转变为持续累积的系统:通过 /goal 和 Outcomes 实现自纠正循环,用独立验证子代理替代自我批评来提升探索空间,借助状态文件(STATE.md)和 Skills 实现跨会话记忆,并利用动态工作流和 Routines 实现长时间自主运行。文章还给出了成本-能力矩阵(Fable 5 用于编排,Sonnet 4.6 用于工作,Haiku 4.5 用于评分)以及 Mythos 安全边界的处理建议。适合想要真正发挥 Fable 5 长期自主能力的 AI 工程师和系统设计师。
Most people are using Claude Fable 5 like Sonnet 4.6 with a bigger context window. They prompt it. It works for 5 minutes. They close the tab.
9 out of 10 users have never run an agent system that compounds - where every run leaves the next run smarter, every state file accumulates, every skill sharpens.
Fable 5 was built to run for days. You’re using it for minutes. This is the 14-step roadmap to build the self-improving system Fable 5 was designed for.
Follow my Substack to get fresh AI alpha: movez.substack.com
Claude Fable 5 launched June 9, 2026 - the first publicly available Mythos-class model, the tier Anthropic put one rung above Opus.
This is the 14-step roadmap to build the self-improving system Fable 5 was designed for - sourced from Anthropic engineering posts, the team’s public experiments, and verified against the launch documentation as of June 2026.
Three tiers: what Fable 5 actually unlocks, the three primitives that make it compound (loops, dynamic workflows, routines), and the self-improvement layer that turns it into a system.
14 steps. 3 tiers. Stop prompting. Start building a system that compounds.

大多数人使用 Claude Fable 5 的方式,就像用更大的上下文窗口运行 Sonnet 4.6:输入提示词,它在 5 分钟内给出结果,然后你关掉标签页。
十位用户中有九位从未运行过能持续累积的智能体系统——每一次运行都能让下一次更聪明,每一个状态文件在不断积累,每一项技能都在打磨。
Fable 5 的设计初衷是持续运行数天,而你现在只用了它几分钟。这份 14 步路线图,正是为了构建 Fable 5 所设计的自我改进系统。
关注我的 Substack 获取最新 AI 前沿信息:movez.substack.com
Claude Fable 5 于 2026 年 6 月 9 日发布,是首个公开可用的 Mythos 级模型——Anthropic 将其定位在 Opus 之上。
这份 14 步路线图基于 Anthropic 工程博客、团队的公开实验,并对照 2026 年 6 月发布的文档进行了验证,指导你构建 Fable 5 所设计的自我改进系统。
三个层次:Fable 5 真正解锁的能力、三个构成复利效应的原语(循环、动态工作流、例程),以及将系统转变为自我改进的优化层。
14 步。3 层。别再只给提示词。开始构建一个能持续累积的系统。

PART 1 · What Fable 5 actually unlocks
01. Fable 5 is a Mythos-class model. Days-long autonomy is the headline.
Claude Fable 5 launched June 9, 2026 as the first publicly available Mythos-class model - the tier Anthropic introduced one rung above Opus.

Mythos Preview shipped in April through Project Glasswing to a handful of critical-infrastructure partners; Fable 5 is the version Anthropic considered safe for general release, with built-in safety classifiers that decline requests in high-risk areas.
Mythos 5 (without those classifiers) remains Glasswing-only.
What Fable 5 actually does that previous Claude models couldn’t sustain, from Anthropic’s launch documentation:
- Days-long autonomous sessions. Run inside an agent harness like Claude Code or Claude Managed Agents (CMA), Fable 5 can work for days - planning across stages, delegating to sub-agents, and checking its own work.
- Self-verification built in. Writes its own tests to check its work. Uses vision to check outputs against goals. Distills lessons into general rules. Tests its own assumptions.
- Most ambitious code work. Large migrations, complex implementations, multi-day autonomous coding sessions. The headline use case Anthropic puts forward is “hand off large projects and review completed deliverables.”
- Multi-stage knowledge work. Deep research and analysis to deliverables ready for review - with minimal oversight. The pricing matches the tier: $10 per million input tokens, $50 per million output tokens, with the existing 90% input token discount for prompt caching.
Available on Claude API, AWS, Amazon Bedrock, Vertex AI, Microsoft Foundry, and the consumption-based Enterprise plan. This is not a subscription model. Heavy use earns its own bill.
第一部分 · Fable 5 真正解锁的能力
01. Fable 5 是 Mythos 级模型。数天自主运行是其核心亮点。
Claude Fable 5 于 2026 年 6 月 9 日发布,是首个公开可用的 Mythos 级模型——Anthropic 将其定位在 Opus 之上。

Mythos Preview 于 4 月通过 Glasswing 项目向少数关键基础设施合作伙伴提供;Fable 5 是 Anthropic 认为安全可公开发布的版本,内置了安全分类器,会拒绝高风险领域的请求。
Mythos 5(不含这些分类器)仍仅限 Glasswing 使用。
根据 Anthropic 的发布文档,Fable 5 实现了以往 Claude 模型无法持续做到的事:
- 数天自主会话。在 Claude Code 或 Claude Managed Agents (CMA) 等智能体框架中运行时,Fable 5 可以持续工作数天——跨阶段规划、委托给子代理、检查自己的工作。
- 内置自我验证。编写自己的测试来检查工作;使用视觉能力对照目标检查输出;将经验提炼为通用规则;测试自己的假设。
- 最具雄心的代码工作。大型迁移、复杂实现、数天自主编码会话。Anthropic 提出的主要用例是“接手大型项目并审核完成的交付物”。
- 多阶段知识工作。从深度研究和分析,到生成可供审查的交付物——只需极少的监督。
定价与级别匹配:每百万输入 token 10 美元,每百万输出 token 50 美元,提示缓存仍享有 90% 的输入 token 折扣。
可通过 Claude API、AWS、Amazon Bedrock、Vertex AI、Microsoft Foundry 以及按用量付费的企业版获得。这不是订阅模式。重度使用会产生单独账单。
02. Self-improving is not self-learning.
The phrase “self-improving agent system” gets thrown around carelessly. The version that’s real and the version that’s hype are very different things, and the gap is worth understanding before you build anything.

- Self-learning - the agent updates its own weights based on what it learns. Fable 5 does not do this. No publicly available model does this in production.
Recursive self-improvement (RSI) is the long-term direction Anthropic itself warned about in May 2026, not the capability shipping today.
- Self-improving - the system around the agent compounds. Each session writes lessons to memory. Skills sharpen as edge cases get added.
State files accumulate verified facts. Eval loops refine prompts and rubrics. The model stays the same; the environment it runs in gets sharper. Self-improvement, in this sense, is a property of the system you build. Fable 5 has the raw capability - long context, sub-agent delegation, vision self-check, days-long stamina - that turns the environment-feedback loop into something that actually compounds run over run.
Anthropic’s engineering team puts it directly:
“Rather than directly prompting and steering Fable 5, it’s often better to design loops that let the model self-correct in response to environment feedback (e.g., /goal or Outcomes) and manage its own context (e.g., via memory).”
02. 自我改进不是自我学习。
“自我改进智能体系统”这个说法经常被滥用。真实的版本和炒作的版本截然不同,在构建任何系统之前,值得理解其中的差距。

- 自我学习(Self-learning)——智能体根据所学内容更新自身权重。Fable 5 不这样做。目前没有任何公开可用的模型在生产环境中这样做。
递归自我改进(RSI)是 Anthropic 自己在 2026 年 5 月警告过的长期方向,而非今天发布的能力。
- 自我改进(Self-improving)——智能体周围的系统不断累积。每次会话都将经验写入记忆;技能随着边缘案例的加入而锤炼;状态文件积累经过验证的事实;评估循环优化提示词和评判标准。模型本身不变,但它运行的环境变得越来越敏锐。
从这个意义上说,自我改进是你所构建系统的一个属性。Fable 5 具备原始能力——长上下文、子代理委托、视觉自检、持续数天的耐力——这些能力将环境反馈循环转化为真正随运行次数累积的机制。
Anthropic 工程团队直接指出:
“与其直接提示和引导 Fable 5,不如设计循环让模型根据环境反馈(例如 /goal 或 Outcomes)自我修正,并管理自己的上下文(例如通过记忆)。”
03. The compound stack: four layers, one feedback loop.
Figure 1 at the top of this article shows the architecture in one diagram. Read it from the bottom up - that’s the order the system gets built, and the order the leverage compounds.
- Layer 1 · Primitives. Fable 5 itself, sub-agents, worktrees, the tools the agent reaches for. Raw capability with no system around it yet. This is what most people use today.
- Layer 2 · Orchestration. /goal and Outcomes for self-correcting loops. Dynamic Workflows for complex multi-step orchestration. Routines for laptop-off cloud runs. This is what turns the primitives into a workflow.
- Layer 3 · Memory. State files, Skills, Knowledge Bases, lessons written down. Memory is what makes tomorrow’s session resume instead of restart.
- Layer 4 · Self-improvement. Vision self-checks, eval loops, rule distillation. The agent grades its own output, refines the Skill that produced it, writes the lesson back to memory. The loop closes. The reason this architecture compounds: every output from layer 1 flows up through layer 4, where it gets graded, distilled, and written back to layer 3. Tomorrow’s run at layer 1 inherits the sharpened memory and refined Skills from yesterday. The model is stateless; the system around it isn’t.
03. 复合堆栈:四层架构,一个反馈循环。
文章顶部的图 1 以一张图展示了该架构。从下往上读——这是系统构建的顺序,也是杠杆效应复合的顺序。
- 第 1 层 · 原语。Fable 5 本身、子代理、工作树、智能体使用的工具。原始能力,周围还没有系统。这便是大多数人今天使用的层次。
- 第 2 层 · 编排。/goal 和 Outcomes 用于自我修正循环;动态工作流用于复杂多步编排;例程用于关掉笔记本后的云端运行。这是将原语转变为工作流的层次。
- 第 3 层 · 记忆。状态文件、技能、知识库、记录下来的经验。记忆让明天的会话可以恢复而非重新开始。
- 第 4 层 · 自我改进。视觉自检、评估循环、规则提炼。智能体对自己的输出进行评分,优化产生该输出的技能,将经验写回记忆。循环闭合。
这种架构能产生复利效应的原因:第 1 层的每个输出向上流经第 4 层,在那里被评分、提炼并写回第 3 层。明天在第 1 层的运行继承了昨天经过打磨的记忆和优化后的技能。模型是无状态的,但它周围的系统不是。
04. When to use Fable 5 vs Opus 4.8 vs Sonnet 4.6. The cost-capability matrix.
Fable 5 costs ~5× what Opus 4.8 does per token. Not every step in a self-improving system needs the top tier. The teams running this in production route by task complexity, not by default:

- Fable 5 for the heavy-lift orchestrator role: planning across days, delegating to sub-agents, checking work with vision, distilling rules from accumulated evidence.
Use Fable 5 where the “days at a time” capability earns its pricing.
- Opus 4.8 for hard-but-bounded subtasks the orchestrator delegates: architecture decisions, complex debugging, deep code reviews. Also the explicit fallback for any request Fable 5’s classifiers block (cyber, bio, chem, distillation).
- Sonnet 4.6 for high-volume worker tasks: lint passes, simple refactors, test scaffolding, doc updates. The bulk of fan-out work runs here.
- Haiku 4.5 for grader sub-agents and cheap classifiers. Independent context window, low cost - ideal for the verifier role Anthropic explicitly recommends. The cost pattern that makes a self-improving system economical, used by teams running this in production: orchestrator on Fable 5, workers on Sonnet 4.6, graders on Haiku 4.5, fallback to Opus 4.8 on classifier blocks. Same pattern Anthropic engineers use internally.
04. 何时使用 Fable 5、Opus 4.8 与 Sonnet 4.6:成本与能力矩阵。
Fable 5 每 token 的成本大约是 Opus 4.8 的 5 倍。自我改进系统中的每一步并不都需要顶级模型。生产环境中运行的团队根据任务复杂度而非默认设置来路由:

- Fable 5 承担繁重的编排角色:跨天规划、委托子代理、使用视觉检查工作、从积累的证据中提炼规则。在“一次性运行数天”的能力值得其定价的地方使用 Fable 5。
- Opus 4.8 处理编排器委托的难度大但有边界的子任务:架构决策、复杂调试、深度代码审查。同时也是 Fable 5 分类器屏蔽的任何请求(网络安全、生物、化学、蒸馏)的显式回退。
- Sonnet 4.6 负责高吞吐量的工作任务:lint 检查、简单重构、测试脚手架、文档更新。大部分扇出工作在此运行。
- Haiku 4.5 用作评分子代理和廉价分类器。独立的上下文窗口,低成本——非常适合 Anthropic 明确推荐的验证者角色。
使自我改进系统经济实惠的成本模式(生产团队的实践):编排器用 Fable 5,工作者用 Sonnet 4.6,评分器用 Haiku 4.5,分类器屏蔽时回退到 Opus 4.8。Anthropic 工程师内部也使用相同的模式。
PART 2 · The three Primitives
05. /goal vs Outcomes. Two implementations of the same idea.
The Anthropic Claude Code team publishes two near-identical primitives for goal-driven loops one in each harness.
They share the same shape: an independent grader checks the work, a not-met verdict starts the next iteration, the loop exits when the grader passes.
The implementations differ in surface details that matter for which you use.

The decision rule between them is short:
- Use /goal in Claude Code when the work happens at your machine and you want a quick, in-session loop with a measurable end state. Best for hands-on coding, debugging flaky tests, refining a single file. Plain text goal, model grader, in-terminal feedback.
- Use Outcomes in CMA when the work needs to run for hours or days on Anthropic-hosted infrastructure with a sandbox, GPUs, or a controlled environment. Best for ML training, long-running migrations, multi-day research. File-based rubric with gradable criteria, sub-agent grader, hard max_iterations bound. Both share the structural move that makes them work: the agent that wrote the code is not the agent that grades it. We go deeper on why that matters in step 6.
第二部分 · 三个原语
05. /goal 与 Outcomes:同一思想的两种实现。
Anthropic Claude Code 团队发布了两个几乎相同的用于目标驱动循环的原语,每个框架一个。
它们具有相同的结构:一个独立的评分者检查工作,未达到的判决启动下一次迭代,当评分者通过时循环退出。
实现方式在表面细节上有所不同,这决定了你使用哪一个。

两者的决策规则很短:
- 在 Claude Code 中使用 /goal:当工作发生在你的机器上,并且你需要一个快速、在会话内的循环,且具有可衡量的结束状态时。最适合动手编码、调试不稳定测试、优化单个文件。纯文本目标、模型评分、终端内反馈。
- 在 CMA 中使用 Outcomes:当工作需要运行数小时或数天,且依赖 Anthropic 托管的基础设施(含沙箱、GPU 或受控环境)时。最适合 ML 训练、长时间运行迁移、多天研究。基于文件的评分标准、子代理评分器、硬性 max_iterations 限制。
两者都共享使它们有效的结构性举措:编写代码的智能体不是对代码评分的智能体。第 6 步将进一步探讨为什么这一点很重要。
06. Verifier sub-agent beats self-critique.
Anthropic engineer Prithvi Rajasekaran wrote a piece on the engineering blog showing models have a hard time self-critiquing their own outputs. The Claude Code team confirmed this empirically with Fable 5:
“We’ve found that a verifier sub-agent tends to outperform self-critique with Fable 5"
The mechanism is structural, not about “trying harder.” A model evaluating its own output sees its own reasoning trail and prefers conclusions consistent with what it already wrote.
A separate model evaluating the same output sees only the artifact and the rubric. The verifier has no skin in the maker’s game.

What the chart actually shows, beyond the headline numbers:
- Fable 5 made larger structural changes - TRAIN_SEQ_LEN=2048 train+eval (−0.0179), overlapped sliding-window eval (−0.0207), int6 QAT + int6 expo (−0.0163). Each is an architecture-level move, not a constant tweak.
- Fable 5 pushed through a quantization regression to its biggest win - instead of reverting after a failed experiment, it continued investigating.
- Opus 4.7’s first experiment (QK_GAIN_INIT=5.0) produced a small win. Nearly everything that followed used the same template: adjust a scalar, measure, keep if positive. The shape is safer, not better. The takeaway for system design: Fable 5 with an independent verifier explores larger hypothesis spaces and recovers from negative intermediate results. Without the verifier, the same model has nothing forcing it past the first “good enough.”
06. 验证子代理优于自我批评。
Anthropic 工程师 Prithvi Rajasekaran 在工程博客上撰文,说明模型很难自我批评自身的输出。Claude Code 团队通过 Fable 5 实验证实了这一点:
“我们发现,使用 Fable 5 时,验证子代理往往优于自我批评。”
这一机制是结构性的,而非“更努力”的问题。模型评估自身输出时会看到自己的推理轨迹,并倾向于选择与其已有结论一致的结果。
而一个独立的模型评估同一输出时,只看到产物和评分标准。验证者与制造者没有利害关系。

除 headline 数字外,该图表实际显示的内容:
- Fable 5 做出了更大的结构性改变 —— TRAIN_SEQ_LEN=2048 train+eval(-0.0179)、重叠滑动窗口 eval(-0.0207)、int6 QAT + int6 expo(-0.0163)。每一个都是架构层面的调整,而非常量微调。
- Fable 5 在一次量化回归后仍继续推进,最终获得最大收益——而不是在实验失败后直接回退。
- Opus 4.7 的第一次实验(QK_GAIN_INIT=5.0)取得了小幅收益。之后几乎所有的实验都使用相同的模板:调整一个标量、测量、如果为正则保留。这种方法更安全,但效果不佳。
对系统设计的启示:使用独立验证器的 Fable 5 能够探索更大的假设空间,并从负面的中间结果中恢复。没有验证器,同一模型没有动力越过第一个“足够好”的结果。
07. Dynamic Workflows compose self-correction patterns.
Dynamic Workflows shipped in Claude Code on May 28, 2026.
The idea: Claude writes its own JavaScript harness on the fly - a file with agent(), parallel(), and pipeline() primitives, plus standard JS to process the data flowing between them. The harness is custom-built for the task, not generic.
For self-improving systems with Fable 5, three of the six documented Dynamic Workflow patterns earn their place:
- Fan-out-and-synthesize. Split the work into N independent pieces, run an agent on each in parallel, synthesize results. Best when each step benefits from its own clean context window - e.g., evaluating each rule in a Skill against historical examples.
- Adversarial verification. For each maker agent, spawn an independent verifier with no exposure to the maker’s reasoning. The structural fix for self-preferential bias from step 6, applied per task.
- Loop until done. Loop spawning agents until a stop condition is met -no new findings, no more errors in the logs, theory verified. Pair with /goal to set a hard completion requirement. The two patterns that don’t typically appear in self-improving systems but are worth knowing: classify-and-act (route the task to the right model based on a classifier) and tournament (pairwise comparison for taste-based ranking). The first is useful for model routing (step 4).
The second is rare in coding loops but useful for design or naming tasks.
07. 动态工作流组合成自纠正模式。
动态工作流于 2026 年 5 月 28 日在 Claude Code 中发布。
其理念是:Claude 即时编写自己的 JavaScript 编排文件——包含 agent()、parallel() 和 pipeline() 原语,以及标准 JavaScript 来处理它们之间流动的数据。该编排是为任务定制的,而非通用。
对于使用 Fable 5 的自我改进系统,六个已记录的动态工作流模式中有三个值得关注:
- 扇出与合成。将工作拆分为 N 个独立部分,并行在每个部分上运行智能体,然后综合结果。当每一步都需要自己干净的上下文窗口时效果最佳——例如,对照历史示例评估技能中的每条规则。
- 对抗性验证。对于每个制造者智能体,启动一个独立验证者,不接触制造者的推理过程。这是第 6 步中自我偏好偏差的结构性修复,每个任务都适用。
- 循环直到完成。循环生成智能体,直到满足停止条件——没有新发现、日志中没有更多错误、理论得到验证。配合 /goal 设置一个硬性完成要求。
两个通常不用于自我改进系统但值得了解的模式:分类与行动(基于分类器将任务路由到正确模型)和锦标赛(成对比较用于基于品味的排序)。前者对模型路由有用(第 4 步)。后者在编码循环中不常见,但对设计或命名任务有用。
08. Worktrees for parallel safety. Days-long Fable 5 sessions, no file collisions.
The moment a self-improving system spawns more than one agent, files start colliding. Two agents writing the same file is the same problem as two engineers committing to the same lines without talking first.

A git worktree fixes it - a separate working directory on its own branch sharing the same repo history, so one agent’s edits literally cannot touch the other’s checkout.
For self-improving systems where Fable 5 spawns sub-agents to verify or specialize, worktrees are non-optional:
- Maker writes in worktree A. Verifier reads in worktree B (or runs against the worktree A checkout with read-only filesystem). No risk the verifier’s exploration touches the maker’s state.
- Parallel structural experiments. If Fable 5 explores multiple architecture changes (like in Parameter Golf), each experiment runs in its own worktree. The orchestrator collects results from all of them; the best one merges.
- Days-long runs with checkpoints. Each major phase can be a separate worktree. A failed phase doesn’t poison the rest. In Claude Code, worktrees are exposed three ways: git worktree directly, a --worktree flag to open a session in its own checkout, and an isolation: worktree setting on subagents so each helper gets a fresh checkout that cleans itself up after the session ends.
08. 工作树确保并行安全。Fable 5 长时间会话,无文件冲突。
一旦自我改进系统生成多个智能体,文件冲突就开始出现。两个智能体写入同一个文件,就像两个工程师未沟通就直接向同一行代码提交。

git 工作树可以解决这个问题——它是一个独立的、位于自己分支上的工作目录,共享同一个仓库历史,因此一个智能体的编辑完全不会影响到另一个智能体的检出。
对于 Fable 5 生成子代理进行验证或专业化的自我改进系统,工作树是必需的:
- 制造者在工作树 A 中写入。验证者在工作树 B 中读取(或针对工作树 A 的检出以只读文件系统运行)。验证者不会触及制造者的状态。
- 并行结构实验。如果 Fable 5 探索多个架构更改(如 Parameter Golf 中那样),每个实验在其自己的工作树中运行。编排器收集所有结果,合并最优者。
- 带检查点的长时间运行。每个主要阶段可以是一个单独的工作树。一个阶段的失败不会污染其他阶段。
在 Claude Code 中,工作树有三种使用方式:直接使用 git worktree、使用 --worktree 标志在单独的检出中打开会话,以及为子代理设置 isolation: worktree,使得每个助手获得一个全新的检出,在会话结束后自动清理。
09. Routines for days-long orchestration. Laptop closed. Fable 5 working.
Routines launched April 14, 2026 in research preview. They’re saved Claude Code configurations - a prompt, repositories, connectors, permissions - that run on Anthropic-managed cloud infrastructure on a trigger.
Your laptop can be off. The run still happens.

For Fable 5 specifically, Routines are the trigger layer that earns the model’s capability. Anthropic measures Fable 5’s “days at a time” on Claude Managed Agents - a hosted sandbox with full tools and no local machine constraint.
The Parameter Golf experiment ran for up to 8 hours on 8×H100 GPUs. That class of run doesn’t happen on your laptop.
The three Routine trigger types, mapped to self-improvement patterns:
- Schedule triggers - the morning briefing pattern. Daily at 7am: re-run yesterday’s eval suite, distill any new failure modes into Skills, write the digest to Slack. The agent gets sharper while you sleep.
- API triggers - the “fire on event” pattern. CI fails → fire a Routine to investigate. Sentry alert → fire a Routine to triage. The self-improving system reacts to your real environment, not a fixed schedule.
- GitHub event triggers - the “learn from real work” pattern. On PR open, run an evaluation against the latest Skills. On merge, write any new patterns the PR introduced back to the Skill. Repository state and Skill state stay in sync.
> /schedule daily at 7am, use Fable 5 in CMA
Goal: Re-run yesterday’s eval suite against the latest skills.
Any test that newly passes → distill the pattern into the skill.
Any test that newly fails → investigate, document in STATE.md.
Post the digest to #engineering. /goal don’t stop until digest is
posted and STATE.md is updated.
▲ Claude
Creating routine: nightly-eval-compounding
- model: claude-fable-5
- harness: claude managed agent (sandbox)
- trigger: schedule (0 7 * * *)
- grader: independent Haiku sub-agent (Outcomes)
✓ Active. First run tomorrow 07:00 local. Skill set will compound.
09. 例程:关掉笔记本后的长时间云端编排。Fable 5 仍在工作。
例程于 2026 年 4 月 14 日以研究预览形式发布。它们是保存的 Claude Code 配置——包含提示词、仓库、连接器、权限——在触发时运行于 Anthropic 管理的云基础设施上。
你的笔记本可以关闭。运行仍然发生。

对于 Fable 5 而言,例程是触发层,让模型的能力得以发挥。Anthropic 在 Claude Managed Agents 上衡量 Fable 5 的“一次运行数天”能力——这是一个托管沙箱,包含完整工具且无本地机器限制。
Parameter Golf 实验在 8 块 H100 GPU 上运行了长达 8 小时。这类运行无法在笔记本上完成。
三种例程触发类型及其对应的自我改进模式:
- 计划触发——晨间简报模式。每天早上 7 点:重新运行昨天的评估套件,将任何新的失败模式提炼到技能中,将摘要发布到 Slack。智能体在你睡觉时变得更敏锐。
- API 触发——“事件触发”模式。CI 失败 → 触发例程进行调查。Sentry 告警 → 触发例程进行分类。自我改进系统对你的真实环境做出反应,而非固定计划。
- GitHub 事件触发——“从实际工作学习”模式。PR 打开时,针对最新技能运行评估。合并时,将 PR 引入的任何新模式写回技能。仓库状态与技能状态保持同步。
> /schedule daily at 7am, use Fable 5 in CMA
Goal: Re-run yesterday’s eval suite against the latest skills.
Any test that newly passes → distill the pattern into the skill.
Any test that newly fails → investigate, document in STATE.md.
Post the digest to #engineering. /goal don’t stop until digest is
posted and STATE.md is updated.
▲ Claude
Creating routine: nightly-eval-compounding
- model: claude-fable-5
- harness: claude managed agent (sandbox)
- trigger: schedule (0 7 * * *)
- grader: independent Haiku sub-agent (Outcomes)
✓ Active. First run tomorrow 07:00 local. Skill set will compound.
PART 3 · The Self-Improvement Layer
10. The 5-stage memory progression.
The single most useful framing for what “agent memory” means in practice comes from the Anthropic team’s Continual Learning Bench 1.0 experiment. Effective use of memory requires a progression of five stages. Each stage is a structural move; each model exits the progression at a different point.
-
- Fail - the agent gets something wrong and documents the failure with enough detail to be useful later.
-
- Investigate — before moving on, the agent figures out why the failure happened.
-
- Verify - the agent turns the diagnosis into a checked fact, not a guess.
-
- Distill - the agent turns the verification into a general rule that applies beyond the specific case.
-
- Consult - on the next task, the agent reads the rule instead of re-deriving the fact from scratch.

- Consult - on the next task, the agent reads the rule instead of re-deriving the fact from scratch.
The measured difference between models on a SQL exploration task from the Continual Learning Bench, each model with memory provided:
- Sonnet 4.6 exits at step 1. Its memory store is a list of failure notes and open guesses (“maybe prc instead of prc_usd?”). It rarely consults prior notes. Memory exists but doesn’t compound.
- Opus 4.7 exits at step 3. It creates a schema reference with uncertainty flagged (“possibly prc in cents? Verify.”). Verification coverage runs 7–33% (median ~17%) of questions.
- Fable 5 tends to complete the progression. In its strongest runs, verification coverage reaches 73% (22 of 30), and it distills learnings into general rules that help with future tasks.
第三部分 · 自我改进层
10. 记忆的五阶段进展。
关于“智能体记忆”实际含义的最有用框架来自 Anthropic 团队的 Continual Learning Bench 1.0 实验。有效使用记忆需要五个阶段的进展。每个阶段都是一个结构性动作;每个模型在不同点退出进展。
-
- 失败——智能体做错了事,并将失败记录得足够详细,以便以后有用。
-
- 调查——在继续之前,智能体找出失败的原因。
-
- 验证——智能体将诊断转变为经过核验的事实,而非猜测。
-
- 提炼——智能体将验证结果转化为适用于更广泛情况的通用规则。
-
- 咨询——在下一个任务中,智能体读取规则,而不是从头推导事实。

- 咨询——在下一个任务中,智能体读取规则,而不是从头推导事实。
在 Continual Learning Bench 的 SQL 探索任务中,各模型在有记忆的情况下的测量差异:
- Sonnet 4.6 在步骤 1 退出。它的记忆存储是一份失败笔记和未决猜测的列表(“也许应该是 prc 而不是 prc_usd?”)。它很少查阅之前的笔记。记忆存在但无法累积。
- Opus 4.7 在步骤 3 退出。它创建了一个带有不确定性标记的架构参考(“可能是 prc 以分为单位?验证。”)。验证覆盖率在问题的 7%–33% 之间(中位数约 17%)。
- Fable 5 倾向于完成整个进展。在其最强的运行中,验证覆盖率达到 73%(30 个问题中完成 22 个),并将所学内容提炼为有助于未来任务的通用规则。
11. The state file. Where memory actually lives.
The 5-stage progression is the mental model. The state file is where the model writes each stage’s output. For Fable 5 running in Claude Managed Agents, memory is a mounted filesystem that survives between sessions; in Claude Code locally, a markdown file or a Linear board does the same job.
The structure of a state file that actually supports the 5-stage progression:
# Project memory · trading-platform
## Verified facts # stage 3 — stop guessing about these
- prc is in dollars, not cents. Verified via SELECT MIN(prc), MAX(prc) FROM trades.
- user_id matches auth_users.uid via JOIN, not auth_users.id. Confirmed 2026-06-09.
- Test database uses Stripe sandbox keys; production uses real keys via env.
## General rules # stage 4 — consult before re-deriving
- When querying time-bucketed metrics, always include timezone (default UTC mismatches).
- Auth middleware order matters: rate_limit -> jwt -> rbac. Reversing causes 401s.
- For migrations, never use ALTER on tables >1M rows without batching.
## Open failures (investigate next session) # stage 1 → 2
- 2026-06-09: tests/e2e/checkout flakes ~1 in 50 runs. Hypothesis: webhook race.
Reproduction steps in debug/checkout-flake.md.
## Lessons learned # stage 4 distillations
- PowerShell hits TLS 1.2 issue on Windows CI runners. Always shell out to bash.
- Stripe webhook tests require STRIPE_WEBHOOK_SECRET. Skip with clear message if missing.
## Last session # stage 5 — resume, don’t restart
2026-06-10 03:30 UTC · 7 failures classified, 3 fixes drafted (claude/fix-*), 4 escalated.
Next: verify the auth middleware fix in claude/fix-rate-limit-order against production load.
The file has five sections matching the five stages. Verified facts is stage 3 output - things the agent stopped guessing about. General rules is stage 4 - distilled rules that apply beyond the specific case. Open failures is stages 1–2 work in progress. Lessons learned is more stage 4 output.
Last session is the resume pointer for stage 5.
Two operational rules that decide whether this file actually compounds or just grows:
- Write before walking away. Every Fable 5 session ends by updating STATE.md - what was tried, what passed, what failed, what new rules survived. If the session doesn’t finish with a write, the next one restarts from zero.
- Read at session start. Every new session begins by reading STATE.md and the most relevant Skills. The Continual Learning Bench data shows that without this, Sonnet-class memory behavior shows up even in Fable 5.
11. 状态文件:记忆的实际载体。
五阶段进展是思维模型。状态文件是模型写入每个阶段输出的地方。对于在 Claude Managed Agents 中运行的 Fable 5,记忆是一个挂载的文件系统,在会话之间持续存在;在本地 Claude Code 中,一个 markdown 文件或一个 Linear 面板也起到同样的作用。
一个真正支持五阶段进展的状态文件结构:
# Project memory · trading-platform
## Verified facts # stage 3 — stop guessing about these
- prc is in dollars, not cents. Verified via SELECT MIN(prc), MAX(prc) FROM trades.
- user_id matches auth_users.uid via JOIN, not auth_users.id. Confirmed 2026-06-09.
- Test database uses Stripe sandbox keys; production uses real keys via env.
## General rules # stage 4 — consult before re-deriving
- When querying time-bucketed metrics, always include timezone (default UTC mismatches).
- Auth middleware order matters: rate_limit -> jwt -> rbac. Reversing causes 401s.
- For migrations, never use ALTER on tables >1M rows without batching.
## Open failures (investigate next session) # stage 1 → 2
- 2026-06-09: tests/e2e/checkout flakes ~1 in 50 runs. Hypothesis: webhook race.
Reproduction steps in debug/checkout-flake.md.
## Lessons learned # stage 4 distillations
- PowerShell hits TLS 1.2 issue on Windows CI runners. Always shell out to bash.
- Stripe webhook tests require STRIPE_WEBHOOK_SECRET. Skip with clear message if missing.
## Last session # stage 5 — resume, don’t restart
2026-06-10 03:30 UTC · 7 failures classified, 3 fixes drafted (claude/fix-*), 4 escalated.
Next: verify the auth middleware fix in claude/fix-rate-limit-order against production load.
该文件有五个部分,对应五个阶段。Verified facts 是阶段 3 的输出——智能体不再猜测的事情。General rules 是阶段 4——适用于更广泛情况的提炼规则。Open failures 是阶段 1–2 的进行中工作。Lessons learned 是更多的阶段 4 输出。
Last session 是阶段 5 的恢复指针。
两个决定该文件是真正具有复利效应还是只是增长的操作规则:
12. Skills that compound. Write the lesson into the Skill, not just the chat.
STATE.md is for project memory. Skills are for procedural memory - the “how to do this kind of thing” that should apply across projects.
The compounding pattern: after any non-trivial failure, write the lesson into the Skill itself. The Skill gets sharper every time the system runs.

A Skill that’s been compounding for two weeks looks different from a fresh one. New sections appear: known failure modes, rules that came out of post-mortems, anti-patterns observed in production.
The Skill is no longer a static set of instructions; it’s an accumulating record of what the team has actually learned.
---
name: ci-triage
description: Classify CI failures, draft fixes for easy ones, escalate the rest.
Trigger on workflow_run.failure or on the morning triage routine.
---
# CI triage skill
## Classification rules
- env: missing secret, wrong env var. # escalate to human, never auto-fix
- flake: passes on retry without code change. # retry once, then file
- bug: deterministic failure tied to recent commit. # draft fix
- dependency: tied to version bump. # draft rollback
- infra: timeout, OOM, runner issue. # escalate
## Known failure modes # added by the loop over 14 days
- webhook-race: e2e checkout flakes when Stripe webhook arrives mid-test.
Fix: add 2s settle delay in tests/utils/webhook.ts.
- tls-handshake: Windows runners fail TLS 1.2 in PowerShell. Use bash.
- db-migration: ALTER on trades table >1M rows times out at 30s. Batch in 10k chunks.
## Anti-patterns (do NOT do) # added after real incidents
- Never disable a failing test to make CI green. File it instead.
- Never modify .github/workflows/ without human approval.
- Never touch src/payments/ or src/billing/ without security review.
## State
Update STATE.md after each run with classifications, fixes drafted, escalations.
## Eval suite # step 13 — the loop verifies the skill
Run against eval/ci-triage-cases.jsonl weekly. Any newly-failing case →
add to known failure modes after Outcomes verifier confirms.
The compounding contract: every confirmed lesson goes into a Skill, not just STATE.md. STATE.md is project-scoped and dies with the project. Skills live in ~/.claude/skills/ and travel with you.
Two weeks of disciplined writing produces a Skill that materially outperforms whatever Fable 5 would derive from scratch on a fresh project.
12. 可持续积累的技能。将经验写入技能,而非仅写入聊天记录。
STATE.md 用于项目记忆。技能用于程序性记忆——即“做这类事情的方法”,应跨项目适用。
积累模式:每次出现非平凡失败后,将经验写入技能本身。每次系统运行,技能都会变得更犀利。

一个经过两周积累的技能看起来与全新技能截然不同。新的章节出现:已知失败模式、从事后总结中得出的规则、在生产中观察到的反模式。
技能不再是一组静态指令,而是团队实际所学内容的积累记录。
---
name: ci-triage
description: Classify CI failures, draft fixes for easy ones, escalate the rest.
Trigger on workflow_run.failure or on the morning triage routine.
---
# CI triage skill
## Classification rules
- env: missing secret, wrong env var. # escalate to human, never auto-fix
- flake: passes on retry without code change. # retry once, then file
- bug: deterministic failure tied to recent commit. # draft fix
- dependency: tied to version bump. # draft rollback
- infra: timeout, OOM, runner issue. # escalate
## Known failure modes # added by the loop over 14 days
- webhook-race: e2e checkout flakes when Stripe webhook arrives mid-test.
Fix: add 2s settle delay in tests/utils/webhook.ts.
- tls-handshake: Windows runners fail TLS 1.2 in PowerShell. Use bash.
- db-migration: ALTER on trades table >1M rows times out at 30s. Batch in 10k chunks.
## Anti-patterns (do NOT do) # added after real incidents
- Never disable a failing test to make CI green. File it instead.
- Never modify .github/workflows/ without human approval.
- Never touch src/payments/ or src/billing/ without security review.
## State
Update STATE.md after each run with classifications, fixes drafted, escalations.
## Eval suite # step 13 — the loop verifies the skill
Run against eval/ci-triage-cases.jsonl weekly. Any newly-failing case →
add to known failure modes after Outcomes verifier confirms.
积累的契约:每一个确认的经验都写入技能,而不仅仅是 STATE.md。STATE.md 作用域在项目内,随项目结束而消亡。技能存在于 ~/.claude/skills/,并随你移动。
两周有纪律的写作会产生一个技能,其实际表现优于 Fable 5 在新项目中从头推导出的任何内容。
13. Self-verification via vision. Fable 5 checks its own UI against the goal.
One of the headline capabilities Anthropic ships with Fable 5 is “uses vision to check outputs against goals.” This sounds abstract until you see what it actually replaces: the human eyeballing a screenshot to confirm the UI looks right.
Fable 5 does that step itself, in the loop, before declaring done.
The pattern in production:
- Maker sub-agent writes the UI code. Renders the result to a screenshot.
- Verifier sub-agent reads the screenshot with vision, compares it against the goal description, against design tokens in the project Skill, and against the previous screenshot from STATE.md.
- Verdict goes back to the loop. Match → mark task complete. Mismatch → describe the gap, hand back to maker with a structured diff. This pattern is what Anthropic measured in the Parameter Golf experiment under the same harness: Fable 5 looked at training charts (visual artifact) and decided whether the curve matched the criterion.
No human in the loop reading the chart. The verifier read the chart.
13. 视觉自验证:Fable 5 检查自身输出是否符合目标。
Anthropic 随 Fable 5 发布的一项核心能力是“使用视觉检查输出是否达到目标”。这听起来有些抽象,直到你看到它实际取代了什么:人类需要肉眼查看截图来确认 UI 是否正确。
Fable 5 在循环中自行完成这一步,然后在声明完成之前进行验证。
在生产中的模式:
- 制造者子代理编写 UI 代码。将结果渲染为截图。
- 验证者子代理使用视觉读取截图,将其与目标描述、项目技能中的设计 token 以及 STATE.md 中的先前截图进行比较。
- 判决结果返回循环。匹配 → 标记任务完成。不匹配 → 描述差异,附带结构化的 diff 返回给制造者。
这个模式正是 Anthropic 在 Parameter Golf 实验中用相同框架测量的:Fable 5 查看训练图表(视觉产物),并决定曲线是否符合标准。
循环中没有人类阅读图表。验证者阅读图表。
14. The Mythos safety boundary. What Fable 5 won’t do, and how to design around it.
The last step is the one most easily skipped on day one and most expensive to learn the hard way.
Fable 5 ships with built-in safety classifiers that decline to respond in specific high-risk domains - cybersecurity vulnerability research, biology, chemistry, and model distillation. In those domains, Anthropic falls Fable 5 back to Claude Opus 4.8 automatically. This is documented; it’s not a bug.
What this means for a self-improving system that runs autonomously:
- If your system touches security tooling (SAST scans, exploit research, penetration testing logic, even some classes of code review), expect classifier blocks. Architect for the fallback: route those tasks to Opus 4.8 explicitly, or surface the block to a human reviewer.
- Same for biology, chemistry, and distillation domains. The classifier is broad. A scientific computing workflow might trigger it; a code review of crypto primitives might trigger it.
- Design your Skills to surface the fallback gracefully. A Skill should know which kinds of tasks it produces that may hit the classifier and document the expected behavior. A loop that silently fails on a classifier block looks identical to a loop that fails on a real error — until you debug it.
- Audit the system card. Fable 5’s 319-page system card documents the classifier’s scope. The launch generated controversy in mid-June 2026 because some downgrade behaviors were discovered buried in the document. Read it before deploying to production. The general design principle: treat the safety boundary as a known fallback, not as a failure mode. A self-improving system that ships with explicit handling of the boundary stays robust as the classifier evolves. A system that ignores it produces silent regressions when Anthropic updates the policy.
14. Mythos 安全边界与处理策略。
最后一步是最容易在第一天被跳过、但用最痛苦的方式学会的步骤。
Fable 5 内置了安全分类器,在特定高风险领域(网络安全漏洞研究、生物学、化学和模型蒸馏)会拒绝响应。在这些领域,Anthropic 自动将 Fable 5 降级为 Claude Opus 4.8。这是有文档记录的,不是 bug。
这对自主运行的自我改进系统意味着什么:
- 如果系统涉及安全工具(SAST 扫描、漏洞研究、渗透测试逻辑,甚至某些代码审查),预期会出现分类器阻挡。架构设计时考虑回退:将这些任务显式路由到 Opus 4.8,或将阻挡情况呈现给人工审查者。
- 同样适用于生物学、化学和蒸馏领域。分类器范围很广。科学计算工作流可能触发它;加密原语的代码审查也可能触发它。
- 设计你的技能以优雅地处理回退。技能应了解它产生的哪些任务可能触发分类器,并记录预期行为。静默失败的循环在分类器阻挡时与真实错误难以区分——直到你调试它。
- 审计系统卡。Fable 5 的 319 页系统卡记录了分类器的范围。2026 年 6 月中旬的发布引发争议,因为文档中隐藏了一些降级行为。在生产环境部署前务必阅读。
通用设计原则:将安全边界视为已知的回退,而非失败模式。一个显式处理边界的自我改进系统会在分类器演变时保持稳健。忽略它的系统会在 Anthropic 更新策略时产生静默回归。
§ The mistakes that keep Fable 5 at 10% of its potential
- Using Fable 5 like Sonnet 4.6 with more context. A 5-minute prompt-and-close session burns Mythos-tier pricing for no compound effect.
- Self-critique instead of an independent verifier. The maker grades its own homework. Anthropic measured the difference; the team explicitly documents the verifier sub-agent pattern.
- No STATE.md. Every session restarts from zero. The Continual Learning Bench data shows this is where 70%+ of Fable 5’s memory advantage disappears.
- Skills that never get written to. A static Skill is fine; a Skill that doesn’t accumulate lessons after real failures is wasted scaffolding.
- Fable 5 on tasks Sonnet 4.6 would handle. Doc updates, simple refactors, lint fixes. Route by complexity; reserve Fable 5 for the orchestrator role.
- Running long sessions on a laptop. Days-long capability requires cloud infrastructure (CMA or Routines). A closed laptop kills the session.
- Ignoring the Mythos safety boundary. Classifier blocks on cyber/bio/chem produce silent regressions. Architect for the fallback explicitly.
- No vision-verify on visual tasks. UI, dashboards, design fidelity — checking these with text-only verifiers misses the failure mode that matters.
- Skipping /goal or Outcomes. Without an objective stop condition checked by an independent grader, loops stop at “handled enough” instead of done.
- No retention policy review. Sensitive data through a Fable 5 routine without checking the 30-day / 2-year terms creates compliance issues silently.
Conclusion:
Fable 5 isn’t a faster chat tool. It’s the substrate for a system that compounds.
The first publicly available Mythos-class model didn’t ship to be prompted faster. It shipped to be the orchestrator of a self-improving system you build around it.
The capability headlines - days-long sessions, sub-agent delegation, vision self-check, accumulated memory - only earn their pricing if the system around the model is doing its job.
The Anthropic team’s own experiments make the gap visible. Parameter Golf: Fable 5 with an independent verifier explored larger architectural changes and pushed through negative intermediate results to land ~6× more improvement than Opus 4.7.
Continual Learning Bench: Fable 5 with memory completed the full 5-stage progression with 73% verification coverage, against Opus 4.7’s 17%. The model is the same in both halves of every comparison. The system around it is what changed.
Pick one layer of the compound stack you weren’t doing - probably the verifier sub-agent (step 6), the state file (step 11), or vision-verify (step 13) - and add it tomorrow. Then the next.
Self-improvement is a property of the system, not the model. Build the system.
§ Fable 5 的常见错误
- 将 Fable 5 当作上下文更大的 Sonnet 4.6 使用。5 分钟的提示-关闭会话浪费了 Mythos 级定价,且没有复利效应。
- 使用自我批评而非独立验证者。制造者给自己的作业打分。Anthropic 测量了差异;团队明确记录了验证者子代理模式。
- 没有 STATE.md。每次会话从零开始。Continual Learning Bench 数据显示,Fable 5 70% 以上的记忆优势因此消失。
- 技能从不更新。静态技能可以接受,但一个在真实失败后不积累教训的技能是浪费的脚手架。
- 用 Fable 5 处理 Sonnet 4.6 就能完成的任务。文档更新、简单重构、lint 修复。按复杂度路由;将 Fable 5 保留给编排器角色。
- 在笔记本上运行长时间会话。数天能力需要云基础设施(CMA 或例程)。关闭笔记本会终止会话。
- 忽略 Mythos 安全边界。网络安全/生物/化学领域的分类器阻挡会产生静默回归。显式设计回退。
- 对视觉任务不做视觉验证。UI、仪表盘、设计保真度——仅用文本验证器检查会遗漏关键失败模式。
- 跳过 /goal 或 Outcomes。没有独立评分者检查的客观停止条件,循环会在“处理得差不多了”时停止,而非真正完成。
- 不检查保留策略。敏感数据通过 Fable 5 例程传递,若不检查 30 天/2 年条款,会悄然产生合规性问题。
结论:
Fable 5 不是一个更快的聊天工具。它是复利系统的底层基础。
首个公开可用的 Mythos 级模型并非为更快提示而生。它的诞生是为了成为你围绕它构建的自我改进系统的编排器。
其核心能力——数天会话、子代理委托、视觉自检、积累记忆——只有当你围绕模型构建的系统发挥作用时才能体现其价值。
Anthropic 团队的实验让差距一目了然。Parameter Golf:带有独立验证者的 Fable 5 探索了更大的架构变化,克服了负面的中间结果,实现了比 Opus 4.7 约高 6 倍的改进。
Continual Learning Bench:带记忆的 Fable 5 完成了完整的五阶段进展,验证覆盖率达 73%,而 Opus 4.7 仅为 17%。两次比较中的模型相同,不同的是围绕它的系统。
选择你尚未在使用的复合堆栈中的一层——很可能是验证者子代理(第 6 步)、状态文件(第 11 步)或视觉验证(第 13 步)——然后明天就加上它。下一步再加一层。
自我改进是系统的属性,而非模型的属性。构建系统。