Persistent cognitive memory for agents
CrewAI provides persistent cognitive memory for both Crews and Flows, enabling agents to retain information across sessions, accumulate knowledge over time, and strategically forget — shifting from stateless interactions to learning-capable, long-running workflows.
Stützende Belege
Originalauszug
In addition, both Crews and Flow and its agents get a persistent cognitive memory layer, allowing them to retain information across sessions and gradually accumulate knowledge, consolidating and even strategically forgetting over time. This shift, from stateless interactions to agents with memory, marks an important step in optimizing long-running agent workflows that can learn from executions itself and human feedback.
Kontext
Persistence is also essential when agents need to pause for human input or recover from interruptions. CrewAI’s @persist() decorator automatically saves workflow state so execution can resume later.