Engram: Intelligent Memory Layer for AI Agents & LLMs