agentlib.modules package

Package containing all modules used by agents. Use the helper functions get_module_type to load module classes from this package.

agentlib.modules.get_all_module_types(plugins: List[str] | None = None)[source]

Returns all available module types

Parameters:

List[str] (plugins) – A list of strings being the plugins to consider in the search.

Returns:

Module types, with the key as the types name and the value being the ModuleImport instance

Return type:

dict

agentlib.modules.get_module_type(module_type) Dict | Iterable[source]

Return and load the given module type

Parameters:

str (module_type) – The string identifier to load the module.

Returns:

The module specified by the given module_type

Return type:

module BaseModuleType

Subpackages