AIAgentStorage
Concurrent-safe key-value storage for an agent. You can create typed keys for your data using the createStorageKey function and set and retrieve data using it by calling set and get.
Functions
Link copied to clipboard
Retrieves the non-null value associated with the given key from the storage. If the key does not exist in the storage, a NoSuchElementException is thrown.
Link copied to clipboard
Adds all key-value pairs from the given map to the storage.
Link copied to clipboard
Converts the storage to a map representation.