错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Memory and State

  • Martin Hander

摘要

Agents don’t just read prompts – they remember. The trick is to store the right things, retrieve them fast, and keep the store clean as conversations and sessions pile up. In practice, you’ll juggle three kinds of memory, a vector store for semantic recall, a summarization loop to compress history, and housekeeping (TTL and compaction) so nothing grows without bound.