๐Ÿ“ฆ langgenius / dify-plugin-sdks

SDK for Dify plugins

โ˜… 118 stars โ‘‚ 121 forks ๐Ÿ‘ 118 watching
๐Ÿ“ฅ Clone https://github.com/langgenius/dify-plugin-sdks.git
HTTPS git clone https://github.com/langgenius/dify-plugin-sdks.git
SSH git clone git@github.com:langgenius/dify-plugin-sdks.git
CLI gh repo clone langgenius/dify-plugin-sdks
Maries Maries chore: bump version to 0.7.1 (#272) 194bb77 22 days ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ python
๐Ÿ“ scripts
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitignore
๐Ÿ“„ .mega-linter.yml
๐Ÿ“„ CLAUDE.md
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Dify Plugin SDK

A SDK sets for building plugins for Dify, including the following languages:

  • Python
Here is a short introduction to Dify Plugin:

SDK Version Management

Python SDK

Always follow the Semantic Versioning for the Python SDK, for more details, please refer to Python SDK README.

Manifest Version Reference

For the manifest specification, we've introduced two versioning fields:

  • meta.version - The version of the manifest specification, designed for backward compatibility. When installing an older plugin to a newer Dify, it's difficult to ensure breaking changes never occur, but at least Dify can detect them through this field. Once an unsupported version is detected, Dify will only use the supported parts of the plugin.
  • meta.minimum_dify_version - The minimum version of Dify, designed for forward compatibility. When installing a newer plugin to an older Dify, many new features may not be available, but showing the minimum Dify version helps users understand how to upgrade.

Meta.Version Reference

Manifest VersionDescription
0.0.2As ToolProviderType now supports mcp, an elder implementation is going to broken when user selected a mcp tool in Dify, so we bump it to 0.0.2 to ensure Dify knows that mcp is disabled if meta.version under 0.0.2.
0.0.1Initial release

Meta.MinimumDifyVersion Reference

Minimum Dify VersionSDK VersionDescription
1.2.00.2.0Support fetching application info
1.4.00.0.1-beta.49Support LLM multimodal output
1.4.00.3.1Support OAuth functionality for plugins
1.5.10.4.0Support dynamic-select parameter type
1.5.10.4.0Support LLM structured output
1.6.00.4.1Support dark-icon field in manifest
1.7.00.4.2Support OAuth functionality for plugins
1.8.10.4.4Support filename in MultiModalPromptMessageContent
1.9.00.5.0Support Datasource functionality for plugins
1.10.00.6.0Support Trigger functionality for plugins
1.11.00.7.0Support Multimodal Reranking / Embeddings