返回文章
参考 DeerFlow 的 DeerMem 实现,拆解长期记忆的消息过滤、作用域判断、画像与事实卡片存储,以及自动加载和 SQLite FTS5 检索,并用 LangChain 串起可运行案例。
ai agent
上下文工程
长期记忆
langchain
deerflow