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

Make AgentChat Teams Declarative #5071

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

victordibia
Copy link
Collaborator

Why are these changes needed?

Support a developer experience where an AgentChat team configuration can be serialized to a declarative specification.

# 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() 

TBD

Related issue number

Closes #5064

Checks

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.20%. Comparing base (acb9117) to head (9d753af).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5071       +/-   ##
===========================================
+ Coverage   69.40%   83.20%   +13.80%     
===========================================
  Files         163       59      -104     
  Lines       10494     2698     -7796     
===========================================
- Hits         7283     2245     -5038     
+ Misses       3211      453     -2758     
Flag Coverage Δ
unittests 83.20% <ø> (+13.80%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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