agent_capability
autogen.agentchat.contrib.capabilities.agent_capability.AgentCapability
AgentCapability
Base class for composable capabilities that can be added to an agent.
Instance Methods
add_to_agent
Adds a particular capability to the given agent. Must be implemented by the capability subclass.
An implementation will typically call agent.register_hook() one or more times. See teachability.py as an example.
Name | Description |
---|---|
agent | Type: ConversableAgent |