Code Example
Below is a simple example of a Manifest file. The meaning and function of each data item will be explained later. For reference code of other plugins, please refer to the GitHub code repository.Structure
version
required
The version of the plugin.
string
required
Plugin type, currently only
plugin is supported, bundle will be supported in the future.string
required
Author, defined as the organization name in the Marketplace.
object
required
Multilingual name.
RFC3339
required
Creation time, required by the Marketplace not to be later than the current time.
string
required
Icon path.
object
Resources to apply for.
int64
Maximum memory usage, mainly related to AWS Lambda resource application on SaaS, unit in bytes.
object
Permission application.
object
Permission for reverse invocation of models.
boolean
Whether to enable model permissions.
boolean
Whether to enable large language model permissions.
boolean
Whether to enable text embedding model permissions.
boolean
Whether to enable rerank model permissions.
boolean
Whether to enable text-to-speech model permissions.
boolean
Whether to enable speech-to-text model permissions.
boolean
Whether to enable content moderation model permissions.
object
required
A list of
yaml files for the specific capabilities extended by the plugin. Absolute path within the plugin package. For example, if you need to extend a model, you need to define a file similar to openai.yaml, fill in the file path here, and the file at this path must actually exist, otherwise packaging will fail.array[string]
Plugin extension for Agent Strategy providers.
object
required
Metadata for the plugin.
version
required
manifest format version, initial version 0.0.1.array[string]
required
Supported architectures, currently only
amd64 and arm64 are supported.string
Specifies the relative path or URL of the plugin’s privacy policy file, e.g.,
"./privacy.md" or "https://your-web/privacy". If you plan to list the plugin on the Dify Marketplace, this field is required to provide clear user data usage and privacy statements. For detailed filling guidelines, please refer to Plugin Privacy Data Protection Guidelines.Edit this page | Report an issue