# Introducing memory retention for agentic memory in OpenSearch

DevFeed: [Introducing memory retention for agentic memory in OpenSearch](<https://devfeed.tech/articles/introducing-memory-retention-for-agentic-memory-in-opensearch-12788.md>)

Original publisher: [Read original article](<https://opensearch.org/blog/introducing-memory-retention-for-agentic-memory-in-opensearch/>)

Author: Erfan Ballew

Published: 2026-08-13T22:29:25Z

Content type: article

Language: en

Sources: [OpenSearch](<https://devfeed.tech/sources/opensearch.md>)

Topics: [Amazon OpenSearch Service](<https://devfeed.tech/topics/amazon-opensearch-service.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [audit trail](<https://devfeed.tech/topics/audit-trail.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [blog](<https://devfeed.tech/tags/blog.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [cost](<https://devfeed.tech/tags/cost.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [memory](<https://devfeed.tech/tags/memory.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [precision](<https://devfeed.tech/tags/precision.md>), [retention](<https://devfeed.tech/tags/retention.md>), [storage](<https://devfeed.tech/tags/storage.md>), [technical](<https://devfeed.tech/tags/technical.md>)

## AI overview

This article explains OpenSearch 3.8's experimental memory retention feature for agentic memory. It describes age-based and count-based limits for different memory types, how policies prevent stale context and uncontrolled storage growth, and how to enable retention on an existing cluster.

## Source excerpt

Learn how the memory retention policy in OpenSearch automatically manages the lifecycle of agentic memory, controlling storage growth while preserving specific memories. The post Introducing memory retention for agentic memory in OpenSearch appeared first on OpenSearch.