Search across all documentation pages
8 pages in this section.
Explains the difference between conversation history, scratchpad state, and tool-result caching within a session.
Learn to implement short-term agent memory in Python. Explore 8 examples to manage conversation history, control message list size, and use session keys.
Manage multi-turn agent conversations within a context budget. Learn to trim or summarize older turns to prevent silent deletion of goals or tool results.
Store agent conversation history and scratchpad values in Redis. Learn to serialize session data, manage keys, set TTLs, and handle updates.
Prevent cross-session data leaks in multi-tenant agent applications. This checklist helps scope short-term agent state to isolate user data.
Learn ten best practices for managing short-term memory in multi-turn agents, covering isolation, context budget, and state compression.