搭建「始终在线」的 agent · 2c
跨 run 留下什么
每次 run 都从零开始,所以记忆是持久化存储里的一个文件目录,只存查不到的东西;四种记忆(用户指令、用户笔记、过去的消息、任务进度)和原文的示例目录:三个文件每次都读,其余放在索引后面;上下文窗口里的固定开销,旧会话越变越长,压缩或开新会话都会丢细节。英文旁白。
每个系列解读一篇 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 博客)