Skip to content
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

Swarm/handoff pattern in agentchat #3946

Closed
ekzhu opened this issue Oct 24, 2024 · 1 comment · Fixed by #3968
Closed

Swarm/handoff pattern in agentchat #3946

ekzhu opened this issue Oct 24, 2024 · 1 comment · Fixed by #3968
Assignees
Labels
Milestone

Comments

@ekzhu
Copy link
Collaborator

ekzhu commented Oct 24, 2024

What feature would you like to be added?

A popular pattern.

  1. Refactor agents to run tools call or communicate that this is just one way to handle tool calls
  2. chat agent can receive and return a sequence of messages
  3. the team/orchestrator/groupchatmanager - processes the list of messages and decide who to speak next [ToolCall, ToolCallResult, StopMesasge, NextSpeaker]. The team needs to interpret this returned list, broadcast this to others to keep context, and define the next speaker
  4. A base GroupChat/Team and child classes that implement RoundRobin/LLM/Handoff

Why is this needed?

Alternative to LLM-selector group chat.

@ekzhu ekzhu added this to the 0.4 milestone Oct 24, 2024
@ekzhu ekzhu self-assigned this Oct 24, 2024
@ekzhu ekzhu added size-small takes 1-2 days size-medium takes up to a week and removed size-small takes 1-2 days labels Oct 24, 2024
@jackgerrits
Copy link
Member

I'd like to add a requirement to clearly define what happens if multiple handoff messages are produced in a sequence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants