← Memory, Context & State
Memory Retrieval
Memory retrieval is the process by which an agent queries its external memory store to surface facts or prior events relevant to the current task. A query — often derived from the current message or the agent's current goal — is matched against stored entries using semantic search, keyword lookup, or hybrid methods. Retrieved items are then injected into the context window for the model to use in its response.