Overview
Today, building AI apps with Dify is like crafting an intelligent mind. You can carefully design how information is processed and decisions are made. To further expand the capabilities of your AI creations, we’re introducing Plugins.
Imagine Plugins as augmented senses and abilities that bring an AI to life. With Plugins, your AI apps can better “see” (image processing), “hear” (audio analysis), “speak” (text-to-speech), “draw” (text-to-image generation), “calculate” (data analysis), “reason” (logical processing), “act” (external integrations & interactions), and much more.
Plugins unlock a new world of possibilities. They empower AI apps across multimodal scenarios and reimagine RAG workflows through flexible orchestration, powered by specialized tools like OCR and data processors. This is just the beginning — Plugins will enable AI applications to execute real-world actions, from purchase transactions to travel bookings, bridging the gap between AI and everyday life.
Plugin System Architecture
The Dify Plugin system features a decoupled architecture where each Plugin functions as an independent package. This design allows Plugins to be developed, deployed, and maintained separately while ensuring standardized structure for version control and security.
Dify’s Plugin system comprises five core components:
- Models transform AI model management in Dify. Now you can configure, update and use models as plugins across chatbots, agents, chatflows and workflows.
- Tools add specialized capabilities to Dify apps. Enhance your agents and workflows with domain-specific features for data analysis, content translation, custom integrations and more.
- Agent Strategies provide reasoning strategies for the new Agent Nodes in Dify chatflows / workflows, supporting autonomous tool selection and execution for multi-step reasoning. Create custom reasoning strategies like Chain-of-Thoughts, Tree-of-Thoughts, Function call and ReAct to enhance the problem-solving abilities of your chatflows / workflows.