Develop Plugins

Quick Start

You can quickly understand how to develop different types of plugins and master the functional components involved in plugin development through these development examples:

Initialize Development Tools

Using the Google Search tool as an example to demonstrate how to develop tool-type plugins. For more details, please take refer to the following:

Tool Plugin

By examining the Anthropic and Xinference models, we present separate guides on how to develop predefined model plugins and custom model plugins.

  • Predefined models are pre-trained and validated, typically commercial models (such as the GPT series and Claude series models). These models can be utilized directly to accomplish specific tasks without additional training or configuration.

  • Custom model plugins enable developers to integrate privately trained or specifically configured models tailored to meet local needs.

For development examples, refer to the following content:

Model Plugin

Extension plugins enable developers to package business code as plugins and automatically provide an Endpoint request entry, functioning akin to an API service hosted on the Dify platform. For more details please take refer to:

Extension Plugin

Endpoints Documentation

If you want to read detailed interface documentation for plugin projects, you can refer to these standard specification documents:

Contribution Guidelines

Want to contribute code and features to Dify Marketplace?

We provide detailed development guidelines and contribution guidelines to help you understand our architecture design and contribution process:

Welcome to join us and become our contributors, and help to enhance the Dify ecosystem alongside developers worldwide!

Last updated