Skip to main content

Agents Deep Dive

Agent Memory

0:00
LearnStep 1/4

Memory Types in CrewAI

How Agents Remember

CrewAI supports multiple memory types that help agents maintain context and learn.

Memory Types

1. Short-Term Memory

Temporary storage during task execution.

python

2. Long-Term Memory

Persists across crew runs, stored in a database.

python

3. Entity Memory

Tracks specific entities (people, places, concepts) mentioned in conversations.

4. Contextual Memory

Combines relevant memories for the current task.

Memory Flow

text