FoundationHazelJS
Memory
Persisted or retrieved information that informs future agent decisions outside a single model call.
- Authors
- editorial-team
- Published
- Last reviewed
Direct answer
Persisted or retrieved information that informs future agent decisions outside a single model call.
Plain language
Memory is what the agent keeps—preferences, facts, prior outcomes—so it doesn’t start from zero.
Technical explanation
Layers may include working context, session stores, @hazeljs/memory long-term stores, AgentMemoryGraph, and artifact references, each with retention and write policies.
Example
Remembering a user’s preferred deploy window across sessions via @hazeljs/memory with a 90-day TTL, while AgentRun holds only the current run.