swarmauri.core.agent_factories.IAgentFactory module

class swarmauri.core.agent_factories.IAgentFactory.IAgentFactory[source]

Bases: ABC

Interface for Agent Factories, extended to include properties like ID, name, type, creation date, and last modification date.

abstract create_agent(agent_type, **kwargs)[source]
Return type:

Any

abstract property date_created: datetime

The creation date of the factory instance.

abstract property id: str

Unique identifier for the factory instance.

abstract property last_modified: datetime

Date when the factory was last modified.

abstract property name: str

Name of the factory.

abstract register_agent(agent_type, constructor)[source]
Return type:

None

abstract property type: str

Type of agents this factory produces.