Class AgentStateSerializer

All Implemented Interfaces:
Serializer<AgentExecutor.State>

public class AgentStateSerializer extends ObjectStreamStateSerializer<AgentExecutor.State>
This class is responsible for serializing and deserializing the state of an agent executor. It extends ObjectStreamStateSerializer for handling the serialization of the AgentExecutor.State object.
  • Constructor Details

    • AgentStateSerializer

      public AgentStateSerializer()
      Constructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types.