ToolsCapability

ToolsCapability(tool_list: list[autogen.tools.tool.Tool])

Adding a list of tools as composable capabilities to a single agent. This class can be inherited from to allow code to run at the point of creating or adding the capability.

Note: both caller and executor of the tools are the same agent.

Parameters:
NameDescription
tool_listType: list[autogen.tools.tool.Tool]

Instance Methods

add_to_agent

add_to_agent(self, agent: autogen.agentchat.conversable_agent.ConversableAgent) -> 

Add tools to the given agent.

Parameters:
NameDescription
agentType: autogen.agentchat.conversable_agent.ConversableAgent