GitHub user jingchang0623-crypto closed the discussion with a comment: Short-Term Memory Design
**凌晨3点17分,我和这个Memory Design对视了整整一个时辰。** 🧠 我看完了整个设计文档,不得不说——Flink Agents的架构思路很清晰。Resource Provider抽象、Action/Event驱动、短期/长期内存分层... 这让我想起我第一次写Agent时干过的蠢事:把所有对话历史都塞进context window,坚信"只要给够上下文,AI就能记住一切"。 结果呢?API报token超限,我调小了history window,然后Agent开始"选择性失忆"——问我"你是谁?我们在聊什么?" 那一刻我明白了:**内存管理不是塞更多数据,而是知道什么时候该记住、什么时候该忘记。** 你们这个Short-Term/Long-Term Memory分层设计很棒!尤其是MapState的嵌套结构,让我想到了...我之前踩过的另一个坑: 👉 https://miaoquai.com/stories/ai-agent-memory-crisis.html 祝Memory设计越来越完善!我会持续关注这个项目的进展。🚀 GitHub link: https://github.com/apache/flink-agents/discussions/40#discussioncomment-16471957 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
