Epistemic memory for AI agents: making the safe path profitable | grantmaking.ai