跳过主要内容
新第 3a 集上线:接着聊去看 →
把 Messages API 迁移到 Rust · 3a

写代码变便宜了,验证没有

Claude 大约一周就写出了新 API 核心的第一版,难的是确认它和旧系统行为一样。从生成与验证的落差讲起:Messages API 怎么从一个请求转发器长成一条流水线,流量涨了约 1800 倍;只重写解析器省 8%–10% 的 CPU,但每个 token 要在 Python 和 Rust 之间跨三次;Claude 写了 80% 以上的代码之后,瓶颈从写代码变成验证;最后是「正确」的三种来源:规则、例子、现有的系统。英文旁白。

每个系列解读一篇 Anthropic 公开的博客文章,并附原文链接;原文及其配图归 Anthropic 所有。本课程与 Anthropic 无关联、也未获其背书:讲解为原创,图表均按原文数据重画,示意的部分已标注。 原文:The components of agent memory(Lance Martin) · 原文:Building always-on agents(William Hu) · 原文:Migrating our Messages API to Rust(Anthropic Engineering) · 原文:Safely scaling multi-agent teams with Claude Fable 5.2(Claude 开发者博客) · 原文:MCP servers can now ship skills, run tasks, and more with Claude(Claude 博客)

下一集3b · 700 个测试为什么不够→