Skip to main content
The Manifest is a YAML-compliant file that defines the most basic information of a plugin, including but not limited to the plugin name, author, included tools, models, etc. For the overall architecture of the plugin, please refer to Basic Concepts of Plugin Development and Developer Cheatsheet. If the format of this file is incorrect, the parsing and packaging process of the plugin will fail.

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 tools.
boolean
Whether to enable tool permissions.
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
Permission for reverse invocation of nodes.
boolean
Whether to enable node permissions.
object
Permission to register endpoint.
boolean
Whether to enable endpoint permissions.
object
Permission for reverse invocation of app.
boolean
Whether to enable app permissions.
object
Permission to apply for persistent storage.
boolean
Whether to enable storage permissions.
int64
Maximum allowed persistent memory size, unit in bytes.
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.
Extending both tools and models simultaneously is not allowed.
Having no extensions is not allowed.
Extending both models and Endpoints simultaneously is not allowed.
Currently, only one provider is supported for each type of extension.
array[string]
Plugin extension for Tool providers.
array[string]
Plugin extension for Model providers.
array[string]
Plugin extension for Endpoints providers.
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.
object
required
Runtime configuration.
string
required
Programming language. Currently only Python is supported.
string
required
Language version, currently only 3.12 is supported.
string
required
Program entry point, should be main under Python.
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