How would you design memory for an internal DevOps assistant?
AdvancedProductionMemory & state
Answer
Use a session store (Redis or Postgres) for short-term state with TTLs, and a long-term store keyed by user and team for preferences and service facts, each with source and timestamp. Retrieve memory by relevance per request, let users view and delete it, and never store credentials.
More on Memory & state
Do LLMs remember previous conversations?BeginnerWhat is short-term memory for an agent?BeginnerWhat is long-term memory for an agent?BeginnerHow do you stop conversation history from overflowing the context window?IntermediateWhat should an agent store in long-term memory?IntermediateWhat is agent state, and why persist it?Intermediate