Shared memory, history, and key-value state for Agents and Networks.
InferenceResult
. Refer to the InferenceResult reference for more information.
State
’s data is only retained for a single Network
’s run.
This means that it is only short-term memory and is not persisted across
different Network run()
calls.You can implement memory by inspecting a network’s state after it has
finished running.handler
method to get or set data. Here is an example of a Tool that uses kv
as a temporary store for files and their contents that are being written by the Agent.