Agent Memory Lab
Memory Lab
Add information to the agent's memory, search it, retrieve it, update it and delete it, and watch how temporary memory forgets whatever leaves its window.
Loading the Agent Memory Lab…
Suggested labs in this lab
Writing to and retrieving from short-term and long-term memory Short vs Long Memory
To distinguish in practice between short-term and long-term memory, and to try the write, read, search, update and delete operations.
- Open the Memory Lab (open ↗)
- Run a write operation on the short store with the key user_name and a sample name as the value, then run write on the long store with the key preferred_language and the value Arabic
- Run read for each key, then search on the long store with the query language
- Run update to change preferred_language, then delete for the key user_name
- In the simulator, set the Agent node's memory to short, then long, then both, and run the same diagram each time
- Compare in the log what the agent read from memory in each setting
What you will notice: You will notice that the short store serves the current task while the long store remains for later use, that search returns the entries related to the query, and that deletion and updates change what the agent retrieves in the following steps. In the both setting, the log shows reads from the two stores.
