AI / CrewAI Interview Questions
What are the memory types supported by CrewAI?
CrewAI provides four memory types that can be configured at the crew level, each serving a different purpose.
| Memory type | Purpose |
| Short-Term Memory (STM) | Retains context within a single execution |
| Long-Term Memory (LTM) | Persists information across separate runs |
| Entity Memory | Tracks specific entities and their attributes over time |
| External Memory | Connects to memory storage outside CrewAI's default backend |
Setting memory=True on a Crew automatically initializes default instances of Short-Term, Long-Term, and Entity memory using ChromaDB as the underlying vector storage.
More Related questions...