Skip to main content

get_plugin_registry

Function
This function is defined in the plugins module.
Return a truthful, unified view of all discoverable plugins. Combines three real sources — no hardcoded/fake entries:
  • Entry-point plugins (installed pip packages registering in the praisonai.plugins group), reported with their source as their distribution/entry-point provenance.
  • Registered Plugin instances held by the :class:PluginManager.
  • Project/user single-file plugins discovered on disk (.praisonai/plugins and ~/.praisonai/plugins), reported without executing them.
Each entry is a dict with name, version, source (entry_point | registered | single_file), enabled state, hooks and description. Enabled state reflects both the live manager and the persisted config allow-list, so a truthful CLI can render it without a running agent.

Signature

Returns

list
List of plugin entry dicts.

Uses

  • get_plugin_manager
  • get_enabled_plugins
  • manager.is_enabled
  • manager.list_plugins
  • seen.add
  • _md.entry_points
  • debug
  • logging.getLogger
  • discover_plugins

Source

View on GitHub

praisonaiagents/plugins/__init__.py at line 308

Plugins Feature