Memory and State
摘要
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.