[Roadmap Issue]: Serializable Workflow
Features/Deliverables
Providing a means to serialize AG2 entities up to and including a complete AG2 workflow (agents, group chat, functions, messages, starting function) would enable:
- New UIs for creating and running AG2 workflows
- Save workflows to disk/ database
- Loading and running workflows
- Resuming workflows
- Sharing workflows
- Saving could include post-run state to enable resuming from that point
This serialization is commonly done for GUIs already created, such as autogen studio, and standardizing it would be useful.
Priority
TBD
This all sounds great. To add to this, some features I'd love to see:
- The ability to 'clear history' during a workflow.
- This improves accuracy (less noise in context window), speed, and lowers cost.
- Traceability. Ability to save (and debug) AG2 workflows.
i really would love this to happen!
@Lancetnik where are we on this?
@qingyun-wu we trying to adopt https://github.com/oracle/agent-spec for this goals I want to challenge AgentSpec by our workflow cases book and write AgentSpec -> AG2 GroupChat parser. I hope to release first draft at the start of next week. Then we can progress gradually to support more and more complex cases