Hybrid retrieval and Document Level Security (DLS) now optimize how Elasticsearch manages long-term agent memory. This approach combines dense and sparse vectors to improve context recall. It ensures agents access only authorized data during retrieval. Developers can now build more secure, context-aware AI agents without sacrificing retrieval precision or data privacy.