Skip to content

Support declarative configs for BaseGroupChat (and derivatives) - RoundRobinGroupChat, SelectorGroupChat, MagenticOne etc #5064

Open
@victordibia

Description

Support a workflow where an AgentChat team configuration can be made declarative

# dump
agent = AssistantAgent(
    name="assistant",
    model_client=model_client,
    handoffs=["flights_refunder", "user"],
    tools=[web_search],
    system_message="Use tools to solve tasks.",
)
team = RoundRobinGroupChat(participants=[agent], ...)
team_spec = team.dump_component() 

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions