AI / CrewAI Interview Questions
What is Short-Term Memory in CrewAI?
Short-Term Memory retains context within a single crew execution, letting agents recall what happened earlier in the same run without needing it repeated.
- Uses the crew's embedder configuration to store recent interactions as vector embeddings
- Scoped to just the current execution, it doesn't persist once that run finishes
- Automatically initialized when a Crew is created with
memory=True
This is the memory layer responsible for an agent not forgetting what it just did two steps ago within the same task.
More Related questions...