-
Notifications
You must be signed in to change notification settings - Fork 4k
Python : Sample for Swarm Agent Approach #10723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Python Test Coverage Report •
Python Unit Test Overview
|
Hey, so this is just a sample how an Agent handoff could be done with Function Calling. I think i could also make a class Just let me know if you would be interested in a more sophisticated implementation or the Sample is enough. |
Thanks for working on this @nmoeller. It looks like with OpenAI's release today of their Agent SDK, Swarm is no longer going to be maintained. With that said, they introduced the "handoff" feature in the new SDK. We can have some equivalent behavior in SK with something like this. What are your thoughts? |
@moonbox3 Thanks for looking into this. Let's probably first discuss if my sample still makes sense compared to the one @sphenry provided. What i wanted to show in my sample is how to handover with I have two thoughts on this :
Conclusion : I would adjust my Sample to be closer to his sample proposing the following changes:
What do you think ? If you think it does not make sense we can also close this PR. |
I will close this due to #11184 , which brings a similar approach, if this is still needed feel free to ping me, then i will reopen. |
Motivation and Context
In OpenAI Swarm & Autogen Swarm Agents are able to handoff via Function Calling, rather than using a Prompt in the Selection Strategy. This PR should provide a sample how you can build a Swarm Agent System in Semantic Kernel.
The example implents the sample of Autogen Swarm.
Contribution Checklist