Have you ever experienced an agent losing its entire memory the moment a session closes? In order to preserve a consistent state across various runtimes, it is necessary to store that information outside of the active process.

The procedure is surprisingly simple. We have put together a demonstration that teaches you to initialize the Walrus Memory TypeScript SDK using only ~90 lines of code. During the walkthrough, we integrate the three specific calls of recall, generate, and remember. To prove the effectiveness of this setup, we deliberately shut down the program and launch it again, allowing you to observe the agent seamlessly continuing its work from the exact point of interruption.

You can watch the complete tutorial right here:

https://youtu.be/YKNQkFlc0Qw?si=Uvif8lSWGCuDxG1N