What are AI Agents, Really? › Understanding Memory in Agents
Michael BrenndoerferMay 27, 20251 min read
What are AI Agents, Really? › Understanding Memory in AgentsOne section · Sections in this article8 / 13 ↓
Sections in this article13
Memory is how agents remember context to decide what to do next.
## Types of Memory
| Type | Description |
|-------------------|-----------------------------------------------------------------------------|
| Short-term | Stored in the current LLM prompt |
| Long-term | Indexed and retrieved as needed, often from vector stores |
| Scratchpad | Temporary summaries or notes used during transitions |
| Shared memory | Global state accessible to multiple agents |
## Implementing Memory
Memory can be maintained using:
- Prompt engineering with structured history
- External stores like Redis or Pinecone
- MCP-based memory tools