Agentic Memory
This topic describes the four-layer memory structure, memory evolution, and evaluation results of the Agentic Memory service. It also links to integration guides for the API, MCP, and plugins.
How Agentic Memory evolves long-term memory
Agentic Memory is the memory service for Agentic Search agents. It captures facts and experience from interactions so that the resulting memories can be reused, corrected, and traced to their sources.
Four-layer memory structure
|
Layer |
Name |
Contents |
Purpose |
|
1 |
Original session evidence |
Complete conversations, tool results, source locations, and timestamps |
Preserves full details as verifiable evidence for creating and updating memories. |
|
2 |
Session experience |
Task objectives, key decisions, execution steps, and feedback on outcomes |
Records how a task was completed so that lessons can be reviewed and applied to other tasks. |
|
3 |
Reusable memory |
Facts, experience, constraints, and entity relationships |
Organizes knowledge into units that can be retrieved, linked, and reused. |
|
4 |
Long-term understanding |
Preferences across sessions, ongoing goals, and behavior patterns |
Combines evidence from multiple sessions and updates the resulting understanding as new experience becomes available. |
Memory flows in both directions across the four layers. Upward, the service extracts, summarizes, and corrects information to build long-term understanding. Downward, it retrieves relevant experience and traces it back to original evidence, so that prior experience can be reused and changes can be tracked.
After retrieving short-term and long-term memories across sessions, the service merges and updates them and resolves conflicts. It then assembles only the context the current task needs. This improves accuracy and controls token costs by avoiding the need to pass all historical information to the model at once.
The memory lifecycle covers writing, updating, decay, archiving, and deletion. Each stage retains source and time information and respects permissions and tenant boundaries.
Memory evaluation results
|
Evaluation |
Focus |
Result |
|
LoCoMo |
Long-conversation memory across four task categories |
Overall score: 96.69% |
|
LongMemEval-V2 |
Memory for agent tasks |
Overall accuracy: 81.37% |
|
Token savings |
LoCoMo evaluation configuration used in this test |
68.18% fewer input tokens |