agents.base.serialization_mixinΒΆ
Serialization mixin for Agent classes.
This mixin provides proper serialization support for Agent instances in LangGraph, handling both pickle and msgpack serialization formats.
ClassesΒΆ
Mixin for serializing and deserializing Agent instances. |
Module ContentsΒΆ
- class agents.base.serialization_mixin.SerializationMixinΒΆ
Mixin for serializing and deserializing Agent instances.
This mixin provides methods for handling serialization with both pickle and msgpack, focusing on addressing the specific needs of agents within LangGraph.
LangGraph uses msgpack under the hood for serialization during graph execution. This mixin ensures agents can be properly serialized without errors.