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

Document process for supporting new types of Agents and Teams in AGS #4242

Open
Tracked by #4006
victordibia opened this issue Nov 17, 2024 · 0 comments
Open
Tracked by #4006
Assignees
Labels
proj-studio Related to AutoGen Studio.
Milestone

Comments

@victordibia
Copy link
Collaborator

victordibia commented Nov 17, 2024

AGS currently has support for AssistantAgent agent and RoundRobin/LLM Selector teams from AgentChat.
As developers experiment with new types of custom agents and teams, we will need clear documentation on how to support these new agent types in AGS.

Current approach

  • Define your new agents and teams, add them to autogenstudio.components
  • Update datamodel AgentTypes and TeamTypes to include new datamodel . Add new AgentConfig that extends AgentConfig.
class AgentTypes(str, Enum):
    ASSISTANT = "AssistantAgent"
    USERPROXY = "UserProxyAgent" 
+  CUSTOMWEBSURFER="CustomWebSurfer" # your new agent
  • Update ComponentFactory to include logic on how to instantiate new custom agent
  • Update tests

In the future, it would be great to figure out something more automatic.
E.g., add type definitions and class to some directory and logic to load is inferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proj-studio Related to AutoGen Studio.
Projects
None yet
Development

No branches or pull requests

1 participant