FrontierAI.Engineer
Agentic AI Foundations & Architectures

Agent Memory

Agent memory covers the mechanisms by which an agent retains and retrieves information across turns and sessions. In-context memory lives in the active prompt window and is lost when the context resets. External memory stores facts in a vector database or key-value store that the agent can query as needed. The choice of memory architecture affects recall accuracy, latency, and the agent's ability to maintain long-horizon coherence.