How to Build AI Agent Memory: Patterns & Best Practices | Quantum Bits