agent memory
Information an AI application keeps outside the context window, such as user preferences or task notes, and loads back when relevant.
In more detail
Short-term memory is the conversation itself; long-term memory lives in files or a database your application owns. Check facts before they enter memory, give each memory a source and a way to be corrected, and treat recalled text as untrusted input.
Related terms
- context compaction — Replacing older turns of a long conversation with a model-written summary so the history fits the context again.
- context poisoning — A mistake or false claim entering the context, for example from a hallucination or a bad tool result, and being repeated as fact on later turns.
- AI agent — A system in which a model decides its own next steps, calling tools in a loop until a task is done, rather than following a path your code fixed.
Taught in
- Reasoning Techniques — AI Engineering: LLM Apps, RAG & Agents
- From Prompts To Context — AI Engineering: LLM Apps, RAG & Agents
- Memory And Compaction — AI Engineering: LLM Apps, RAG & Agents
- When Context Fails — AI Engineering: LLM Apps, RAG & Agents
- Embedding Models — AI Engineering: LLM Apps, RAG & Agents
- Vector Indexes And Databases — AI Engineering: LLM Apps, RAG & Agents
- How RAG Works And When To Use It — AI Engineering: LLM Apps, RAG & Agents
- Grounded Answers With Citations — AI Engineering: LLM Apps, RAG & Agents
- Workflows Before Agents — AI Engineering: LLM Apps, RAG & Agents
- Planning, Memory And Many Agents — AI Engineering: LLM Apps, RAG & Agents
- Agent SDKs And Human Approval — AI Engineering: LLM Apps, RAG & Agents
- Threat-Model An LLM App — AI Engineering: LLM Apps, RAG & Agents
- Capstone: The Tasks Assistant — AI Engineering: LLM Apps, RAG & Agents