Get Plugin Registry • AI Agent SDK
get_plugin_registry: Return a truthful, unified view of all discoverable plugins.
get_plugin_registry
Function
</div>
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.pluginsgroup), reported with theirsource` as their - distribution/entry-point provenance.
- Registered `
Plugininstances 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
def get_plugin_registry() -> listReturns
ResponseField
listList of plugin entry dicts.
Uses
get_plugin_managerget_enabled_pluginsmanager.is_enabledmanager.list_pluginsseen.add_md.entry_pointsdebuglogging.getLoggerdiscover_plugins
Source
View on GitHubpraisonaiagents/plugins/__init__.py at line 342