Agent Memory Architectures Compared (2026): Provider, Letta, mem0, RAG, Custom

Compare the 5 agent memory architectures — provider-managed, Letta, mem0, vector RAG, custom — across control, persistence, scoping, and cost to pick one.