Comparing Memory Architectures in Llm Agents