Skip to content

AgentGroupChat state and instance management #10109

Answered by crickman
vslepakov asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, thank you for the clarification.

  1. Yes, you can retrieve an existing assistant definition and then add it to group chat the same as with any agent: https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/agents/open_ai/azure_assistant_agent.py#L308. Currently, there isn't a support mechanism to rehydrate an existing thread for AgentGroupChat; although, you may specifiy a thread-id if directly invoking the agent.
  2. An AgentGroupChat instance defaults to creating a new thread for its scope. If a ChatCompletionAgent is present in the AgentGroupChat, the conversation will by synchronized with the assistant thread automatically.
  3. AgentGroupChat is stateful. As such, I'd n…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vslepakov
Comment options

Comment options

You must be logged in to vote
3 replies
@vslepakov
Comment options

@crickman
Comment options

crickman Jan 8, 2025
Collaborator

@vslepakov
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
follow up Issues that require a follow up from the community. agents
3 participants