Engram: Local, Event-Sourced Memory for AI Agents & LLMs