ag2 icon indicating copy to clipboard operation
ag2 copied to clipboard

[Roadmap Issue]: Serializable Workflow

Open qingyun-wu opened this issue 1 year ago • 2 comments

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

qingyun-wu avatar Nov 18 '24 04:11 qingyun-wu

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.

Culpable avatar Nov 20 '24 04:11 Culpable

i really would love this to happen!

elCaptnCode avatar Oct 09 '25 15:10 elCaptnCode

@Lancetnik where are we on this?

qingyun-wu avatar Dec 16 '25 05:12 qingyun-wu

@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

Lancetnik avatar Dec 16 '25 16:12 Lancetnik