How to Give Your AI Agent a Shared Memory — in 3 Lines