Hybrid retrieval and Document Level Security (DLS) now optimize how AI agents store and access long-term memory. By combining vector and keyword searches, Elasticsearch improves retrieval precision while enforcing strict data access controls. This prevents agents from leaking sensitive information. Developers can now implement secure, context-aware memory systems for enterprise-grade LLM applications.