当前位置:首页 > 文章列表 > 科技周边 > 人工智能 > 一虾多魂跨Agent记忆整理方法

一虾多魂跨Agent记忆整理方法

2026-04-21 18:37:05 0浏览 收藏
本文介绍了一位非程序员用户如何基于腾讯云Lighthouse和OpenClaw平台,构建出一套高度实用的“一虾多魂”智能体协同系统,并创新性地设计并落地了跨Agent、跨工作区的自动化记忆整理工作流——每天23:45准时扫描所有角色Agent的当日对话,通过本地启发式四维评分(复用/时效/经验/知识价值)筛选高质量内容,自动生成结构化Markdown摘要与增量精华文档,实现“每日AI日记”自动推送,辅以动态并发池、双轨记忆架构、跨项目经验上浮等技术亮点,在不依赖大模型推理的前提下显著提升记忆沉淀效率与智能体长期成长性,让AI真正成为思维延伸的可靠伙伴。

{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"6670f31f-a4fc-4a83-a4f1-387f7ad5a24f\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"本人不是程序员出身,\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#fff\",\"background\":\"rgba(38, 111, 232, 1)\"}}],\"text\":\"本文仅供养虾思路探讨\"},{\"type\":\"text\",\"text\":\"(真实效果仍待长时间使用验证)。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b52bacfa-ff87-4739-a890-88936db0d4e3\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"我使用的是鹅厂的lighthouse一键部署的云上Openclaw\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"ce58615c-81c7-470d-924f-06df22ac545c\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-12019067/087ed5cc37df0b209654a319e5e69426.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showAlt\":false,\"href\":\"\",\"boxShadow\":\"\",\"width\":873,\"aspectRatio\":\"1.797678\",\"status\":\"success\",\"showText\":true,\"isPercentage\":false,\"percentage\":0,\"isHoverDragHandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"767b9bd0-267c-4423-94d3-b671af054b99\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"italic\"}],\"text\":\"为什么选择云端部署想必不必多说了。lighthouse用下来管理比较方便,平台功能清晰易用,官方还配了一只懂虾的kiki智能体,有什么不懂的直接在平台网站上问它,还可以直接帮你执行操作,so~大大增加易用性,等于免费提供养虾助手一只。 “文件管理”模块用起来就像操作本地文件系统,够直观,也是方便实现自定义管理龙虾的基石。\"},{\"type\":\"text\",\"text\":\"(by the way \"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#4272EC\",\"background\":\"\"}},{\"type\":\"bold\"}],\"text\":\"给PHP中文网官方提个小建议:在文件管理系统UI中增加收藏夹功能,方便快速导航到需要的目录\"},{\"type\":\"text\",\"text\":\")\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"649d7843-5e78-4b9b-b628-dbc9768bcf96\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":2,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"进入正题\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a480081f-2d30-46a5-a695-2dceccd0412b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\" 我的这只lighthouse虾是一虾多角色切换来使用的,配合不同的IM通道(QQbot、元宝bot、LightClaw、以及OpenClaw自带的webUI),每个通道绑定路由到不同的agent角色和其对应独立工作空间路径来针对性地处理不同任务,比如ETF行业调研组、资讯搜索汇报组、应用或工作流开发组、日常探讨分身…… 由此组建为我的一虾多魂系统。(tips:保留系统默认的代理main和它的工作区,以免角色和任务混乱,角色=代理=agent)\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"d1de2dc5-58e8-42cd-9be1-13b29505f541\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\" 随之而来的问题也出现了,比如各个agent的身份定义文档的维护、记忆文档的维护…… 在玩虾的过程中我摸索到可以让它搭建成“\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#4272EC\",\"background\":\"\"}},{\"type\":\"bold\"}],\"text\":\"分层记忆架构\"},{\"type\":\"text\",\"text\":\"”,这样全局统一的记忆就可以在一个文件中维护。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"fe9c01d2-0db3-4018-96a3-f76da8e8a21d\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-12019067/142aeb2f5de0ae17e5f47aa8ab977d44.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"全局统一记忆层\",\"showAlt\":true,\"href\":\"\",\"boxShadow\":\"0px 4px 12px 0px rgba(115, 123, 137, 0.20)\",\"width\":400,\"aspectRatio\":\"0.962567\",\"status\":\"success\",\"showText\":true,\"isPercentage\":false,\"percentage\":0,\"isHoverDragHandle\":false}},{\"type\":\"image\",\"attrs\":{\"id\":\"42f0743e-9dc0-474a-88ed-db3e3ff629b6\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-12019067/0836e0f5a2c6d3b17565d8de811b203c.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"原agent私有层\",\"showAlt\":true,\"href\":\"\",\"boxShadow\":\"0px 4px 12px 0px rgba(115, 123, 137, 0.20)\",\"width\":400,\"aspectRatio\":\"1.464930\",\"status\":\"success\",\"showText\":true,\"isPercentage\":false,\"percentage\":0,\"isHoverDragHandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"fa2d5e62-c714-4b4d-8e94-29d1c423afea\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\" 相较于单角色的记忆维护,多角色系统必然会产生更多的会话窗口并分散在各自不同的记忆保存区域中,如果单个去依次整理归档记忆,就成了重复级的繁琐操作。由此我诞生了一个想法,自己搭建一套自动定时执行的 跨agent跨工作区的 记忆整理归档工作流。目前我还未掌握到Openclaw的相关官方解决方案(如已有,或有类似的github开源解决方案,欢迎大佬指点)。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"54286a8c-a3c0-4fb7-bebb-41c832e5ac25\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\" 正好这两天碰上Anthropic的乌龙CC代码泄露事件,很多大佬拆解其底层逻辑,其中有一个关于结构化会话记忆“Claude Code为每次对话维护一个结构化Markdown文件,包含\"},{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"会话标题、当前状态、任务规格、文件与函数、工作流、错误与修正、代码库文档、学习笔记、关键结果、工作日志\"},{\"type\":\"text\",\"text\":\"。”(摘自公众号量子位的一篇文章),那么我就正好将这个md结构拿来参考进工作流的设定了。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"1469714d-53ba-4b25-a72b-2d1ae6f47c74\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":2,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"搭建过程:\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3a634308-21b2-488f-8eb5-3e1e70d87d28\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"-项目刚开始需要创建plan,最好先打开思考模式,输入框敲 /think high (QQbot对斜杠命令支持较好,元宝bot不支持,然而元宝bot在手机端支持markdown显示,QQ手机端鸿蒙系统却不支持)\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"2ac85c3b-2dcf-4ece-b1f1-a1e0c6c96611\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"b22e7102-092d-4b86-9604-ff162709c1c3\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"d9e06b32-47e7-4d4b-a24d-308735a7385a\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"初始提示词:\"}]}]}]},{\"type\":\"codeBlock\",\"attrs\":{\"id\":\"540b8a48-508b-4f9f-bc50-45c4f57801bd\",\"language\":\"markdown\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"isHoverDragHandle\":false,\"key\":\"\",\"languageByAi\":\"markdown\"},\"content\":[{\"type\":\"text\",\"text\":\"我想系统每天23:45自动执行整理当天跨所有agent的全部session,为每个有对话内容的agent维护一个结构化Markdown记忆文件,包含会话标题、当前状态、任务规格、文件与函数、工作流、错误与修正、代码库文档、学习笔记、关键结果、工作日志。采用系统级Cron (Isolated Session),专门再创建一个agent来处理本工作流;先遍历扫描所有agent会话,判断有无对话内容,再对有内容的agents并行处理,在各agent的各自工作空间下整理保存记忆文档,创建一个专门的记忆整理skill来调用和处理,全部完成后汇总简报发送QQ。延续openClaw默认的每日记忆存档格式,例如每个agent工作目录下/memory/2026-04-01-Summary.md ,并识别有复用价值的内容精简增量写入每个agent工作目录下的MEMORY.md。先调用头脑风暴skill来一起完善工作流PRD细节\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"9822b370-2716-4a88-8d8d-9b1a42b84f2a\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"-注意将输出实施计划方案让ai写入一份md文档以免对话丢失/进度丢失\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"b04feec0-95b5-417b-b7a6-96ff2b301977\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"aaf7a3f4-39c6-48c4-a73f-7b30547ae26c\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"f8d1b864-77a0-48a3-b727-682ce5bab0cf\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"执行过程推敲打磨\"}]}]}]},{\"type\":\"codeBlock\",\"attrs\":{\"id\":\"571fedcd-9e1f-426e-a63e-408594734d79\",\"language\":\"markdown\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"isHoverDragHandle\":false,\"key\":\"31n60\",\"languageByAi\":\"markdown\"},\"content\":[{\"type\":\"text\",\"text\":\"简报超过2000字的拆分为多条QQ消息发送。默认扫描执行任务时的当天范围,并补充支持指定日期的扫描范围任务,支持一天内重复执行任务时对输出结果进行去重、合并,以增量编辑的形式更新输出文档\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"31e4a395-85b4-4e27-ae93-3a0613865952\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"57d055e8-03ad-4325-8925-b5999aacb46f\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"dc6aaa89-0586-4fd1-a65b-b87bc6720eca\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"提高工作流健壮性\"}]}]}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"d85dd8e3-8a95-491d-b8dc-407f26784058\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"ce2ea1bc-3ced-41aa-89cd-424333799b99\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a7800805-5859-4a08-80ca-caa4c6df4a23\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"spawn子代理QA写好测试代码,采用TDD方式以通过测试为目标,以agent team形式推进工作流搭建(这个步骤可反复执行)\"}]}]}]},{\"type\":\"codeBlock\",\"attrs\":{\"id\":\"88a8a864-2595-4a5b-9b1e-ec8a4b655202\",\"language\":\"markdown\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"isHoverDragHandle\":false,\"key\":\"\",\"languageByAi\":\"markdown\"},\"content\":[{\"type\":\"text\",\"text\":\"手动触发测试执行,在此之前先编写验证测试成功的通过标准、测试用例\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"3db34666-c1a2-431e-908d-93a018f4d9db\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"659d0f48-a34b-4bba-b1c5-2bc5cee2d49d\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"20c2c0a0-b9b7-4c0d-ae09-03d5d3210a4b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"派QA智能体角色再来一轮审查,提取有用逻辑,迭代优化\"}]}]}]},{\"type\":\"codeBlock\",\"attrs\":{\"id\":\"2b8bbd21-2b03-43e4-ad4a-e487c98045b4\",\"language\":\"markdown\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"isHoverDragHandle\":false,\"key\":\"\",\"languageByAi\":\"markdown\"},\"content\":[{\"type\":\"text\",\"text\":\"注意这是OpenClaw的agent执行定时自定义工作流,不是传统的软件应用,跟传统软件编程应用可能在审查要求上并不一致,参考审查报告中相通的可复用优化逻辑进行优化迭代\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"7f905c0a-83e1-47f1-b3b0-9e220eaa1ab0\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"02dc3fbd-b719-4905-8d5f-86d7df85b810\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"0466fad9-ad0c-4793-93ac-73fca2b40622\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"派全栈工程师去执行测试,遇到问题就修复,直至全部通过再汇报结果\"}]}]}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"3f498426-fa95-4727-85c8-5d00e63a4554\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"7c32e9b2-5141-42eb-9b4f-f97b3af8c95c\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b0f688d8-bf21-418f-8da6-3e50beb084a9\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"var(--brand_color_green_primary)\",\"background\":\"\"}}],\"text\":\"验证同步一致性\"},{\"type\":\"text\",\"text\":\"(包括agent定义文件、cron 触发消息、全工作流文件,\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"rgb(0, 163, 64)\",\"background\":\"\"}}],\"text\":\"对齐全部颗粒度\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\")\"}]}]}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"025a291e-407b-4f08-971f-e1af3d16424f\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"tips:\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"742556d2-3c0c-447b-b572-2c33789b7275\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"-TTD测试驱动开发,让它先写测试通过用例,开发不走弯路\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"482f6c0a-a0d8-44b2-972b-d93e965c9a02\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"-\"},{\"type\":\"text\",\"marks\":[{\"type\":\"code\"}],\"text\":\"记住:明明你能做到的操作项就直接执行,不要偷懒等我来,保证任务一镜到底减少不必要的中断\"},{\"type\":\"text\",\"text\":\"(防止虾偷懒)\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"5d282e51-7cc5-4716-856a-375c4d4023fa\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"-龙虾的一个毛病是改一个点,往往不能全线同步对齐,需要手动Q一遍\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"var(--brand_color_green_primary)\",\"background\":\"\"}}],\"text\":\"验证同步一致性(可能跟大模型能力也有关系)\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"03e1693c-8203-4ee5-a916-01156415ccd8\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"关键思考节点:\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"54dfb94f-47ea-4bf0-a683-a85ec0ff1b0c\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"需求梳理\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"c8783da9-9beb-4b67-970e-86a504d773d4\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"团队形式项目的记忆文档处理方式\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"78d7ca85-1f04-43eb-8cdf-49fa2cd1c583\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"超时保护\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"65f12ad4-a900-4f84-bc7d-cd34eec31805\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"容错机制\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"efa9e594-3bac-473d-b73e-cc6d46feb983\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"效率最优化\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a9c6c4b5-5fad-4271-bb67-4009533b710d\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"节省token的需求\"}]},{\"type\":\"horizontalRule\",\"attrs\":{\"id\":\"8d88c1e7-77cb-466e-bd89-ff33682570a9\",\"isHoverDragHandle\":false}},{\"type\":\"heading\",\"attrs\":{\"id\":\"ebb260b5-a499-4d3b-b9f1-d77b9b7bae43\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":2,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"跨Agent记忆整理工作流说明\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"087b61d7-9828-4d05-835d-0087c19a7b5f\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"每天晚上23:45,系统会自动:\"}]},{\"type\":\"orderedList\",\"attrs\":{\"id\":\"6f0a386e-a3cd-4f9d-9140-ea0eaa99279c\",\"start\":1,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"5bf5bf4c-8ae9-44fd-bd9e-9a8d7a2ae563\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"66ed882e-e85e-465d-b4a9-6e5647985568\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"扫描\"},{\"type\":\"text\",\"text\":\"多个Agent的今日会话\"}]}]}]},{\"type\":\"orderedList\",\"attrs\":{\"id\":\"7311747d-4526-4487-a52a-93ee7c5d75d5\",\"start\":2,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"e073ea7f-fadb-497e-9ad0-46fb017b2249\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8a790518-ad1f-4ac8-8754-4d635a125446\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"提取\"},{\"type\":\"text\",\"text\":\"有价值内容\"}]}]}]},{\"type\":\"orderedList\",\"attrs\":{\"id\":\"fe62bb11-ec19-488b-837c-46b100e99f09\",\"start\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"1aa29bdf-9b03-4823-97b3-b93e461dd6de\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"aacbfd5b-2850-42ed-bbfb-9843e57803e6\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"评分\"},{\"type\":\"text\",\"text\":\"筛选高质量内容\"}]}]}]},{\"type\":\"orderedList\",\"attrs\":{\"id\":\"62625b2e-afc7-4374-9f47-57ea2bfaec97\",\"start\":4,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"2e463645-f06e-425e-bcba-1ac9e6b43b9d\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"5a4da78f-3ad0-4879-ae9f-59d0b46b1201\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"写入\"},{\"type\":\"text\",\"text\":\"每日摘要 + 增量精华(长记忆沉淀)\"}]}]}]},{\"type\":\"orderedList\",\"attrs\":{\"id\":\"a3ce2ca9-b0f8-477c-9010-0805e85ea0e0\",\"start\":5,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"5017ed8d-c8c9-4fd8-8101-c180d05f3788\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3d85ee84-a982-4922-bc57-d87a871b05b3\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"推送\"},{\"type\":\"text\",\"text\":\"QQ简报给我\"}]}]}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8beac00f-defc-4b60-8516-215c31e6786d\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"目标是无需人工干预,早上醒来就能看到昨日的\\\"AI日记\\\"。无需过分操心经验沉淀的问题。\"}]},{\"type\":\"image\",\"attrs\":{\"id\":\"9d350533-d137-46f8-9062-40458b0f80f1\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-12019067/603f73700f50ef584302959aed7871f4.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showAlt\":false,\"href\":\"\",\"boxShadow\":\"\",\"width\":825,\"aspectRatio\":\"1.065354\",\"status\":\"success\",\"showText\":true,\"isPercentage\":true,\"percentage\":75,\"isHoverDragHandle\":false}},{\"type\":\"image\",\"attrs\":{\"id\":\"c71f1875-2b87-44e4-a4c9-118f42eb6250\",\"src\":\"https://developer.qcloudimg.com/http-save/audit-12019067/4aebd75d5fa13ac217637d9ed884def9.png\",\"extension\":\"png\",\"align\":\"center\",\"alt\":\"\",\"showAlt\":false,\"href\":\"\",\"boxShadow\":\"\",\"width\":825,\"aspectRatio\":\"1.065354\",\"status\":\"success\",\"showText\":true,\"isPercentage\":true,\"percentage\":75,\"isHoverDragHandle\":false}},{\"type\":\"heading\",\"attrs\":{\"id\":\"1ad5d5f3-8013-46a5-b164-f5931aca6e82\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"一、结合OpenClaw原有的记忆系统进行优化的\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#4272EC\",\"background\":\"\"}},{\"type\":\"bold\"}],\"text\":\"双轨记忆架构\"},{\"type\":\"text\",\"text\":\":\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"65863fde-a779-472b-aef3-6bd4a66a9281\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"轨道1 - 每日摘要\"},{\"type\":\"text\",\"text\":\" (\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"memory/YYYY-MM-DD-Summary.md\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"):\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3daba119-d308-4be7-a61f-2c2cc7cf7054\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"完整记录当日所有有价值内容,包含来源、时间、话题等元数据,便于按时间维度回溯。就像给每天的对话拍一张\\\"全景照片\\\"。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"2f237d59-32fd-4bcf-9a0e-f4ed30ad384f\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"轨道2 - 增量精华\"},{\"type\":\"text\",\"text\":\" (\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"MEMORY.md\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"):\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"285ba457-1904-4474-9af4-e0dbeaa4ef0b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"按类型分组(决策记录?、错误修正❌、学习笔记?等),去重后追加写入,方便智能体自动复用,长期沉淀就是你的智能体越用越称手的源头。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"5f18d8d0-193f-4486-9bac-e3d1dc0542d0\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"然后是\"},{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"跨项目经验上浮\"},{\"type\":\"text\",\"text\":\"机制——当识别到openclaw、skill、workflow、cron等关键词时,将这类通用经验同时写入共享工作区的MEMORY.md,实现\\\"一次记录,全局共享\\\"。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"ca5e3a6e-33f2-4c93-8ca3-58c917e31a52\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"二、技术实现:Bash + Node.js 混合架构\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"17b5dfa4-378e-411e-960b-b31e15c9db2e\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"},{\"type\":\"underline\"}],\"text\":\"更轻量的方案\"},{\"type\":\"text\",\"text\":\":\"}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"a9fae1d9-710c-4ca6-829b-182df632f578\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"c3353822-c3d1-4884-9465-396fc5279d26\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"af89798a-be9a-4d27-877a-c24d8f2a5894\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"Bash层\"},{\"type\":\"text\",\"text\":\":负责会话扫描、环境检查、QQ通知发送\"}]}]}]},{\"type\":\"bulletList\",\"attrs\":{\"id\":\"88ab828d-801e-49a7-be20-b8822f55a682\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"listItem\",\"attrs\":{\"id\":\"b73cbd04-d838-4481-b9a9-0b39fea81759\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"0819870a-c4b3-494a-9e2b-c066a20684ae\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"Node.js层\"},{\"type\":\"text\",\"text\":\":负责记忆内容分析、结构化处理、文件写入\"}]}]}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"a853dd75-6aab-41ee-a138-eba44c5f3ab8\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"通过\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"require\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"直接调用skill模块,减少进程开销,同时保持代码的可维护性。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b677ef49-bdc4-4ee0-a227-0d1663501f5c\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"},{\"type\":\"underline\"}],\"text\":\"动态并发池:快的不等慢的\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"402a476b-7d4d-420c-bea1-5f1b7fbae6d6\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"固定批次处理的问题是:如果批次1的某个Agent卡住了,其他Agent就算完成了也得干等。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"700aeb4a-c513-4ce6-82c2-09e7156f1a98\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"由此改成\"},{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"动态补位池\"},{\"type\":\"text\",\"text\":\":\"}]},{\"type\":\"codeBlock\",\"attrs\":{\"id\":\"a5c068ed-1546-4dc2-a259-e0b1ed720c0c\",\"language\":\"python\",\"theme\":\"atom-one-dark\",\"runtimes\":0,\"isHoverDragHandle\":false,\"key\":\"\",\"languageByAi\":\"python\"},\"content\":[{\"type\":\"text\",\"text\":\"// 3个槽位,完成一个补位一个\const pool = new Map(); // 正在执行的Agent\const queue = [...agents]; // 等待队列\\while (queue.length \u003e 0 || pool.size \u003e 0) {\ // 只要还有空位,立即启动新Agent\ while (pool.size \u003c MAX_CONCURRENT \u0026\u0026 queue.length \u003e 0) {\ const agent = queue.shift();\ pool.set(agent.agentId, startAgent(agent));\ }\ // 等待任意一个完成,然后补位\ await Promise.race(Array.from(pool.values()));\}\\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"724a8adc-2e98-4410-8b70-cb3bda042147\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"实际效果:6个Agent中5个10秒完成,1个卡了280秒。固定批次需要290秒,动态池只需要280秒。在大规模场景下优势会更明显。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"461c0d65-5ec9-409e-8084-8c64d0e77b3a\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"三、深度分析:不是所有内容都值得记住\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"e25c753b-f6fc-4af1-a8d3-c98780e8084b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"MEMORY.md不是垃圾桶,不能什么都往里倒,尤其是长期记忆的沉淀。用\"},{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"4维度价值评分\"},{\"type\":\"text\",\"text\":\"来筛选高质量内容:\"}]},{\"type\":\"table\",\"attrs\":{\"id\":\"dc86e41c-7ec6-48e2-b4b0-04bf01154e1d\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableHeader\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[45],\"style\":\"position: relative; width: 109px; max-width: 109px; min-width: 109px; --print-cell-width: 109px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"bf28bb0b-a211-4f95-bfc0-56cd866b0750\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"维度\"}]}]},{\"type\":\"tableHeader\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[29],\"style\":\"position: relative; width: 69px; max-width: 69px; min-width: 69px; --print-cell-width: 69px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"b601c2a0-bab0-4554-b219-96601aa07dd4\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"权重\"}]}]},{\"type\":\"tableHeader\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"style\":\"position: relative; width: 301px; max-width: 301px; min-width: 301px; --print-cell-width: 301px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"63e601ed-f5b6-4b84-8ce1-184dfb9a2cd2\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"识别指标\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[45],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 109px; max-width: 109px; min-width: 109px; --print-cell-width: 109px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"e3a0514b-fd11-4346-b998-a2e0fab705bb\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"复用价值\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[29],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 69px; max-width: 69px; min-width: 69px; --print-cell-width: 69px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"c38ef796-4c98-4a10-9312-e448839b3a8f\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"25%\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 301px; max-width: 301px; min-width: 301px; --print-cell-width: 301px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3d99cd00-cbb5-47ba-b55b-f230b3c46f1d\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"通用方法论、工具技巧、跨项目适用\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[45],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 109px; max-width: 109px; min-width: 109px; --print-cell-width: 109px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"2a7be0e8-59a9-48b3-a66c-a65f07e2db40\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"时效性价值\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[29],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 69px; max-width: 69px; min-width: 69px; --print-cell-width: 69px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8d7b6e7b-0322-47cb-af6a-9164cb6ecf8a\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"25%\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 301px; max-width: 301px; min-width: 301px; --print-cell-width: 301px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"09122a09-5034-4aa7-a4a5-f73e0b2194cb\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"架构原则、最佳实践、长期决策\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[45],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 109px; max-width: 109px; min-width: 109px; --print-cell-width: 109px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8b812748-c6f8-489b-b9af-c9e646eb489b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"经验价值\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[29],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 69px; max-width: 69px; min-width: 69px; --print-cell-width: 69px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3c7b6ef5-3504-4c0b-9f37-50cf67385ef7\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"25%\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 301px; max-width: 301px; min-width: 301px; --print-cell-width: 301px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"23e55f7b-ff2f-44bb-b9d6-d94f0bf798ad\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"错误修正、踩坑记录、注意事项\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[45],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 109px; max-width: 109px; min-width: 109px; --print-cell-width: 109px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"dfa5ae10-4f50-4111-a234-32c3f4f21756\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"知识价值\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[29],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 69px; max-width: 69px; min-width: 69px; --print-cell-width: 69px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"066f993e-93ef-4f31-9013-c35153623de0\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"25%\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 301px; max-width: 301px; min-width: 301px; --print-cell-width: 301px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"1ed9e50e-2766-4a02-bfb6-fa772252ee09\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"技术原理、领域概念、深度理解\"}]}]}]}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"61b34f60-48be-4ec0-bd8a-3224f45f85b8\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"使用本地启发式分析(正则匹配关键词),无需调用LLM,速度快且成本低。只有overallScore ≥ 0.6的内容才会写入MEMORY.md。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"b70ccbb3-eb57-4cb5-9e7f-7d3c1aac0d84\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"四、踩坑实录\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"8fd4ef80-9416-45ba-aae6-4a0a2529380f\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":4,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"坑1:配置文件 ≠ 系统配置\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"422e607b-b345-4df1-9943-d39ac26943ad\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"大模型会默认以为创建\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"cron-config.json\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"就完成\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#8E42CF\",\"background\":\"\"}},{\"type\":\"bold\"}],\"text\":\"定时任务的配置\"},{\"type\":\"text\",\"text\":\"了,结果任务根本没注册到系统,即便反复要求它注册也没实现。正确做法是\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#8E42CF\",\"background\":\"\"}}],\"text\":\"必须显式调用 openclaw cron add\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\" API注册,然后验证\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"openclaw cron list\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"\",\"background\":\"\"}}],\"text\":\" \"},{\"type\":\"text\",\"text\":\"。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"5381b322-d68d-4938-acac-9aafaea10d0b\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":4,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"坑2:OpenID大小写敏感\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"ffbc7972-dcf6-4c19-bc66-d524e7e34cbd\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#8E42CF\",\"background\":\"\"}}],\"text\":\"QQ Bot的投递地址必须用\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#8E42CF\",\"background\":\"\"}},{\"type\":\"bold\"}],\"text\":\"大写\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#8E42CF\",\"background\":\"\"}}],\"text\":\"OpenID\"},{\"type\":\"text\",\"text\":\",小写会导致发送失败。这个坑调试了半小时。\"}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"0b83678a-7440-4f66-a252-c19f46eec528\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"五、技术亮点总结\"}]},{\"type\":\"table\",\"attrs\":{\"id\":\"688cc179-469e-42e5-8007-558770e67fb8\",\"isHoverDragHandle\":false},\"content\":[{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableHeader\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"58d665c4-965c-47fa-bf84-b53dae04cbc8\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"亮点\"}]}]},{\"type\":\"tableHeader\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3d54e3d7-44d6-4129-b6f5-ee96d75275bd\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"说明\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8c9b87db-a916-49ce-9645-d5310d23703d\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"动态并发池\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"c17f90ac-7141-4afd-82db-df043b44f282\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"完成即补位,快Agent不等慢Agent\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"496ef0d4-f672-41e9-9be6-8a3c0ce1e73d\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"4维度评分\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"8cf2641c-1d44-4417-bdde-6db0c7a5da48\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"本地启发式,无需LLM(节省token消耗)\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"3b3a9c13-b0b4-4ed7-a739-56504053b42b\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"双轨记忆\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"4a2273bd-9000-4b07-aaac-7b85d921efe4\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"Summary追溯 + MEMORY精华\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"481bd33a-9ebc-4d86-bd98-07c3aff1f1cf\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"跨项目上浮\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"7a63d962-e613-4605-b8bd-3d6aba712d66\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"通用经验自动共享\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"2e24258a-7987-4efb-a9f0-e55450138612\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"三层超时保护\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"5fc9c62e-67ad-4f70-b19c-d072f2b9d338\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"600s→280s→90s层层兜底\"}]}]}]},{\"type\":\"tableRow\",\"content\":[{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":[43],\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 141px; max-width: 141px; min-width: 141px; --print-cell-width: 141px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"2296fb69-9788-4dd9-b685-50da2d19ea49\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"幂等性保障\"}]}]},{\"type\":\"tableCell\",\"attrs\":{\"colspan\":1,\"rowspan\":1,\"colwidth\":null,\"background\":null,\"color\":null,\"textAlign\":null,\"style\":\"position: relative; width: 295px; max-width: 295px; min-width: 295px; --print-cell-width: 295px;\"},\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"id\":\"cd5fb8b3-7fc4-4db2-a4a2-d1df17d04154\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"MD5指纹去重(这个我不懂,AI自己跑的)\"}]}]}]}]},{\"type\":\"heading\",\"attrs\":{\"id\":\"a852833d-1b2a-41d0-b730-b6423ba7489a\",\"textAlign\":\"inherit\",\"indent\":0,\"level\":3,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"结语\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"64527e58-c5a5-4f17-9882-6d1589cb7289\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"当每天可以看到系统自动整理的\\\"AI日记\\\",看到那些曾经踩过的坑被记录、被复用,我觉得\"},{\"type\":\"text\",\"marks\":[{\"type\":\"bold\"}],\"text\":\"龙虾确实在和我们共同成长\"},{\"type\":\"text\",\"text\":\"。\"}]},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"0947f2b7-2bcc-49a3-85b2-8ca391cb09b7\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false},\"content\":[{\"type\":\"text\",\"text\":\"这可能就是\\\"玩虾”的意义——不仅是玩转工具,更是\"},{\"type\":\"text\",\"marks\":[{\"type\":\"textStyle\",\"attrs\":{\"color\":\"#4272EC\",\"background\":\"\"}}],\"text\":\"让工具真正成为你思维的延伸\"},{\"type\":\"text\",\"text\":\"。\"}]},{\"type\":\"horizontalRule\",\"attrs\":{\"id\":\"212755eb-c6a6-4190-a48a-f26df17acde4\",\"isHoverDragHandle\":false}},{\"type\":\"paragraph\",\"attrs\":{\"id\":\"f3d0ccd4-70de-484f-a215-249473fa36bd\",\"textAlign\":\"inherit\",\"indent\":0,\"color\":null,\"background\":null,\"isHoverDragHandle\":false}}]}

今天关于《一虾多魂跨Agent记忆整理方法》的内容介绍就到此结束,如果有什么疑问或者建议,可以在golang学习网公众号下多多回复交流;文中若有不正之处,也希望回复留言以告知!

BehaviorSubject数据流解耦与容错方法BehaviorSubject数据流解耦与容错方法
上一篇
BehaviorSubject数据流解耦与容错方法
Golang单元测试教程:_testing包使用指南
下一篇
Golang单元测试教程:_testing包使用指南
查看更多
最新文章
资料下载
查看更多
课程推荐
  • 前端进阶之JavaScript设计模式
    前端进阶之JavaScript设计模式
    设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。
    543次学习
  • GO语言核心编程课程
    GO语言核心编程课程
    本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。
    516次学习
  • 简单聊聊mysql8与网络通信
    简单聊聊mysql8与网络通信
    如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让
    500次学习
  • JavaScript正则表达式基础与实战
    JavaScript正则表达式基础与实战
    在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。
    487次学习
  • 从零制作响应式网站—Grid布局
    从零制作响应式网站—Grid布局
    本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。
    485次学习
查看更多
AI推荐
  • ChatExcel酷表:告别Excel难题,北大团队AI助手助您轻松处理数据
    ChatExcel酷表
    ChatExcel酷表是由北京大学团队打造的Excel聊天机器人,用自然语言操控表格,简化数据处理,告别繁琐操作,提升工作效率!适用于学生、上班族及政府人员。
    4388次使用
  • Any绘本:开源免费AI绘本创作工具深度解析
    Any绘本
    探索Any绘本(anypicturebook.com/zh),一款开源免费的AI绘本创作工具,基于Google Gemini与Flux AI模型,让您轻松创作个性化绘本。适用于家庭、教育、创作等多种场景,零门槛,高自由度,技术透明,本地可控。
    4737次使用
  • 可赞AI:AI驱动办公可视化智能工具,一键高效生成文档图表脑图
    可赞AI
    可赞AI,AI驱动的办公可视化智能工具,助您轻松实现文本与可视化元素高效转化。无论是智能文档生成、多格式文本解析,还是一键生成专业图表、脑图、知识卡片,可赞AI都能让信息处理更清晰高效。覆盖数据汇报、会议纪要、内容营销等全场景,大幅提升办公效率,降低专业门槛,是您提升工作效率的得力助手。
    4617次使用
  • 星月写作:AI网文创作神器,助力爆款小说速成
    星月写作
    星月写作是国内首款聚焦中文网络小说创作的AI辅助工具,解决网文作者从构思到变现的全流程痛点。AI扫榜、专属模板、全链路适配,助力新人快速上手,资深作者效率倍增。
    6388次使用
  • MagicLight.ai:叙事驱动AI动画视频创作平台 | 高效生成专业级故事动画
    MagicLight
    MagicLight.ai是全球首款叙事驱动型AI动画视频创作平台,专注于解决从故事想法到完整动画的全流程痛点。它通过自研AI模型,保障角色、风格、场景高度一致性,让零动画经验者也能高效产出专业级叙事内容。广泛适用于独立创作者、动画工作室、教育机构及企业营销,助您轻松实现创意落地与商业化。
    4994次使用
微信登录更方便
  • 密码登录
  • 注册账号
登录即同意 用户协议隐私政策
返回登录
  • 重置密码