# Agent memory

Canonical page: https://www.theglitch.ai/ai-glossary/agent-memory

How an agent keeps useful facts beyond one conversation, usually by writing notes to a store it can search later.

[Agent memory, common card \#006 in The Glitch AI glossary: How an agent keeps useful facts beyond one conversation, usually by writing notes to a store it can search later.](https://www.theglitch.ai/images/cards/glossary/agent-memory.png?v=9261031f5f5f2838)

GLS 006 · common

Also called: Long-term memory.

For: Builders

## Why it matters

Memory turns a forgetful assistant into one that knows your preferences and past decisions.

## In practice

An assistant remembers you prefer bullet points and never schedules calls before 10.

## Watch for

Wrong memories stick; let users see and delete them.

## Related terms

[Context engineering](https://www.theglitch.ai/ai-glossary/context-engineering) · [Vector database](https://www.theglitch.ai/ai-glossary/vector-database) · [Agent](https://www.theglitch.ai/ai-glossary/agent)

## Guides that use it

[AI agents, minus the hype.](https://www.theglitch.ai/learn/ai-agents) · [Open-source AI agents worth trying in 2027.](https://www.theglitch.ai/learn/open-source-ai-agents)

## Sources

- [Packer et al. (2023): MemGPT](https://arxiv.org/abs/2310.08560)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
