You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
We need to extend the functionality of our current Agent class in agent.py to handle an arbitrary number of subagents. The new class should be able to manage and interact with these subagents, which are also instances of the Agent class.
Task
Create a new class, MultiAgent, that inherits from autogen.ConversableAgent. This class should have the following features:
Initialization: The init method should initialize the number of subagents (determined by a parameter)
Subagent Interaction: Implement methods to send and receive messages to/from the subagents. These methods should use the methods from autogen.ConversableAgent. See the Autogen documentation for more information and a tutorial on nested agents.
Knowledge Management: Each subagent has its own knowledge attribute. The MultiAgent class should have methods to update and retrieve the knowledge of its subagents. The MultiAgent needs to have it's own knowledge state that aggregates the knowledge of the subagents. Alternatively, only the multiagent has knowledge and the subagents only take on different roles when considering whether the knowledge needs to change. Part of this task is to consider which approach is better.
Acceptance Criteria
The MultiAgent class can be initialized with an arbitrary number of Agent instances.
Messages can be sent to and received from the subagents.
The knowledge of the multiagent or subagents can be updated and retrieved.
The text was updated successfully, but these errors were encountered:
Issue
We need to extend the functionality of our current Agent class in agent.py to handle an arbitrary number of subagents. The new class should be able to manage and interact with these subagents, which are also instances of the Agent class.
Task
Create a new class, MultiAgent, that inherits from autogen.ConversableAgent. This class should have the following features:
Initialization: The init method should initialize the number of subagents (determined by a parameter)
Subagent Interaction: Implement methods to send and receive messages to/from the subagents. These methods should use the methods from autogen.ConversableAgent. See the Autogen documentation for more information and a tutorial on nested agents.
Knowledge Management: Each subagent has its own knowledge attribute. The MultiAgent class should have methods to update and retrieve the knowledge of its subagents. The MultiAgent needs to have it's own knowledge state that aggregates the knowledge of the subagents. Alternatively, only the multiagent has knowledge and the subagents only take on different roles when considering whether the knowledge needs to change. Part of this task is to consider which approach is better.
Acceptance Criteria
The MultiAgent class can be initialized with an arbitrary number of Agent instances.
Messages can be sent to and received from the subagents.
The knowledge of the multiagent or subagents can be updated and retrieved.
The text was updated successfully, but these errors were encountered: