Authors Yeuoly, Allen. This document details the Manifest file in Dify plugins, a YAML file defining basic plugin information. It includes complete code examples and detailed structure explanations, covering configurations like plugin version, type, author, name, resource usage, permission requests, feature definitions, and runtime.
version
(version, required): The version of the plugin.type
(type, required): Plugin type, currently only plugin
is supported, bundle
will be supported in the future.author
(string, required): Author, defined as the organization name in the Marketplace.label
(label, required): Multilingual name.created_at
(RFC3339, required): Creation time, required by the Marketplace not to be later than the current time.icon
(asset, required): Icon path.resource
(object): Resources to apply for.
memory
(int64): Maximum memory usage, mainly related to AWS Lambda resource application on SaaS, unit in bytes.permission
(object): Permission application.
tool
(object): Permission for reverse invocation of tools.
enabled
(bool)model
(object): Permission for reverse invocation of models.
enabled
(bool)llm
(bool)text_embedding
(bool)rerank
(bool)tts
(bool)speech2text
(bool)moderation
(bool)node
(object): Permission for reverse invocation of nodes.
enabled
(bool)endpoint
(object): Permission to register endpoint
.
enabled
(bool)app
(object): Permission for reverse invocation of app
.
enabled
(bool)storage
(object): Permission to apply for persistent storage.
enabled
(bool)size
(int64): Maximum allowed persistent memory size, unit in bytes.plugins
(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.
tools
(list[string]): Plugin extension for Tool providers.models
(list[string]): Plugin extension for Model providers.endpoints
(list[string]): Plugin extension for Endpoints providers. (Note: Link updated to closest available English document)agent_strategies
(list[string]): Plugin extension for Agent Strategy providers.meta
(object)
version
(version, required): manifest
format version, initial version 0.0.1
.arch
(list[string], required): Supported architectures, currently only amd64
arm64
are supported.runner
(object, required): Runtime configuration.
language
(string): Currently only python is supported.version
(string): Language version, currently only 3.12
is supported.entrypoint
(string): Program entry point, should be main
under python.privacy
(string, optional): Optional, 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.