Skip to content

Autogen 0.4.5 | Human in the loop with UI - Advise on architecture #5324

Answered by ekzhu
skye0402 asked this question in Q&A
Discussion options

You must be logged in to vote

For Swarm group chat, you can use HandoffTermination to terminate the run and restart it with your user input as the next task. You can read about it in this example: https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/swarm.html#customer-support-example.

You can also use HandoffTermination for SelectorGroupChat, it also requires the agent to be able to use the handoff feature: https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/human-in-the-loop.html#using-termination-conditions.

The use of HandoffTermination means you don't use UserProxyAgent in a group chat, you stop the group chat, give the control back to the applicaiton, and res…

Replies: 2 comments 20 replies

Comment options

You must be logged in to vote
19 replies
@ekzhu
Comment options

ekzhu Feb 9, 2025
Maintainer

@richardgg93
Comment options

@ekzhu
Comment options

@richardgg93
Comment options

@ekzhu
Comment options

Answer selected by skye0402
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants