Skip to content

How to interact between process agents as we do in c# ? #11907

Answered by moonbox3
tanuja-cibuscell asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @tanuja-cibuscell, I'm sorry it's taken so long for us to get some SK Python Process framework + Agent Framework samples published. A while back, I posted an example on how this may be done.

The big takeaway is:

  1. You can define "complex" dependencies (like an Agent, or an AgentGroupChat) with the factory_function callback.
  2. I recommend playing with this and the "LocalRuntime" for ease-of-use and debugging as you get ramped up.

See an example of it here:

#10234 (comment)

Another possible example to explore shows how a process step can leverage an Agent using the factory callback: https://github.com/microsoft/semantic-kernel/blob/fa2d52f6cc53629098db9f6ce92452e03cbf950e/python/samples…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tanuja-cibuscell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel agents
2 participants