Engram: Augment AI Agents with Repository Context & History