Skip to content

API Reference parrot.plugins.importer

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.plugins.importer

View source

Class PluginImporter

A custom importer to load plugins from a specified directory.

Parameter Type Default Description
package_name
plugins_path

Method PluginImporter.find_spec

find_spec(fullname, path, target=None)

Parameter Type Default Description
fullname
path
target None

Method PluginImporter.create_module

create_module(spec)

Parameter Type Default Description
spec

Method PluginImporter.exec_module

exec_module(module)

Parameter Type Default Description
module

Function list_plugins

List all available plugins in a subdirectory.

list_plugins(plugin_subdir: str) -> list[str]

Parameter Type Default Description
plugin_subdir str Subdirectory name (e.g., 'agents', 'tools')

Returns: list[str] — List of plugin module names (without .py extension)

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally