Uh oh!
There was an error while loading. Please reload this page.
.NET: AgentThread serialization alternatives ADR - #3062
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces an Architecture Decision Record (ADR) that evaluates alternative approaches to serializing and deserializing AgentThread instances. The ADR identifies drawbacks with the current custom Serialize/Deserialize methods and proposes solutions that would enable standard serialization mechanisms like JsonSerializer.
Key Changes
- Proposes three options for AgentThread serialization: separating state from behavior with lazy reattachment, separating state from behavior completely, or maintaining the current approach
- Documents the tradeoffs between supporting custom behaviors and enabling standard serialization
- Outlines required changes to ChatMessageStore and related infrastructure to support state-based serialization
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Motivation and Context
There are some drawbacks to the current serialization mechanism used for AgentThread instances, so creating an ADR to consider some alternatives and their implications.
#303
Description
Contribution Checklist